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.00128/0.00128, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.00141/0.00141, allocations: 209.7 kB / 22.24 MB, free: 4.859 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.38/1.38, allocations: 230.6 MB / 256 MB, free: 8 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.002478/0.002478, allocations: 291.2 kB / 312.7 MB, free: 2.633 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.161/1.161, allocations: 180.6 MB / 0.5369 GB, free: 14.5 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.002834/0.002834, allocations: 105.3 kB / 0.7395 GB, free: 28.4 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1534/0.1563, allocations: 95.38 MB / 0.8327 GB, free: 8.297 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.00161/0.1579, allocations: 0.5855 MB / 0.8333 GB, free: 7.711 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0006531/0.1585, allocations: 303.3 kB / 0.8335 GB, free: 7.414 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.496e-05/0.1586, allocations: 0 / 0.8335 GB, free: 7.414 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.168e-05/0.1586, allocations: 0 / 0.8335 GB, free: 7.414 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.672e-06/0.1586, allocations: 0 / 0.8335 GB, free: 7.414 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004544/0.159, allocations: 103.7 kB / 0.8336 GB, free: 7.312 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 4.354e-05/0.1591, allocations: 0 / 0.8336 GB, free: 7.312 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.814e-05/0.1591, allocations: 0 / 0.8336 GB, free: 7.312 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.55e-05/0.1591, allocations: 4 kB / 0.8336 GB, free: 7.309 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 2.054e-05/0.1592, allocations: 4 kB / 0.8337 GB, free: 7.305 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.448e-06/0.1592, allocations: 3.938 kB / 0.8337 GB, free: 7.301 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004157/0.1596, allocations: 259.7 kB / 0.8339 GB, free: 7.047 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.319e-05/0.1596, allocations: 3.984 kB / 0.8339 GB, free: 7.043 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.618e-05/0.1596, allocations: 3.984 kB / 0.8339 GB, free: 7.039 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001815/0.1598, allocations: 91.95 kB / 0.834 GB, free: 6.949 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.1598, allocations: 3.938 kB / 0.834 GB, free: 6.945 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.813e-06/0.1598, allocations: 0 / 0.834 GB, free: 6.945 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.1598, allocations: 0 / 0.834 GB, free: 6.945 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.000352/0.1602, allocations: 262.2 kB / 0.8343 GB, free: 6.656 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.1602, allocations: 13.34 kB / 0.8343 GB, free: 6.645 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.252e-05/0.1602, allocations: 30.75 kB / 0.8343 GB, free: 6.605 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.628e-05/0.1603, allocations: 0.9375 kB / 0.8343 GB, free: 6.605 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.969e-05/0.1604, allocations: 110.5 kB / 0.8344 GB, free: 6.473 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.1604, allocations: 384 / 0.8344 GB, free: 6.473 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.296e-05/0.1604, allocations: 4.375 kB / 0.8344 GB, free: 6.469 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001047/0.1605, allocations: 26.27 kB / 0.8344 GB, free: 6.438 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.1605, allocations: 7.938 kB / 0.8344 GB, free: 6.43 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.015e-06/0.1605, allocations: 0 / 0.8344 GB, free: 6.43 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.858e-06/0.1605, allocations: 0 / 0.8344 GB, free: 6.43 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.296e-05/0.1606, allocations: 3.938 kB / 0.8344 GB, free: 6.426 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001601/0.1607, allocations: 128.8 kB / 0.8346 GB, free: 6.258 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 5.239e-05/0.1608, allocations: 18.58 kB / 0.8346 GB, free: 6.23 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.606e-05/0.1608, allocations: 4.859 kB / 0.8346 GB, free: 6.223 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000351/0.1611, allocations: 40.06 kB / 0.8346 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.287e-05/0.1612, allocations: 34.55 kB / 0.8347 GB, free: 6.141 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.1612, allocations: 0 / 0.8347 GB, free: 6.141 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001576/0.1613, allocations: 45.58 kB / 0.8347 GB, free: 6.09 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.091e-05/0.1614, allocations: 51.41 kB / 0.8348 GB, free: 6.027 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.694e-05/0.1614, allocations: 89.86 kB / 0.8348 GB, free: 5.93 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.579e-05/0.1614, allocations: 25.7 kB / 0.8349 GB, free: 5.898 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.961e-05/0.1615, allocations: 80.14 kB / 0.8349 GB, free: 5.816 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.902e-05/0.1615, allocations: 8 kB / 0.8349 GB, free: 5.809 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.541e-05/0.1615, allocations: 9.719 kB / 0.835 GB, free: 5.793 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.1617, allocations: 310.8 kB / 0.8353 GB, free: 5.48 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.3e-05/0.1617, allocations: 7.938 kB / 0.8353 GB, free: 5.473 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.155e-06/0.1617, allocations: 4.109 kB / 0.8353 GB, free: 5.469 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.811e-05/0.1617, allocations: 12.92 kB / 0.8353 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1617, allocations: 0 / 0.8353 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.033e-05/0.1618, allocations: 37.64 kB / 0.8353 GB, free: 5.41 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.1618, allocations: 6.188 kB / 0.8353 GB, free: 5.406 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.1618, allocations: 7.938 kB / 0.8353 GB, free: 5.398 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.1618, allocations: 0 / 0.8353 GB, free: 5.398 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.949e-05/0.1619, allocations: 0 / 0.8353 GB, free: 5.398 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.1619, allocations: 0 / 0.8353 GB, free: 5.398 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.478e-06/0.1619, allocations: 0 / 0.8353 GB, free: 5.398 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.1619, allocations: 4 kB / 0.8353 GB, free: 5.395 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 7.742e-05/0.162, allocations: 114.5 kB / 0.8354 GB, free: 5.273 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.784e-05/0.162, allocations: 3.938 kB / 0.8354 GB, free: 5.27 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.082e-05/0.1621, allocations: 40.58 kB / 0.8355 GB, free: 5.223 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.1621, allocations: 4 kB / 0.8355 GB, free: 5.219 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.1621, allocations: 0 / 0.8355 GB, free: 5.219 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.1621, allocations: 0 / 0.8355 GB, free: 5.219 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001068/0.1622, allocations: 128.7 kB / 0.8356 GB, free: 5.051 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.1622, allocations: 0 / 0.8356 GB, free: 5.051 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.308e-05/0.1622, allocations: 4 kB / 0.8356 GB, free: 5.047 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.1622, allocations: 4.031 kB / 0.8356 GB, free: 5.043 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-06/0.1622, allocations: 3.938 kB / 0.8356 GB, free: 5.039 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.1622, allocations: 0 / 0.8356 GB, free: 5.039 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1622, allocations: 0 / 0.8356 GB, free: 5.039 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.101e-05/0.1623, allocations: 61.12 kB / 0.8357 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.048e-06/0.1623, allocations: 0 / 0.8357 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.124e-05/0.1623, allocations: 3.938 kB / 0.8357 GB, free: 4.957 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.182e-06/0.1623, allocations: 4 kB / 0.8357 GB, free: 4.953 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.391e-05/0.1624, allocations: 3.938 kB / 0.8357 GB, free: 4.949 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-06/0.1624, allocations: 4 kB / 0.8357 GB, free: 4.945 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.331e-05/0.1624, allocations: 79.31 kB / 0.8358 GB, free: 4.867 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.1624, allocations: 0 / 0.8358 GB, free: 4.867 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001865/0.1626, allocations: 11.94 kB / 0.8358 GB, free: 4.855 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.0004678/0.163, allocations: 0.6046 MB / 0.8364 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 7.105e-05/0.1631, allocations: 7.938 kB / 0.8364 GB, free: 4.211 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.1631, allocations: 0 / 0.8364 GB, free: 4.211 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.002e-05/0.1631, allocations: 7.938 kB / 0.8364 GB, free: 4.203 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001294/0.1633, allocations: 160 / 0.8364 GB, free: 4.203 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003219/0.1636, allocations: 116.3 kB / 0.8365 GB, free: 4.051 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.092e-05/0.1636, allocations: 59.34 kB / 0.8366 GB, free: 3.973 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 1.444e-05/0.1636, allocations: 0 / 0.8366 GB, free: 3.973 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.974e-05/0.1637, allocations: 11.44 kB / 0.8366 GB, free: 3.961 MB / 0.5762 GB Notification: Performance of SimCode: time 2.8e-07/0.1637, allocations: 0 / 0.8366 GB, free: 3.961 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02926/0.1929, allocations: 1.692 MB / 0.8382 GB, free: 2.402 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/11.21, allocations: 11.81 kB / 0.8382 GB, free: 2.395 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: 15.222986024338752] Failed to read output from testmodel.py, exit status != 0: 11.317257935646921 11.335573661 11.172328728 Calling exit ...