Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothBlocks.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.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothBlocks") translateModel(Buildings.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothBlocks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01132/0.01132, allocations: 102.5 kB / 15.73 MB, free: 6 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.002279/0.002279, allocations: 195.4 kB / 16.67 MB, free: 5.926 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.636/1.636, allocations: 205.1 MB / 222.5 MB, free: 4.508 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.5987/0.5987, allocations: 95.48 MB / 365.4 MB, free: 9.781 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.001398/0.001398, allocations: 66.09 kB / 0.5036 GB, free: 13.46 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1522/0.1536, allocations: 69.1 MB / 0.5711 GB, free: 8.305 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.003194/0.1569, allocations: 1.733 MB / 0.5728 GB, free: 6.555 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001538/0.1585, allocations: 0.8466 MB / 0.5736 GB, free: 5.703 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.11e-05/0.1585, allocations: 0 / 0.5736 GB, free: 5.703 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 4.421e-05/0.1586, allocations: 11.86 kB / 0.5736 GB, free: 5.691 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.918e-05/0.1587, allocations: 19.81 kB / 0.5736 GB, free: 5.672 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007333/0.1594, allocations: 215.1 kB / 0.5738 GB, free: 5.465 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001795/0.1596, allocations: 127.6 kB / 0.574 GB, free: 5.34 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001735/0.1598, allocations: 45.11 kB / 0.574 GB, free: 5.297 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000146/0.16, allocations: 59.83 kB / 0.5741 GB, free: 5.238 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001014/0.1601, allocations: 47.77 kB / 0.5741 GB, free: 5.191 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.838e-05/0.1601, allocations: 12 kB / 0.5741 GB, free: 5.18 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001978/0.1603, allocations: 111.9 kB / 0.5742 GB, free: 5.07 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.278e-05/0.1604, allocations: 35.83 kB / 0.5743 GB, free: 5.035 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.452e-05/0.1604, allocations: 59.66 kB / 0.5743 GB, free: 4.977 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002601/0.1607, allocations: 175.5 kB / 0.5745 GB, free: 4.805 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.1607, allocations: 0 / 0.5745 GB, free: 4.805 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1607, allocations: 0 / 0.5745 GB, free: 4.805 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.743e-06/0.1607, allocations: 0 / 0.5745 GB, free: 4.805 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.000653/0.1614, allocations: 454.9 kB / 0.5749 GB, free: 4.312 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.1614, allocations: 15.98 kB / 0.5749 GB, free: 4.297 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.345e-05/0.1615, allocations: 8.844 kB / 0.5749 GB, free: 4.289 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001569/0.1617, allocations: 188 kB / 0.5751 GB, free: 4.066 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001024/0.1618, allocations: 67.31 kB / 0.5752 GB, free: 3.988 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.781e-05/0.1618, allocations: 8 kB / 0.5752 GB, free: 3.98 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002872/0.1621, allocations: 117.6 kB / 0.5753 GB, free: 3.859 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.1621, allocations: 0 / 0.5753 GB, free: 3.859 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.015e-05/0.1621, allocations: 4 kB / 0.5753 GB, free: 3.855 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.1621, allocations: 0 / 0.5753 GB, free: 3.855 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001696/0.1623, allocations: 59.95 kB / 0.5754 GB, free: 3.797 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007931/0.1631, allocations: 404.4 kB / 0.5758 GB, free: 3.352 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001732/0.1633, allocations: 78.48 kB / 0.5758 GB, free: 3.266 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.295e-05/0.1634, allocations: 32.97 kB / 0.5759 GB, free: 3.23 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009415/0.1643, allocations: 1.279 MB / 0.5771 GB, free: 1.656 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.128e-05/0.1644, allocations: 38.5 kB / 0.5771 GB, free: 1.609 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.062e-06/0.1644, allocations: 0 / 0.5771 GB, free: 1.609 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003739/0.1648, allocations: 121.7 kB / 0.5773 GB, free: 1.484 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.23e-05/0.1648, allocations: 51.41 kB / 0.5773 GB, free: 1.422 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001099/0.1649, allocations: 136.6 kB / 0.5774 GB, free: 1.281 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.17e-05/0.165, allocations: 33.7 kB / 0.5775 GB, free: 1.242 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.574e-05/0.165, allocations: 112.1 kB / 0.5776 GB, free: 1.129 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.922e-05/0.1651, allocations: 15.8 kB / 0.5776 GB, free: 1.113 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.128e-05/0.1651, allocations: 21.72 kB / 0.5776 GB, free: 1.086 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001049/0.1652, allocations: 318.8 kB / 0.5779 GB, free: 0.7656 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.425e-05/0.1653, allocations: 27.98 kB / 0.5779 GB, free: 0.7383 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.421e-05/0.1654, allocations: 58.48 kB / 0.578 GB, free: 0.6719 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000156/0.1656, allocations: 70.55 kB / 0.5781 GB, free: 0.5938 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.1656, allocations: 0 / 0.5781 GB, free: 0.5938 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002257/0.1658, allocations: 117.5 kB / 0.5782 GB, free: 484 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.1658, allocations: 8 kB / 0.5782 GB, free: 476 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.1659, allocations: 0 / 0.5782 GB, free: 476 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.1659, allocations: 3.938 kB / 0.5782 GB, free: 472 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001131/0.166, allocations: 23.92 kB / 0.5782 GB, free: 448 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.438e-06/0.166, allocations: 0 / 0.5782 GB, free: 448 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.602e-05/0.1661, allocations: 11.84 kB / 0.5782 GB, free: 436 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.299e-05/0.1661, allocations: 11.92 kB / 0.5782 GB, free: 424 kB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (8): * Single equations (assignments): 8 * 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.0001105/0.1662, allocations: 121.8 kB / 0.5784 GB, free: 292 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.764e-05/0.1663, allocations: 11.91 kB / 0.5784 GB, free: 280 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002744/0.1666, allocations: 114.3 kB / 0.5785 GB, free: 152 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.1666, allocations: 0 / 0.5785 GB, free: 152 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/0.1666, allocations: 384 / 0.5785 GB, free: 152 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.1666, allocations: 0 / 0.5785 GB, free: 152 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000237/0.1668, allocations: 213.6 kB / 0.5787 GB, free: 15.89 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.1668, allocations: 0 / 0.5787 GB, free: 15.89 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.768e-05/0.1669, allocations: 15.98 kB / 0.5787 GB, free: 15.87 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.1669, allocations: 0 / 0.5787 GB, free: 15.87 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/0.1669, allocations: 7.984 kB / 0.5787 GB, free: 15.86 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.167, allocations: 0 / 0.5787 GB, free: 15.86 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.167, allocations: 4 kB / 0.5787 GB, free: 15.86 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002589/0.1672, allocations: 199.3 kB / 0.5789 GB, free: 15.65 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.357e-05/0.1673, allocations: 81.02 kB / 0.579 GB, free: 15.55 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.768e-05/0.1673, allocations: 0 / 0.579 GB, free: 15.55 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000169/0.1675, allocations: 19.98 kB / 0.579 GB, free: 15.53 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.717e-05/0.1675, allocations: 7.984 kB / 0.579 GB, free: 15.52 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.289e-05/0.1676, allocations: 4 kB / 0.579 GB, free: 15.52 MB / 462.1 MB Notification: Performance of sorting global known variables: time 7.284e-05/0.1676, allocations: 107.2 kB / 0.5791 GB, free: 15.41 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1676, allocations: 0 / 0.5791 GB, free: 15.41 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.000263/0.1679, allocations: 27.84 kB / 0.5791 GB, free: 15.39 MB / 462.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 (6): * Single equations (assignments): 6 * 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.0002071/0.1681, allocations: 119.1 kB / 0.5792 GB, free: 15.27 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.000243/0.1684, allocations: 71.89 kB / 0.5793 GB, free: 15.2 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1684, allocations: 0 / 0.5793 GB, free: 15.2 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 8.166e-05/0.1685, allocations: 31.98 kB / 0.5793 GB, free: 15.16 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003346/0.1688, allocations: 15.22 kB / 0.5794 GB, free: 15.15 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004361/0.1693, allocations: 203.6 kB / 0.5796 GB, free: 14.92 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003128/0.1696, allocations: 0.7119 MB / 0.5802 GB, free: 14.18 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 5.574e-05/0.1697, allocations: 8.312 kB / 0.5803 GB, free: 14.18 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.631e-05/0.1697, allocations: 11.44 kB / 0.5803 GB, free: 14.17 MB / 462.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1697, allocations: 0 / 0.5803 GB, free: 14.17 MB / 462.1 MB Notification: Performance of Templates: time 0.003905/0.1736, allocations: 1.404 MB / 0.5816 GB, free: 12.77 MB / 462.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothBlocks.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothBlocks.sim & ./Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)