Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks") translateModel(IBPSA.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001183/0.001183, allocations: 97.36 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001578/0.001578, allocations: 171.7 kB / 16.57 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.304/1.304, allocations: 223.2 MB / 240.5 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6703/0.6703, allocations: 113.8 MB / 405.4 MB, free: 4.559 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004103/0.0004104, allocations: 16.91 kB / 493.1 MB, free: 8.562 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1487/0.1491, allocations: 77.15 MB / 0.5568 GB, free: 11.61 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothBlocks): time 0.001968/0.1511, allocations: 1.428 MB / 0.5582 GB, free: 10.18 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001053/0.1522, allocations: 0.5857 MB / 0.5588 GB, free: 9.586 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.3e-05/0.1523, allocations: 4 kB / 0.5588 GB, free: 9.582 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.846e-05/0.1523, allocations: 7.922 kB / 0.5588 GB, free: 9.574 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.039e-05/0.1524, allocations: 11.97 kB / 0.5588 GB, free: 9.562 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005097/0.1529, allocations: 147.5 kB / 0.559 GB, free: 9.422 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001439/0.1531, allocations: 75.84 kB / 0.559 GB, free: 9.348 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001422/0.1532, allocations: 37.27 kB / 0.5591 GB, free: 9.312 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001224/0.1533, allocations: 47.84 kB / 0.5591 GB, free: 9.266 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.171e-05/0.1534, allocations: 31.84 kB / 0.5592 GB, free: 9.234 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.24e-05/0.1535, allocations: 4 kB / 0.5592 GB, free: 9.23 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000103/0.1536, allocations: 39.91 kB / 0.5592 GB, free: 9.191 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.119e-05/0.1536, allocations: 23.89 kB / 0.5592 GB, free: 9.168 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.527e-05/0.1537, allocations: 41.64 kB / 0.5593 GB, free: 9.121 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001384/0.1538, allocations: 96.05 kB / 0.5594 GB, free: 9.027 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.1538, allocations: 0 / 0.5594 GB, free: 9.027 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.1538, allocations: 4 kB / 0.5594 GB, free: 9.023 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.707e-06/0.1538, allocations: 0 / 0.5594 GB, free: 9.023 MB / 430.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.0005553/0.1544, allocations: 411 kB / 0.5598 GB, free: 8.574 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.1544, allocations: 23.89 kB / 0.5598 GB, free: 8.551 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008889/0.1553, allocations: 135.7 kB / 0.5599 GB, free: 8.418 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001331/0.1555, allocations: 190.8 kB / 0.5601 GB, free: 8.191 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.406e-05/0.1556, allocations: 59.41 kB / 0.5601 GB, free: 8.121 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.668e-05/0.1556, allocations: 15.95 kB / 0.5602 GB, free: 8.105 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005467/0.1562, allocations: 191.5 kB / 0.5603 GB, free: 7.914 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.1562, allocations: 4 kB / 0.5603 GB, free: 7.91 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.703e-05/0.1562, allocations: 4 kB / 0.5603 GB, free: 7.906 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.1562, allocations: 7.938 kB / 0.5604 GB, free: 7.898 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006597/0.1569, allocations: 191.8 kB / 0.5605 GB, free: 7.711 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001191/0.1581, allocations: 0.4978 MB / 0.561 GB, free: 7.16 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001077/0.1592, allocations: 278.2 kB / 0.5613 GB, free: 6.879 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.808e-05/0.1592, allocations: 7.984 kB / 0.5613 GB, free: 6.871 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.365e-05/0.1593, allocations: 34.56 kB / 0.5613 GB, free: 6.828 MB / 430.1 MB Notification: Performance of pre-optimization done (n=6): time 1.593e-06/0.1593, allocations: 0 / 0.5613 GB, free: 6.828 MB / 430.1 MB Notification: Performance of matching and sorting (n=6): time 0.001085/0.1604, allocations: 321.5 kB / 0.5616 GB, free: 6.508 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.195e-05/0.1604, allocations: 51.41 kB / 0.5617 GB, free: 6.445 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001071/0.1605, allocations: 135.9 kB / 0.5618 GB, free: 6.305 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.642e-05/0.1605, allocations: 29.7 kB / 0.5618 GB, free: 6.27 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.866e-05/0.1606, allocations: 112.2 kB / 0.562 GB, free: 6.152 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.067e-05/0.1606, allocations: 15.66 kB / 0.562 GB, free: 6.137 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.041e-05/0.1607, allocations: 8 kB / 0.562 GB, free: 6.129 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001043/0.1608, allocations: 318.8 kB / 0.5623 GB, free: 5.809 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003186/0.1611, allocations: 87.92 kB / 0.5624 GB, free: 5.723 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003535/0.1615, allocations: 114.5 kB / 0.5625 GB, free: 5.602 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003192/0.1618, allocations: 91.92 kB / 0.5626 GB, free: 5.512 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1618, allocations: 0 / 0.5626 GB, free: 5.512 MB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0007073/0.1625, allocations: 233.5 kB / 0.5628 GB, free: 5.277 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/0.1625, allocations: 15.94 kB / 0.5628 GB, free: 5.262 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.1625, allocations: 3.938 kB / 0.5628 GB, free: 5.258 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.1626, allocations: 0 / 0.5628 GB, free: 5.258 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002908/0.1629, allocations: 47.95 kB / 0.5628 GB, free: 5.211 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.1629, allocations: 0 / 0.5628 GB, free: 5.211 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002053/0.1631, allocations: 31.97 kB / 0.5629 GB, free: 5.18 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.742e-05/0.1631, allocations: 7.984 kB / 0.5629 GB, free: 5.172 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.461e-05/0.1632, allocations: 113.8 kB / 0.563 GB, free: 5.051 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.145e-05/0.1633, allocations: 11.91 kB / 0.563 GB, free: 5.039 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007602/0.164, allocations: 246 kB / 0.5632 GB, free: 4.793 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.164, allocations: 0 / 0.5632 GB, free: 4.793 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.1641, allocations: 4 kB / 0.5632 GB, free: 4.789 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.1641, allocations: 0 / 0.5632 GB, free: 4.789 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002524/0.1643, allocations: 246.1 kB / 0.5635 GB, free: 4.5 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1643, allocations: 4.312 kB / 0.5635 GB, free: 4.496 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002368/0.1646, allocations: 39.95 kB / 0.5635 GB, free: 4.457 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.1646, allocations: 3.938 kB / 0.5635 GB, free: 4.453 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.327e-05/0.1646, allocations: 7.953 kB / 0.5635 GB, free: 4.445 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.1646, allocations: 0 / 0.5635 GB, free: 4.445 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1646, allocations: 4 kB / 0.5635 GB, free: 4.441 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007436/0.1654, allocations: 323.2 kB / 0.5638 GB, free: 4.109 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.192e-05/0.1654, allocations: 81.02 kB / 0.5639 GB, free: 4.012 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.403e-05/0.1655, allocations: 8 kB / 0.5639 GB, free: 4.004 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003146/0.1658, allocations: 47.89 kB / 0.564 GB, free: 3.957 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.37e-05/0.1658, allocations: 4 kB / 0.564 GB, free: 3.953 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.944e-05/0.1658, allocations: 7.984 kB / 0.564 GB, free: 3.945 MB / 430.1 MB Notification: Performance of sorting global known variables: time 6.142e-05/0.1659, allocations: 109.2 kB / 0.5641 GB, free: 3.84 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1659, allocations: 0 / 0.5641 GB, free: 3.84 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002762/0.1662, allocations: 23.91 kB / 0.5641 GB, free: 3.816 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001183/0.1663, allocations: 99.92 kB / 0.5642 GB, free: 3.711 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006844/0.167, allocations: 199.8 kB / 0.5644 GB, free: 3.516 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.093e-06/0.167, allocations: 0 / 0.5644 GB, free: 3.516 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003193/0.1673, allocations: 100 kB / 0.5645 GB, free: 3.418 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002087/0.1676, allocations: 8 kB / 0.5645 GB, free: 3.41 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006466/0.1682, allocations: 305.3 kB / 0.5648 GB, free: 3.082 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002601/0.1685, allocations: 0.7082 MB / 0.5655 GB, free: 2.348 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.891e-05/0.1686, allocations: 8.188 kB / 0.5655 GB, free: 2.34 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.176e-05/0.1686, allocations: 19.42 kB / 0.5655 GB, free: 2.32 MB / 430.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1687, allocations: 0 / 0.5655 GB, free: 2.32 MB / 430.1 MB Notification: Performance of Templates: time 0.003321/0.172, allocations: 1.303 MB / 0.5668 GB, free: 1.031 MB / 430.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)