Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001272/0.001272, allocations: 110.6 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001445/0.001445, allocations: 220.3 kB / 22.26 MB, free: 5.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.451/1.451, allocations: 230.6 MB / 256 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002479/0.002479, allocations: 272.2 kB / 312.7 MB, free: 2.801 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.246/1.246, allocations: 180.6 MB / 0.5369 GB, free: 12.89 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.004355/0.004355, allocations: 103.8 kB / 0.7396 GB, free: 28.45 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1856/0.19, allocations: 95.38 MB / 0.8328 GB, free: 8.633 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.002024/0.192, allocations: 0.5975 MB / 0.8333 GB, free: 8.035 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0007618/0.1928, allocations: 331.2 kB / 0.8337 GB, free: 7.711 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.06e-05/0.1928, allocations: 0 / 0.8337 GB, free: 7.711 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.593e-05/0.1928, allocations: 0 / 0.8337 GB, free: 7.711 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 7.534e-06/0.1928, allocations: 0 / 0.8337 GB, free: 7.711 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005074/0.1933, allocations: 109.1 kB / 0.8338 GB, free: 7.605 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.235e-05/0.1934, allocations: 7.922 kB / 0.8338 GB, free: 7.598 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.879e-05/0.1934, allocations: 3.984 kB / 0.8338 GB, free: 7.594 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.702e-05/0.1934, allocations: 4 kB / 0.8338 GB, free: 7.59 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 2.724e-05/0.1935, allocations: 4 kB / 0.8338 GB, free: 7.586 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.044e-05/0.1935, allocations: 0 / 0.8338 GB, free: 7.586 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004398/0.1939, allocations: 275.7 kB / 0.8341 GB, free: 7.316 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.082e-05/0.1939, allocations: 0 / 0.8341 GB, free: 7.316 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.627e-05/0.1939, allocations: 0 / 0.8341 GB, free: 7.316 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000198/0.1941, allocations: 99.94 kB / 0.8341 GB, free: 7.219 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1941, allocations: 0 / 0.8341 GB, free: 7.219 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.743e-06/0.1941, allocations: 0 / 0.8341 GB, free: 7.219 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.1941, allocations: 0 / 0.8341 GB, free: 7.219 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003378/0.1945, allocations: 255.2 kB / 0.8344 GB, free: 6.938 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.1945, allocations: 13.94 kB / 0.8344 GB, free: 6.926 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.728e-05/0.1946, allocations: 30.75 kB / 0.8344 GB, free: 6.887 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.115e-05/0.1946, allocations: 0.9375 kB / 0.8344 GB, free: 6.887 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.089e-05/0.1947, allocations: 110.5 kB / 0.8345 GB, free: 6.754 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.1947, allocations: 12.31 kB / 0.8345 GB, free: 6.742 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.093e-06/0.1947, allocations: 384 / 0.8345 GB, free: 6.742 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.369e-05/0.1948, allocations: 26.27 kB / 0.8346 GB, free: 6.711 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.1948, allocations: 3.938 kB / 0.8346 GB, free: 6.707 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.784e-06/0.1948, allocations: 0 / 0.8346 GB, free: 6.707 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.1948, allocations: 0 / 0.8346 GB, free: 6.707 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.907e-05/0.1949, allocations: 7.938 kB / 0.8346 GB, free: 6.699 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001374/0.195, allocations: 116.7 kB / 0.8347 GB, free: 6.543 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 4.726e-05/0.195, allocations: 30.59 kB / 0.8347 GB, free: 6.504 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.446e-05/0.1951, allocations: 4.859 kB / 0.8347 GB, free: 6.496 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003378/0.1954, allocations: 40.02 kB / 0.8348 GB, free: 6.457 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.949e-05/0.1954, allocations: 34.56 kB / 0.8348 GB, free: 6.414 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 2.726e-06/0.1954, allocations: 4 kB / 0.8348 GB, free: 6.41 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001521/0.1956, allocations: 41.56 kB / 0.8348 GB, free: 6.363 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.776e-05/0.1956, allocations: 51.41 kB / 0.8349 GB, free: 6.301 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.603e-05/0.1957, allocations: 89.86 kB / 0.835 GB, free: 6.203 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.89e-05/0.1957, allocations: 29.7 kB / 0.835 GB, free: 6.168 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.766e-05/0.1958, allocations: 80.14 kB / 0.8351 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.706e-05/0.1958, allocations: 4 kB / 0.8351 GB, free: 6.082 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.64e-05/0.1958, allocations: 9.719 kB / 0.8351 GB, free: 6.066 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.1959, allocations: 315 kB / 0.8354 GB, free: 5.75 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.144e-05/0.196, allocations: 4 kB / 0.8354 GB, free: 5.746 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.27e-06/0.196, allocations: 0 / 0.8354 GB, free: 5.746 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.555e-05/0.196, allocations: 8.859 kB / 0.8354 GB, free: 5.734 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.196, allocations: 0 / 0.8354 GB, free: 5.734 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.951e-05/0.1961, allocations: 41.62 kB / 0.8355 GB, free: 5.688 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.1961, allocations: 6.188 kB / 0.8355 GB, free: 5.684 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.1961, allocations: 3.938 kB / 0.8355 GB, free: 5.68 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.1961, allocations: 4.094 kB / 0.8355 GB, free: 5.676 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.448e-05/0.1961, allocations: 8 kB / 0.8355 GB, free: 5.668 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.449e-06/0.1961, allocations: 0 / 0.8355 GB, free: 5.668 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.478e-06/0.1962, allocations: 0 / 0.8355 GB, free: 5.668 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.939e-06/0.1962, allocations: 0 / 0.8355 GB, free: 5.668 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.267e-05/0.1962, allocations: 110.5 kB / 0.8356 GB, free: 5.551 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.104e-05/0.1963, allocations: 7.922 kB / 0.8356 GB, free: 5.543 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.396e-05/0.1964, allocations: 44.58 kB / 0.8356 GB, free: 5.492 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.1964, allocations: 4.031 kB / 0.8356 GB, free: 5.488 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.1964, allocations: 0 / 0.8356 GB, free: 5.488 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.1964, allocations: 4 kB / 0.8356 GB, free: 5.484 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001127/0.1965, allocations: 120.8 kB / 0.8358 GB, free: 5.324 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.1965, allocations: 0 / 0.8358 GB, free: 5.324 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.052e-05/0.1965, allocations: 0 / 0.8358 GB, free: 5.324 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-06/0.1965, allocations: 4 kB / 0.8358 GB, free: 5.32 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.1965, allocations: 3.938 kB / 0.8358 GB, free: 5.316 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.1965, allocations: 0 / 0.8358 GB, free: 5.316 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.1965, allocations: 0 / 0.8358 GB, free: 5.316 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.894e-05/0.1966, allocations: 65.12 kB / 0.8358 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.067e-06/0.1966, allocations: 0 / 0.8358 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.283e-05/0.1966, allocations: 3.938 kB / 0.8358 GB, free: 5.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.983e-06/0.1966, allocations: 3.938 kB / 0.8358 GB, free: 5.227 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.111e-05/0.1966, allocations: 0 / 0.8358 GB, free: 5.227 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.823e-06/0.1966, allocations: 0 / 0.8358 GB, free: 5.227 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.6e-05/0.1967, allocations: 79.28 kB / 0.8359 GB, free: 5.148 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1967, allocations: 3.938 kB / 0.8359 GB, free: 5.145 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002006/0.1969, allocations: 15.97 kB / 0.8359 GB, free: 5.129 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004895/0.1974, allocations: 0.6007 MB / 0.8365 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 7.994e-05/0.1974, allocations: 7.984 kB / 0.8365 GB, free: 4.488 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.1974, allocations: 0 / 0.8365 GB, free: 4.488 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.201e-05/0.1974, allocations: 16.03 kB / 0.8365 GB, free: 4.473 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001357/0.1976, allocations: 3.938 kB / 0.8365 GB, free: 4.469 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003432/0.1979, allocations: 104.3 kB / 0.8366 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00031/0.1982, allocations: 0.6768 MB / 0.8373 GB, free: 3.625 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 1.693e-05/0.1983, allocations: 0 / 0.8373 GB, free: 3.625 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.714e-05/0.1983, allocations: 7.438 kB / 0.8373 GB, free: 3.617 MB / 0.5762 GB Notification: Performance of SimCode: time 2.81e-07/0.1983, allocations: 0 / 0.8373 GB, free: 3.617 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02779/0.2261, allocations: 1.301 MB / 0.8386 GB, free: 2.449 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.33/10.56, allocations: 3.984 kB / 0.8386 GB, free: 2.445 MB / 0.5762 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_RegNonZeroPower.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.857386231000419] Failed to read output from testmodel.py, exit status != 0: 10.661529242999677 10.677317494 10.480137053 Calling exit ...