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.01169/0.01169, allocations: 100.5 kB / 15.73 MB, free: 5.977 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.002045/0.002045, allocations: 197.2 kB / 16.67 MB, free: 5.914 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.621/1.621, allocations: 205.1 MB / 222.6 MB, free: 4.5 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.613/0.613, allocations: 95.48 MB / 365.4 MB, free: 9.777 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.001346/0.001346, allocations: 74.08 kB / 0.5036 GB, free: 13.48 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1466/0.148, allocations: 69.08 MB / 0.5711 GB, free: 8.332 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.003075/0.1511, allocations: 1.419 MB / 0.5725 GB, free: 6.898 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007511/0.1519, allocations: 355.7 kB / 0.5728 GB, free: 6.551 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.55e-05/0.1519, allocations: 0 / 0.5728 GB, free: 6.551 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.982e-05/0.152, allocations: 0 / 0.5728 GB, free: 6.551 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.414e-05/0.152, allocations: 11.92 kB / 0.5728 GB, free: 6.539 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006384/0.1527, allocations: 110.7 kB / 0.5729 GB, free: 6.434 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001024/0.1528, allocations: 23.88 kB / 0.5729 GB, free: 6.41 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001362/0.1529, allocations: 7.984 kB / 0.5729 GB, free: 6.402 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.106e-05/0.153, allocations: 8 kB / 0.5729 GB, free: 6.395 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.145e-05/0.1531, allocations: 15.92 kB / 0.573 GB, free: 6.379 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.744e-05/0.1531, allocations: 0 / 0.573 GB, free: 6.379 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004765/0.1536, allocations: 235.7 kB / 0.5732 GB, free: 6.148 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.084e-05/0.1537, allocations: 12 kB / 0.5732 GB, free: 6.137 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.755e-05/0.1537, allocations: 3.938 kB / 0.5732 GB, free: 6.133 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004039/0.1541, allocations: 115.7 kB / 0.5733 GB, free: 6.02 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.1541, allocations: 0 / 0.5733 GB, free: 6.02 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.594e-06/0.1541, allocations: 0 / 0.5733 GB, free: 6.02 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.286e-05/0.1541, allocations: 0 / 0.5733 GB, free: 6.02 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.0006719/0.1548, allocations: 355.5 kB / 0.5737 GB, free: 5.625 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.463e-05/0.1549, allocations: 11.98 kB / 0.5737 GB, free: 5.613 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001345/0.155, allocations: 16.86 kB / 0.5737 GB, free: 5.598 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002394/0.1553, allocations: 176.2 kB / 0.5738 GB, free: 5.387 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.09e-05/0.1553, allocations: 4.125 kB / 0.5739 GB, free: 5.383 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.675e-05/0.1553, allocations: 7.938 kB / 0.5739 GB, free: 5.375 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002577/0.1556, allocations: 45.67 kB / 0.5739 GB, free: 5.324 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.1556, allocations: 4 kB / 0.5739 GB, free: 5.32 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.469e-05/0.1556, allocations: 0 / 0.5739 GB, free: 5.32 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.1556, allocations: 0 / 0.5739 GB, free: 5.32 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001842/0.1558, allocations: 39.91 kB / 0.5739 GB, free: 5.281 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005527/0.1564, allocations: 248.9 kB / 0.5742 GB, free: 4.988 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001459/0.1565, allocations: 38.55 kB / 0.5742 GB, free: 4.941 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.483e-05/0.1567, allocations: 24.91 kB / 0.5742 GB, free: 4.914 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000816/0.1575, allocations: 457.5 kB / 0.5747 GB, free: 4.375 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.742e-05/0.1575, allocations: 34.56 kB / 0.5747 GB, free: 4.332 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.483e-06/0.1575, allocations: 4 kB / 0.5747 GB, free: 4.328 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004446/0.158, allocations: 89.58 kB / 0.5748 GB, free: 4.234 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.675e-05/0.1581, allocations: 51.41 kB / 0.5749 GB, free: 4.172 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001085/0.1582, allocations: 105.8 kB / 0.575 GB, free: 4.059 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.721e-05/0.1582, allocations: 25.7 kB / 0.575 GB, free: 4.027 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.676e-05/0.1583, allocations: 80.14 kB / 0.5751 GB, free: 3.945 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.351e-05/0.1583, allocations: 7.906 kB / 0.5751 GB, free: 3.938 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.132e-05/0.1584, allocations: 21.83 kB / 0.5751 GB, free: 3.91 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.1585, allocations: 314.8 kB / 0.5754 GB, free: 3.594 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.535e-05/0.1586, allocations: 19.98 kB / 0.5754 GB, free: 3.574 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.157e-05/0.1587, allocations: 15.98 kB / 0.5754 GB, free: 3.559 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001516/0.1588, allocations: 48.75 kB / 0.5755 GB, free: 3.508 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1589, allocations: 4.062 kB / 0.5755 GB, free: 3.504 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000253/0.1591, allocations: 61.67 kB / 0.5755 GB, free: 3.438 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.1591, allocations: 7.984 kB / 0.5755 GB, free: 3.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.348e-05/0.1592, allocations: 0 / 0.5755 GB, free: 3.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.304e-05/0.1592, allocations: 4 kB / 0.5755 GB, free: 3.426 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.393e-05/0.1593, allocations: 4 kB / 0.5755 GB, free: 3.422 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.1593, allocations: 0 / 0.5755 GB, free: 3.422 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.812e-05/0.1594, allocations: 15.92 kB / 0.5756 GB, free: 3.406 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-06/0.1594, allocations: 7.875 kB / 0.5756 GB, free: 3.398 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 9.243e-05/0.1595, allocations: 113.8 kB / 0.5757 GB, free: 3.277 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.583e-05/0.1596, allocations: 0 / 0.5757 GB, free: 3.277 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002496/0.1598, allocations: 81.06 kB / 0.5757 GB, free: 3.188 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.1598, allocations: 3.984 kB / 0.5758 GB, free: 3.184 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.1598, allocations: 0 / 0.5758 GB, free: 3.184 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/0.1598, allocations: 4.031 kB / 0.5758 GB, free: 3.18 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001902/0.16, allocations: 165.6 kB / 0.5759 GB, free: 2.969 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.16, allocations: 0 / 0.5759 GB, free: 2.969 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.952e-05/0.1601, allocations: 7.984 kB / 0.5759 GB, free: 2.961 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.1601, allocations: 0 / 0.5759 GB, free: 2.961 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.1601, allocations: 7.938 kB / 0.5759 GB, free: 2.953 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.1602, allocations: 0 / 0.5759 GB, free: 2.953 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.1602, allocations: 0 / 0.5759 GB, free: 2.953 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003007/0.1605, allocations: 171.4 kB / 0.5761 GB, free: 2.77 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.61e-05/0.1605, allocations: 81.02 kB / 0.5762 GB, free: 2.672 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.208e-05/0.1606, allocations: 8.234 kB / 0.5762 GB, free: 2.664 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.903e-05/0.1606, allocations: 0 / 0.5762 GB, free: 2.664 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.616e-05/0.1607, allocations: 8 kB / 0.5762 GB, free: 2.656 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/0.1607, allocations: 0 / 0.5762 GB, free: 2.656 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.243e-05/0.1608, allocations: 91.2 kB / 0.5763 GB, free: 2.566 MB / 446.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.1608, allocations: 4.031 kB / 0.5763 GB, free: 2.562 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002398/0.161, 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.0002016/0.1612, allocations: 111.2 kB / 0.5764 GB, free: 2.434 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002269/0.1615, allocations: 35.97 kB / 0.5764 GB, free: 2.398 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.1615, allocations: 0 / 0.5764 GB, free: 2.398 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.664e-05/0.1616, allocations: 23.98 kB / 0.5765 GB, free: 2.375 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000296/0.1619, allocations: 11.98 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.0003342/0.1622, allocations: 105.6 kB / 0.5766 GB, free: 2.234 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002651/0.1625, allocations: 0.6729 MB / 0.5772 GB, free: 1.535 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.075e-05/0.1625, allocations: 7.984 kB / 0.5772 GB, free: 1.527 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.502e-05/0.1626, allocations: 11.44 kB / 0.5772 GB, free: 1.516 MB / 446.1 MB Notification: Performance of SimCode: time 4.1e-07/0.1626, allocations: 0 / 0.5772 GB, free: 1.516 MB / 446.1 MB Notification: Performance of Templates: time 0.003623/0.1662, allocations: 0.7111 MB / 0.5779 GB, free: 0.8047 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)