Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.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.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit") translateModel(IBPSA.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 109.1 kB / 16.41 MB, free: 6.473 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.002228/0.002229, allocations: 189.2 kB / 17.34 MB, free: 5.754 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.362/1.362, 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.7335/0.7335, allocations: 115.3 MB / 406.5 MB, free: 6.172 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 69.53 kB / 0.5577 GB, free: 32.21 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1671/0.1684, allocations: 76.17 MB / 0.6321 GB, free: 4.41 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothLimit): time 0.00268/0.1711, allocations: 1.448 MB / 0.6335 GB, free: 2.949 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009574/0.1721, allocations: 0.5618 MB / 0.634 GB, free: 2.379 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.336e-05/0.1722, allocations: 0 / 0.634 GB, free: 2.379 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 3.183e-05/0.1722, allocations: 7.922 kB / 0.634 GB, free: 2.371 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 5.168e-05/0.1723, allocations: 3.938 kB / 0.6341 GB, free: 2.367 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000299/0.1726, allocations: 51.83 kB / 0.6341 GB, free: 2.316 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 7.983e-05/0.1727, allocations: 27.92 kB / 0.6341 GB, free: 2.289 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.1728, allocations: 4 kB / 0.6341 GB, free: 2.285 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.535e-05/0.1729, allocations: 23.91 kB / 0.6342 GB, free: 2.262 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.942e-05/0.1729, allocations: 15.92 kB / 0.6342 GB, free: 2.246 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.351e-05/0.173, allocations: 3.938 kB / 0.6342 GB, free: 2.242 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001285/0.1731, allocations: 47.97 kB / 0.6342 GB, free: 2.195 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.575e-05/0.1731, allocations: 3.984 kB / 0.6342 GB, free: 2.191 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.585e-05/0.1731, allocations: 15.88 kB / 0.6342 GB, free: 2.176 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001546/0.1733, allocations: 63.86 kB / 0.6343 GB, free: 2.113 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.289e-06/0.1733, allocations: 3.938 kB / 0.6343 GB, free: 2.109 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1733, allocations: 0 / 0.6343 GB, free: 2.109 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.1733, allocations: 0 / 0.6343 GB, free: 2.109 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.0004323/0.1738, allocations: 351.4 kB / 0.6346 GB, free: 1.719 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.1738, allocations: 12.03 kB / 0.6346 GB, free: 1.707 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.752e-05/0.1739, allocations: 4.844 kB / 0.6347 GB, free: 1.703 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001279/0.174, allocations: 176.3 kB / 0.6348 GB, free: 1.492 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.174, allocations: 4.375 kB / 0.6348 GB, free: 1.488 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.018e-05/0.174, allocations: 384 / 0.6348 GB, free: 1.488 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001611/0.1742, allocations: 49.98 kB / 0.6349 GB, free: 1.434 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.1742, allocations: 0 / 0.6349 GB, free: 1.434 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.506e-05/0.1742, allocations: 4 kB / 0.6349 GB, free: 1.43 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.1742, allocations: 4 kB / 0.6349 GB, free: 1.426 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001057/0.1744, allocations: 19.98 kB / 0.6349 GB, free: 1.406 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003327/0.1747, allocations: 252.8 kB / 0.6351 GB, free: 1.109 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.836e-05/0.1748, allocations: 34.62 kB / 0.6352 GB, free: 1.066 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.615e-05/0.1748, allocations: 16.84 kB / 0.6352 GB, free: 1.047 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007935/0.1756, allocations: 473.4 kB / 0.6356 GB, free: 0.4922 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.396e-05/0.1757, allocations: 34.55 kB / 0.6357 GB, free: 460 kB / 478.1 MB Notification: Performance of pre-optimization done (n=2): time 1.312e-06/0.1757, allocations: 0 / 0.6357 GB, free: 460 kB / 478.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002477/0.1759, allocations: 69.62 kB / 0.6357 GB, free: 384 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.589e-05/0.176, allocations: 55.34 kB / 0.6358 GB, free: 316 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.71e-05/0.1761, allocations: 105.8 kB / 0.6359 GB, free: 200 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.308e-05/0.1761, allocations: 25.7 kB / 0.6359 GB, free: 168 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.454e-05/0.1762, allocations: 92.12 kB / 0.636 GB, free: 72 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.517e-05/0.1762, allocations: 3.906 kB / 0.636 GB, free: 68 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.196e-05/0.1762, allocations: 17.72 kB / 0.636 GB, free: 44 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001214/0.1763, allocations: 310.8 kB / 0.6363 GB, free: 15.73 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.525e-05/0.1764, allocations: 16.11 kB / 0.6363 GB, free: 15.71 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.172e-05/0.1764, allocations: 8 kB / 0.6363 GB, free: 15.71 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.476e-05/0.1765, allocations: 28.78 kB / 0.6364 GB, free: 15.68 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.1765, allocations: 0 / 0.6364 GB, free: 15.68 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001099/0.1766, allocations: 57.61 kB / 0.6364 GB, free: 15.61 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.1767, allocations: 6.031 kB / 0.6364 GB, free: 15.61 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.1767, allocations: 8.094 kB / 0.6364 GB, free: 15.6 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.1767, allocations: 0 / 0.6364 GB, free: 15.6 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.77e-05/0.1768, allocations: 4 kB / 0.6364 GB, free: 15.6 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.1768, allocations: 3.938 kB / 0.6365 GB, free: 15.59 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.494e-05/0.1768, allocations: 11.89 kB / 0.6365 GB, free: 15.58 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/0.1768, allocations: 4 kB / 0.6365 GB, free: 15.58 MB / 494.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 7.89e-05/0.1769, allocations: 113.3 kB / 0.6366 GB, free: 15.46 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.536e-05/0.1769, allocations: 4 kB / 0.6366 GB, free: 15.46 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001796/0.1771, allocations: 69.14 kB / 0.6366 GB, free: 15.38 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.1771, allocations: 0 / 0.6366 GB, free: 15.38 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.1771, allocations: 0 / 0.6366 GB, free: 15.38 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.1772, allocations: 3.984 kB / 0.6366 GB, free: 15.38 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001529/0.1773, allocations: 165.6 kB / 0.6368 GB, free: 15.16 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.1773, allocations: 0 / 0.6368 GB, free: 15.16 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.205e-05/0.1774, allocations: 4 kB / 0.6368 GB, free: 15.16 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.1774, allocations: 0 / 0.6368 GB, free: 15.16 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-06/0.1774, allocations: 0 / 0.6368 GB, free: 15.16 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.1774, allocations: 4 kB / 0.6368 GB, free: 15.16 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.1774, allocations: 4.031 kB / 0.6368 GB, free: 15.15 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001565/0.1776, allocations: 155.5 kB / 0.637 GB, free: 14.98 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.442e-05/0.1776, allocations: 84.95 kB / 0.637 GB, free: 14.88 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.231e-05/0.1776, allocations: 0 / 0.637 GB, free: 14.88 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.302e-05/0.1777, allocations: 4 kB / 0.637 GB, free: 14.88 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.824e-05/0.1777, allocations: 7.922 kB / 0.6371 GB, free: 14.87 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.875e-06/0.1777, allocations: 0 / 0.6371 GB, free: 14.87 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.47e-05/0.1778, allocations: 91.31 kB / 0.6371 GB, free: 14.78 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1778, allocations: 0 / 0.6371 GB, free: 14.78 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002349/0.178, allocations: 19.98 kB / 0.6372 GB, free: 14.76 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.00016/0.1782, allocations: 107.2 kB / 0.6373 GB, free: 14.65 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001375/0.1783, allocations: 23.98 kB / 0.6373 GB, free: 14.62 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.1783, allocations: 0 / 0.6373 GB, free: 14.62 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.38e-05/0.1784, allocations: 16.05 kB / 0.6373 GB, free: 14.61 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002129/0.1786, allocations: 11.88 kB / 0.6373 GB, free: 14.6 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002781/0.1789, allocations: 122.6 kB / 0.6374 GB, free: 14.45 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002363/0.1791, allocations: 0.6768 MB / 0.6381 GB, free: 13.75 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.422e-05/0.1792, allocations: 4 kB / 0.6381 GB, free: 13.74 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.991e-05/0.1792, allocations: 11.42 kB / 0.6381 GB, free: 13.73 MB / 494.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1792, allocations: 0 / 0.6381 GB, free: 13.73 MB / 494.1 MB Notification: Performance of Templates: time 0.002839/0.182, allocations: 0.6728 MB / 0.6388 GB, free: 13.06 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)