Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.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.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") translateModel(IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 108.8 kB / 16.41 MB, free: 6.469 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.001455/0.001455, allocations: 189.2 kB / 17.34 MB, free: 5.75 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.388/1.388, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8193/0.8193, allocations: 126.1 MB / 417.3 MB, free: 12.79 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 64.41 kB / 0.5731 GB, free: 27.23 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1534/0.1546, allocations: 78.71 MB / 0.65 GB, free: 4.008 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001756/0.1564, allocations: 0.5755 MB / 0.6505 GB, free: 3.438 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001343/0.1578, allocations: 1.106 MB / 0.6516 GB, free: 2.316 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.162e-05/0.1578, allocations: 0 / 0.6516 GB, free: 2.316 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.078e-05/0.1579, allocations: 0 / 0.6516 GB, free: 2.316 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002107/0.1581, allocations: 23.91 kB / 0.6517 GB, free: 2.293 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.198e-06/0.1581, allocations: 0 / 0.6517 GB, free: 2.293 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.127e-05/0.1581, allocations: 7.938 kB / 0.6517 GB, free: 2.285 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.223e-05/0.1582, allocations: 15.92 kB / 0.6517 GB, free: 2.27 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.302e-05/0.1582, allocations: 0 / 0.6517 GB, free: 2.27 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.837e-05/0.1582, allocations: 0 / 0.6517 GB, free: 2.27 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.103e-06/0.1582, allocations: 0 / 0.6517 GB, free: 2.27 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001026/0.1583, allocations: 23.91 kB / 0.6517 GB, free: 2.246 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.1e-06/0.1584, allocations: 4 kB / 0.6517 GB, free: 2.242 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.625e-05/0.1584, allocations: 3.938 kB / 0.6517 GB, free: 2.238 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.238e-05/0.1585, allocations: 11.98 kB / 0.6517 GB, free: 2.227 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.1585, allocations: 0 / 0.6517 GB, free: 2.227 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.956e-06/0.1585, allocations: 0 / 0.6517 GB, free: 2.227 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.428e-06/0.1585, allocations: 3.938 kB / 0.6517 GB, free: 2.223 MB / 494.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.0002449/0.1587, allocations: 323.5 kB / 0.652 GB, free: 1.859 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.171e-05/0.1588, allocations: 8.031 kB / 0.652 GB, free: 1.852 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.992e-05/0.1588, allocations: 0.9375 kB / 0.652 GB, free: 1.852 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001261/0.1589, allocations: 160.4 kB / 0.6522 GB, free: 1.656 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.953e-06/0.1589, allocations: 4.375 kB / 0.6522 GB, free: 1.652 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.92e-05/0.159, allocations: 8.328 kB / 0.6522 GB, free: 1.645 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.986e-05/0.159, allocations: 38 kB / 0.6522 GB, free: 1.602 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.1591, allocations: 0 / 0.6522 GB, free: 1.602 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.112e-06/0.1591, allocations: 0 / 0.6522 GB, free: 1.602 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.1591, allocations: 4 kB / 0.6522 GB, free: 1.598 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.196e-05/0.1591, allocations: 8 kB / 0.6522 GB, free: 1.59 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001405/0.1593, allocations: 157.6 kB / 0.6524 GB, free: 1.387 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001528/0.1594, allocations: 38.55 kB / 0.6524 GB, free: 1.34 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.781e-05/0.1595, allocations: 8.859 kB / 0.6524 GB, free: 1.328 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001226/0.1596, allocations: 81.2 kB / 0.6525 GB, free: 1.23 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.84e-05/0.1596, allocations: 46.48 kB / 0.6526 GB, free: 1.176 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.1596, allocations: 3.938 kB / 0.6526 GB, free: 1.172 MB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.004217/0.1638, allocations: 0.5677 MB / 0.6531 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.704e-05/0.1639, allocations: 51.41 kB / 0.6532 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.49e-05/0.164, allocations: 89.86 kB / 0.6533 GB, free: 448 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.086e-05/0.164, allocations: 25.7 kB / 0.6533 GB, free: 416 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.555e-05/0.164, allocations: 84.14 kB / 0.6534 GB, free: 328 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.846e-05/0.1641, allocations: 19.86 kB / 0.6534 GB, free: 308 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.837e-05/0.1641, allocations: 17.7 kB / 0.6534 GB, free: 284 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000177/0.1643, allocations: 314.8 kB / 0.6537 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005917/0.1649, allocations: 87.89 kB / 0.6538 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005892/0.1655, allocations: 98.53 kB / 0.6539 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001155/0.1667, allocations: 194.5 kB / 0.6541 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1667, allocations: 0 / 0.6541 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001268/0.168, allocations: 221.5 kB / 0.6543 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/0.168, allocations: 9.812 kB / 0.6543 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.168, allocations: 0 / 0.6543 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.173e-05/0.1681, allocations: 4 kB / 0.6543 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003961/0.1685, allocations: 51.94 kB / 0.6543 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.678e-06/0.1685, allocations: 4 kB / 0.6543 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003405/0.1688, allocations: 39.97 kB / 0.6544 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.057e-05/0.1689, allocations: 4 kB / 0.6544 GB, free: 15.24 MB / 0.4981 GB 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 (5): * Single equations (assignments): 5 * 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.0001065/0.169, allocations: 117.8 kB / 0.6545 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.372e-05/0.169, allocations: 8.359 kB / 0.6545 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00136/0.1704, allocations: 237 kB / 0.6547 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.279e-06/0.1704, allocations: 0 / 0.6547 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.1704, allocations: 0 / 0.6547 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.907e-06/0.1704, allocations: 7.984 kB / 0.6547 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001541/0.172, allocations: 450.5 kB / 0.6552 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.172, allocations: 0 / 0.6552 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000378/0.1724, allocations: 51.91 kB / 0.6552 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.1724, allocations: 320 / 0.6552 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.738e-05/0.1724, allocations: 3.984 kB / 0.6552 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.621e-06/0.1724, allocations: 15.98 kB / 0.6552 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1724, allocations: 0 / 0.6552 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001253/0.1737, allocations: 307.3 kB / 0.6555 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.465e-05/0.1737, allocations: 81.11 kB / 0.6556 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.283e-05/0.1737, allocations: 3.938 kB / 0.6556 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003558/0.1741, allocations: 35.98 kB / 0.6556 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.211e-05/0.1741, allocations: 7.984 kB / 0.6557 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.214e-05/0.1741, allocations: 0 / 0.6557 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.338e-05/0.1742, allocations: 79.28 kB / 0.6557 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1742, allocations: 0 / 0.6557 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002492/0.1744, allocations: 16 kB / 0.6557 GB, free: 13.74 MB / 0.4981 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 (5): * Single equations (assignments): 5 * 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.000182/0.1746, allocations: 103.2 kB / 0.6558 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001233/0.1759, allocations: 179.8 kB / 0.656 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.1759, allocations: 192 / 0.656 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005894/0.1765, allocations: 95.89 kB / 0.6561 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002078/0.1767, allocations: 4 kB / 0.6561 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001112/0.1778, allocations: 216.9 kB / 0.6563 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003967/0.1782, allocations: 0.6768 MB / 0.657 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001722/0.1784, allocations: 28 kB / 0.657 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.728e-05/0.1785, allocations: 15.44 kB / 0.657 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1785, allocations: 0 / 0.657 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of Templates: time 0.003176/0.1817, allocations: 0.8115 MB / 0.6578 GB, free: 11.56 MB / 0.4981 GB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1)