Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.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.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside") translateModel(IBPSA.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001659/0.001659, allocations: 119.8 kB / 17.09 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.001928/0.001928, allocations: 195 kB / 18.02 MB, free: 5.082 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.352/1.352, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7081/0.7081, allocations: 115.3 MB / 407.2 MB, free: 6.137 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 66.06 kB / 0.5583 GB, free: 32.13 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1693/0.1706, allocations: 76.18 MB / 0.6327 GB, free: 4.398 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothHeaviside): time 0.003024/0.1737, allocations: 1.444 MB / 0.6341 GB, free: 2.941 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008931/0.1746, allocations: 467.8 kB / 0.6346 GB, free: 2.477 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.689e-05/0.1747, allocations: 3.938 kB / 0.6346 GB, free: 2.473 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 3.26e-05/0.1747, allocations: 3.984 kB / 0.6346 GB, free: 2.469 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 6.615e-05/0.1748, allocations: 3.938 kB / 0.6346 GB, free: 2.465 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002421/0.175, allocations: 23.92 kB / 0.6346 GB, free: 2.441 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 7.987e-05/0.1751, allocations: 27.92 kB / 0.6346 GB, free: 2.414 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.931e-05/0.1752, allocations: 4 kB / 0.6346 GB, free: 2.41 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.902e-05/0.1753, allocations: 4 kB / 0.6347 GB, free: 2.406 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.084e-05/0.1754, allocations: 15.92 kB / 0.6347 GB, free: 2.391 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.927e-05/0.1754, allocations: 7.984 kB / 0.6347 GB, free: 2.383 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.127e-05/0.1755, allocations: 19.92 kB / 0.6347 GB, free: 2.363 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.51e-05/0.1755, allocations: 7.984 kB / 0.6347 GB, free: 2.355 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 3.027e-05/0.1756, allocations: 11.94 kB / 0.6347 GB, free: 2.344 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001245/0.1757, allocations: 35.89 kB / 0.6347 GB, free: 2.309 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1757, allocations: 0 / 0.6347 GB, free: 2.309 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1757, allocations: 0 / 0.6347 GB, free: 2.309 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.287e-06/0.1757, allocations: 0 / 0.6347 GB, free: 2.309 MB / 478.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.0004849/0.1762, allocations: 347.4 kB / 0.6351 GB, free: 1.922 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.1763, allocations: 8.031 kB / 0.6351 GB, free: 1.914 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.844e-05/0.1763, allocations: 4.938 kB / 0.6351 GB, free: 1.91 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000131/0.1764, allocations: 168.3 kB / 0.6353 GB, free: 1.707 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.1765, allocations: 384 / 0.6353 GB, free: 1.707 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.512e-05/0.1765, allocations: 8.375 kB / 0.6353 GB, free: 1.699 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001906/0.1767, allocations: 57.92 kB / 0.6353 GB, free: 1.637 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.1767, allocations: 0 / 0.6353 GB, free: 1.637 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.1767, allocations: 0 / 0.6353 GB, free: 1.637 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.615e-06/0.1767, allocations: 0 / 0.6353 GB, free: 1.637 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000171/0.1769, allocations: 35.95 kB / 0.6354 GB, free: 1.602 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003668/0.1773, allocations: 256.8 kB / 0.6356 GB, free: 1.301 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001371/0.1774, allocations: 34.56 kB / 0.6356 GB, free: 1.258 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.323e-05/0.1775, allocations: 24.89 kB / 0.6357 GB, free: 1.23 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001398/0.1777, allocations: 85.05 kB / 0.6357 GB, free: 1.129 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.315e-05/0.1777, allocations: 34.56 kB / 0.6358 GB, free: 1.086 MB / 478.1 MB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.1777, allocations: 0 / 0.6358 GB, free: 1.086 MB / 478.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003646/0.1781, allocations: 85.62 kB / 0.6358 GB, free: 0.9961 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.642e-05/0.1782, allocations: 55.41 kB / 0.6359 GB, free: 0.9297 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.02e-05/0.1782, allocations: 101.8 kB / 0.636 GB, free: 0.8203 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.48e-05/0.1783, allocations: 25.7 kB / 0.636 GB, free: 0.7891 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.451e-05/0.1783, allocations: 84.14 kB / 0.6361 GB, free: 0.7031 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.317e-05/0.1784, allocations: 11.84 kB / 0.6361 GB, free: 0.6914 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.653e-05/0.1784, allocations: 13.84 kB / 0.6361 GB, free: 0.6719 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001222/0.1785, allocations: 318.8 kB / 0.6364 GB, free: 360 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.116e-05/0.1786, allocations: 15.98 kB / 0.6364 GB, free: 344 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.16e-05/0.1787, allocations: 15.92 kB / 0.6365 GB, free: 328 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001585/0.1789, allocations: 52.81 kB / 0.6365 GB, free: 272 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.1789, allocations: 0 / 0.6365 GB, free: 272 kB / 478.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002164/0.1791, allocations: 61.67 kB / 0.6366 GB, free: 204 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.1791, allocations: 4 kB / 0.6366 GB, free: 200 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.1791, allocations: 0 / 0.6366 GB, free: 200 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.1791, allocations: 4.25 kB / 0.6366 GB, free: 196 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.021e-05/0.1792, allocations: 7.984 kB / 0.6366 GB, free: 188 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.1793, allocations: 4 kB / 0.6366 GB, free: 184 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.752e-05/0.1793, allocations: 12.02 kB / 0.6366 GB, free: 172 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.671e-06/0.1793, allocations: 0 / 0.6366 GB, free: 172 kB / 478.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 8.174e-05/0.1794, allocations: 117.7 kB / 0.6367 GB, free: 44 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.683e-05/0.1794, allocations: 7.906 kB / 0.6367 GB, free: 36 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002637/0.1797, allocations: 68.78 kB / 0.6368 GB, free: 15.96 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.1797, allocations: 0 / 0.6368 GB, free: 15.96 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.1797, allocations: 4.031 kB / 0.6368 GB, free: 15.96 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.1797, allocations: 3.984 kB / 0.6368 GB, free: 15.95 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001689/0.1799, allocations: 157.6 kB / 0.6369 GB, free: 15.75 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.1799, allocations: 0 / 0.6369 GB, free: 15.75 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.171e-05/0.18, allocations: 11.98 kB / 0.637 GB, free: 15.74 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.18, allocations: 3.938 kB / 0.637 GB, free: 15.73 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-06/0.18, allocations: 0 / 0.637 GB, free: 15.73 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.18, allocations: 0 / 0.637 GB, free: 15.73 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.18, allocations: 0 / 0.637 GB, free: 15.73 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002488/0.1803, allocations: 171.4 kB / 0.6371 GB, free: 15.55 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.928e-05/0.1803, allocations: 81.11 kB / 0.6372 GB, free: 15.45 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.255e-05/0.1804, allocations: 0 / 0.6372 GB, free: 15.45 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.403e-05/0.1804, allocations: 11.92 kB / 0.6372 GB, free: 15.44 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.261e-05/0.1805, allocations: 4 kB / 0.6372 GB, free: 15.44 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-06/0.1805, allocations: 0 / 0.6372 GB, free: 15.44 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.089e-05/0.1805, allocations: 83.27 kB / 0.6373 GB, free: 15.36 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1806, allocations: 4.031 kB / 0.6373 GB, free: 15.35 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002286/0.1808, allocations: 8 kB / 0.6373 GB, free: 15.34 MB / 494.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.0001665/0.181, allocations: 99.25 kB / 0.6374 GB, free: 15.23 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002209/0.1812, allocations: 43.89 kB / 0.6374 GB, free: 15.19 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1812, allocations: 0 / 0.6374 GB, free: 15.19 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.672e-05/0.1813, allocations: 20.05 kB / 0.6375 GB, free: 15.17 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003243/0.1816, allocations: 13.97 kB / 0.6375 GB, free: 15.16 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003148/0.1819, allocations: 127.2 kB / 0.6376 GB, free: 15 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002711/0.1822, allocations: 0.6768 MB / 0.6383 GB, free: 14.3 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.554e-05/0.1823, allocations: 7.438 kB / 0.6383 GB, free: 14.29 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1823, allocations: 0 / 0.6383 GB, free: 14.29 MB / 494.1 MB Notification: Performance of Templates: time 0.002219/0.1845, allocations: 0.6629 MB / 0.6389 GB, free: 13.62 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1)