Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Math.Examples.RegNonZeroPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009351/0.009351, allocations: 101.4 kB / 15.73 MB, free: 6.035 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001923/0.001923, allocations: 193.5 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.666/1.666, allocations: 205.1 MB / 222.6 MB, free: 4.262 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.672/0.672, allocations: 95.48 MB / 365.4 MB, free: 9.691 MB / 302.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001473/0.001473, allocations: 67.91 kB / 0.5036 GB, free: 13.47 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1626/0.1641, allocations: 69.08 MB / 0.5711 GB, free: 8.324 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.003414/0.1676, allocations: 1.426 MB / 0.5725 GB, free: 6.883 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008966/0.1685, allocations: 347.7 kB / 0.5728 GB, free: 6.543 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.771e-05/0.1686, allocations: 0 / 0.5728 GB, free: 6.543 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.436e-05/0.1686, allocations: 0 / 0.5728 GB, free: 6.543 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.641e-05/0.1687, allocations: 7.922 kB / 0.5728 GB, free: 6.535 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005791/0.1693, allocations: 115.1 kB / 0.5729 GB, free: 6.426 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001133/0.1694, allocations: 23.86 kB / 0.5729 GB, free: 6.402 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.1695, allocations: 11.98 kB / 0.5729 GB, free: 6.391 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.46e-05/0.1696, allocations: 4 kB / 0.5729 GB, free: 6.387 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.779e-05/0.1696, allocations: 15.92 kB / 0.573 GB, free: 6.371 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.701e-05/0.1697, allocations: 4 kB / 0.573 GB, free: 6.367 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003494/0.17, allocations: 235.7 kB / 0.5732 GB, free: 6.137 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.433e-05/0.17, allocations: 4 kB / 0.5732 GB, free: 6.133 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.667e-05/0.1701, allocations: 11.94 kB / 0.5732 GB, free: 6.121 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001887/0.1703, allocations: 115.7 kB / 0.5733 GB, free: 6.008 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1703, allocations: 3.938 kB / 0.5733 GB, free: 6.004 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1703, allocations: 0 / 0.5733 GB, free: 6.004 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.1703, allocations: 0 / 0.5733 GB, free: 6.004 MB / 446.1 MB 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.0004577/0.1708, allocations: 359.5 kB / 0.5737 GB, free: 5.605 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.1708, allocations: 11.98 kB / 0.5737 GB, free: 5.594 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.91e-05/0.1709, allocations: 8.875 kB / 0.5737 GB, free: 5.586 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000227/0.1711, allocations: 168.2 kB / 0.5738 GB, free: 5.383 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/0.1711, allocations: 8.125 kB / 0.5739 GB, free: 5.375 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.498e-06/0.1711, allocations: 4 kB / 0.5739 GB, free: 5.371 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002057/0.1713, allocations: 49.67 kB / 0.5739 GB, free: 5.316 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.1714, allocations: 3.984 kB / 0.5739 GB, free: 5.312 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.1714, allocations: 0 / 0.5739 GB, free: 5.312 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.1714, allocations: 0 / 0.5739 GB, free: 5.312 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002529/0.1717, allocations: 39.89 kB / 0.5739 GB, free: 5.273 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004203/0.1721, allocations: 256.9 kB / 0.5742 GB, free: 4.973 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001706/0.1723, allocations: 38.55 kB / 0.5742 GB, free: 4.926 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001178/0.1724, allocations: 24.91 kB / 0.5743 GB, free: 4.898 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008627/0.1733, allocations: 453.5 kB / 0.5747 GB, free: 4.363 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.637e-05/0.1733, allocations: 38.55 kB / 0.5747 GB, free: 4.316 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.292e-06/0.1733, allocations: 0 / 0.5747 GB, free: 4.316 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0005206/0.1739, allocations: 85.59 kB / 0.5748 GB, free: 4.227 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.944e-05/0.1739, allocations: 55.39 kB / 0.5749 GB, free: 4.16 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.56e-05/0.174, allocations: 101.9 kB / 0.575 GB, free: 4.051 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.614e-05/0.1741, allocations: 25.7 kB / 0.575 GB, free: 4.02 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.132e-05/0.1741, allocations: 88.12 kB / 0.5751 GB, free: 3.93 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.13e-05/0.1742, allocations: 7.906 kB / 0.5751 GB, free: 3.922 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.074e-05/0.1742, allocations: 9.719 kB / 0.5751 GB, free: 3.906 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001599/0.1744, allocations: 326.9 kB / 0.5754 GB, free: 3.578 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001074/0.1745, allocations: 11.98 kB / 0.5754 GB, free: 3.566 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001001/0.1746, allocations: 23.97 kB / 0.5754 GB, free: 3.543 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002001/0.1748, allocations: 37.08 kB / 0.5755 GB, free: 3.504 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.1748, allocations: 0 / 0.5755 GB, free: 3.504 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002723/0.1751, allocations: 77.66 kB / 0.5755 GB, free: 3.422 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.072e-05/0.1751, allocations: 8 kB / 0.5755 GB, free: 3.414 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.1752, allocations: 0 / 0.5755 GB, free: 3.414 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.233e-05/0.1752, allocations: 0 / 0.5755 GB, free: 3.414 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001201/0.1753, allocations: 7.984 kB / 0.5755 GB, free: 3.406 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.1753, allocations: 0 / 0.5755 GB, free: 3.406 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.691e-05/0.1754, allocations: 11.91 kB / 0.5756 GB, free: 3.395 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.497e-05/0.1754, allocations: 11.88 kB / 0.5756 GB, free: 3.383 MB / 446.1 MB 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 0.0001164/0.1756, allocations: 109.9 kB / 0.5757 GB, free: 3.266 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.318e-05/0.1756, allocations: 3.984 kB / 0.5757 GB, free: 3.262 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003081/0.176, allocations: 85.02 kB / 0.5758 GB, free: 3.168 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.176, allocations: 0 / 0.5758 GB, free: 3.168 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.146e-05/0.176, allocations: 4 kB / 0.5758 GB, free: 3.164 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.176, allocations: 0 / 0.5758 GB, free: 3.164 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002446/0.1762, allocations: 161.6 kB / 0.5759 GB, free: 2.957 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.1763, allocations: 4.031 kB / 0.5759 GB, free: 2.953 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.81e-05/0.1763, allocations: 8 kB / 0.5759 GB, free: 2.945 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.1763, allocations: 0 / 0.5759 GB, free: 2.945 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.1764, allocations: 0 / 0.5759 GB, free: 2.945 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.1764, allocations: 3.984 kB / 0.5759 GB, free: 2.941 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1764, allocations: 0 / 0.5759 GB, free: 2.941 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003524/0.1767, allocations: 163.5 kB / 0.5761 GB, free: 2.766 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.719e-05/0.1768, allocations: 92.94 kB / 0.5762 GB, free: 2.656 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.661e-05/0.1768, allocations: 0 / 0.5762 GB, free: 2.656 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.177, allocations: 4 kB / 0.5762 GB, free: 2.652 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.641e-05/0.177, allocations: 3.984 kB / 0.5762 GB, free: 2.648 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.599e-06/0.177, allocations: 0 / 0.5762 GB, free: 2.648 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.824e-05/0.1771, allocations: 87.22 kB / 0.5763 GB, free: 2.562 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1771, allocations: 0 / 0.5763 GB, free: 2.562 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003922/0.1775, allocations: 12 kB / 0.5763 GB, free: 2.551 MB / 446.1 MB 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.0002183/0.1778, allocations: 115.3 kB / 0.5764 GB, free: 2.43 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003036/0.1781, allocations: 39.97 kB / 0.5764 GB, free: 2.391 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1781, allocations: 0 / 0.5764 GB, free: 2.391 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000113/0.1782, allocations: 19.97 kB / 0.5764 GB, free: 2.371 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005187/0.1787, allocations: 9.031 kB / 0.5765 GB, free: 2.363 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004345/0.1792, allocations: 109.7 kB / 0.5766 GB, free: 2.23 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004227/0.1796, allocations: 0.6768 MB / 0.5772 GB, free: 1.527 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.147e-05/0.1797, allocations: 4 kB / 0.5772 GB, free: 1.523 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.908e-05/0.1797, allocations: 7.438 kB / 0.5772 GB, free: 1.516 MB / 446.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1797, allocations: 0 / 0.5772 GB, free: 1.516 MB / 446.1 MB Notification: Performance of Templates: time 0.004607/0.1843, allocations: 0.7074 MB / 0.5779 GB, free: 0.8086 MB / 446.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Examples.RegNonZeroPower.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & ./Buildings_1.6_Buildings.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)