Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001287/0.001287, allocations: 109.8 kB / 19.58 MB, free: 2.336 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001593/0.001593, allocations: 188.5 kB / 22.85 MB, free: 5.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.378/1.378, allocations: 225.6 MB / 251.5 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002476/0.002476, allocations: 293 kB / 307.1 MB, free: 8.34 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.234/1.234, allocations: 180.8 MB / 0.5304 GB, free: 14.56 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized") translateModel(BuildingSystems.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00277/0.00277, allocations: 105.3 kB / 0.7311 GB, free: 39.17 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1586/0.1614, allocations: 94.2 MB / 0.8231 GB, free: 2.035 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.PowerLinearized): time 0.003072/0.1645, allocations: 1.459 MB / 0.8245 GB, free: 0.5625 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0003179/0.1648, allocations: 88.59 kB / 0.8246 GB, free: 484 kB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.497e-05/0.1648, allocations: 4 kB / 0.8246 GB, free: 480 kB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.961e-05/0.1649, allocations: 3.938 kB / 0.8246 GB, free: 476 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.631e-05/0.1649, allocations: 11.86 kB / 0.8246 GB, free: 464 kB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000193/0.1651, allocations: 15.97 kB / 0.8246 GB, free: 448 kB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.954e-05/0.1652, allocations: 19.94 kB / 0.8246 GB, free: 428 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.753e-05/0.1653, allocations: 11.98 kB / 0.8246 GB, free: 416 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.181e-05/0.1653, allocations: 8 kB / 0.8247 GB, free: 408 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.759e-05/0.1654, allocations: 15.92 kB / 0.8247 GB, free: 392 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.579e-05/0.1654, allocations: 4 kB / 0.8247 GB, free: 388 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 6.159e-05/0.1654, allocations: 15.98 kB / 0.8247 GB, free: 372 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.432e-05/0.1654, allocations: 4 kB / 0.8247 GB, free: 368 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.068e-05/0.1655, allocations: 19.86 kB / 0.8247 GB, free: 348 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001134/0.1656, allocations: 31.89 kB / 0.8247 GB, free: 316 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.1656, allocations: 0 / 0.8247 GB, free: 316 kB / 0.5606 GB Notification: Performance of FrontEnd: time 1.573e-06/0.1656, allocations: 0 / 0.8247 GB, free: 316 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.1656, allocations: 0 / 0.8247 GB, free: 316 kB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004448/0.166, allocations: 274.2 kB / 0.825 GB, free: 8 kB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.1661, allocations: 8.031 kB / 0.825 GB, free: 0 / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001979/0.1663, allocations: 16.88 kB / 0.825 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001166/0.1664, allocations: 110.5 kB / 0.8251 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.627e-05/0.1664, allocations: 384 / 0.8251 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.067e-06/0.1664, allocations: 384 / 0.8251 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002131/0.1666, allocations: 58.22 kB / 0.8252 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.1667, allocations: 192 / 0.8252 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.557e-05/0.1667, allocations: 11.94 kB / 0.8252 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.1667, allocations: 0 / 0.8252 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002054/0.1669, allocations: 43.95 kB / 0.8252 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004278/0.1673, allocations: 236 kB / 0.8255 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001917/0.1675, allocations: 54.55 kB / 0.8255 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001045/0.1676, allocations: 32.83 kB / 0.8255 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.729e-05/0.1676, allocations: 0 / 0.8255 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.764e-05/0.1677, allocations: 30.56 kB / 0.8256 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 8.11e-07/0.1677, allocations: 0 / 0.8256 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0004123/0.1681, allocations: 113.5 kB / 0.8257 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.103e-05/0.1681, allocations: 51.41 kB / 0.8257 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.405e-05/0.1682, allocations: 109.8 kB / 0.8258 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.74e-05/0.1682, allocations: 25.7 kB / 0.8259 GB, free: 15 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.807e-05/0.1683, allocations: 84.14 kB / 0.8259 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.301e-05/0.1683, allocations: 15.88 kB / 0.826 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.316e-05/0.1683, allocations: 13.84 kB / 0.826 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.1685, allocations: 322.8 kB / 0.8263 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.988e-05/0.1686, allocations: 23.92 kB / 0.8263 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.732e-05/0.1687, allocations: 19.97 kB / 0.8263 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000185/0.1689, allocations: 56.88 kB / 0.8264 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.1689, allocations: 0 / 0.8264 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002419/0.1691, allocations: 85.52 kB / 0.8265 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.1691, allocations: 8 kB / 0.8265 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.1691, allocations: 0 / 0.8265 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.1691, allocations: 0 / 0.8265 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/0.1692, allocations: 11.98 kB / 0.8265 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.1692, allocations: 4.031 kB / 0.8265 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.065e-05/0.1693, allocations: 11.92 kB / 0.8265 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.019e-06/0.1693, allocations: 0 / 0.8265 GB, free: 14.32 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 (2): * Single equations (assignments): 2 * 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.894e-05/0.1694, allocations: 118.4 kB / 0.8266 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.692e-05/0.1694, allocations: 3.953 kB / 0.8266 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.661e-05/0.1694, allocations: 3.625 kB / 0.8266 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.1694, allocations: 4 kB / 0.8266 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.1694, allocations: 0 / 0.8266 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.834e-06/0.1694, allocations: 4 kB / 0.8266 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001642/0.1696, allocations: 140.7 kB / 0.8268 GB, free: 14 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.1696, allocations: 0 / 0.8268 GB, free: 14 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.73e-05/0.1697, allocations: 7.984 kB / 0.8268 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.1697, allocations: 4 kB / 0.8268 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.1697, allocations: 0 / 0.8268 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.1697, allocations: 3.984 kB / 0.8268 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.1697, allocations: 3.984 kB / 0.8268 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002927/0.17, allocations: 179.4 kB / 0.8269 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.322e-06/0.17, allocations: 0 / 0.8269 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.203e-05/0.17, allocations: 0 / 0.8269 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.098e-05/0.1701, allocations: 11.98 kB / 0.827 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.564e-05/0.1701, allocations: 8.234 kB / 0.827 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.1701, allocations: 0 / 0.827 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.629e-05/0.1702, allocations: 87.31 kB / 0.827 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1702, allocations: 0 / 0.827 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002134/0.1704, allocations: 8 kB / 0.8271 GB, free: 13.68 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 (2): * Single equations (assignments): 2 * 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.0001083/0.1705, allocations: 95.25 kB / 0.8271 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002406/0.1708, allocations: 51.88 kB / 0.8272 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1708, allocations: 0 / 0.8272 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 9.888e-05/0.1709, allocations: 28.05 kB / 0.8272 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002916/0.1711, allocations: 19.86 kB / 0.8272 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003425/0.1715, allocations: 117.6 kB / 0.8274 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002959/0.1718, allocations: 0.6806 MB / 0.828 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.152e-05/0.1718, allocations: 4.062 kB / 0.828 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.292e-05/0.1719, allocations: 11.44 kB / 0.828 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of SimCode: time 9.02e-07/0.1719, allocations: 0 / 0.828 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of Templates: time 0.002799/0.1747, allocations: 0.5843 MB / 0.8286 GB, free: 12.04 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.8806892479769886] Failed to read output from testmodel.py, exit status != 0: 0.18213816778734326 0.19656178000000002 0.027954481000000003 Calling exit ...