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.001703/0.001702, allocations: 113.3 kB / 17.08 MB, free: 5.828 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.002975/0.002975, allocations: 198.9 kB / 18.02 MB, free: 4.934 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.368/1.368, allocations: 222.9 MB / 241.7 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.7429/0.7429, allocations: 115.3 MB / 407.2 MB, free: 6.164 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 66.33 kB / 0.5584 GB, free: 32.27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1558/0.1571, allocations: 76.17 MB / 0.6327 GB, free: 4.398 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothLimit): time 0.002883/0.16, allocations: 1.454 MB / 0.6342 GB, free: 2.934 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.00107/0.1611, allocations: 0.5618 MB / 0.6347 GB, free: 2.363 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.054e-05/0.1612, allocations: 0 / 0.6347 GB, free: 2.363 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 3.379e-05/0.1613, allocations: 7.938 kB / 0.6347 GB, free: 2.355 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 5.278e-05/0.1613, allocations: 7.922 kB / 0.6347 GB, free: 2.348 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003314/0.1617, allocations: 51.83 kB / 0.6348 GB, free: 2.297 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 8.024e-05/0.1618, allocations: 27.92 kB / 0.6348 GB, free: 2.27 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.1619, allocations: 7.984 kB / 0.6348 GB, free: 2.262 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001029/0.162, allocations: 15.92 kB / 0.6348 GB, free: 2.246 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.143e-05/0.1621, allocations: 15.92 kB / 0.6348 GB, free: 2.23 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.485e-05/0.1621, allocations: 8 kB / 0.6348 GB, free: 2.223 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001401/0.1622, allocations: 47.97 kB / 0.6349 GB, free: 2.176 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.743e-05/0.1622, allocations: 7.969 kB / 0.6349 GB, free: 2.168 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 3.987e-05/0.1623, allocations: 15.88 kB / 0.6349 GB, free: 2.152 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001732/0.1625, allocations: 59.86 kB / 0.635 GB, free: 2.094 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.1625, allocations: 0 / 0.635 GB, free: 2.094 MB / 478.1 MB Notification: Performance of FrontEnd: time 4.128e-06/0.1625, allocations: 0 / 0.635 GB, free: 2.094 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.631e-06/0.1625, allocations: 3.938 kB / 0.635 GB, free: 2.09 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.0004796/0.163, allocations: 351.4 kB / 0.6353 GB, free: 1.699 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.163, allocations: 12.03 kB / 0.6353 GB, free: 1.688 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.282e-05/0.1631, allocations: 8.844 kB / 0.6353 GB, free: 1.68 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001347/0.1632, allocations: 168.3 kB / 0.6355 GB, free: 1.477 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.1633, allocations: 384 / 0.6355 GB, free: 1.477 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.043e-05/0.1633, allocations: 4.375 kB / 0.6355 GB, free: 1.473 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001583/0.1634, allocations: 49.98 kB / 0.6355 GB, free: 1.418 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.086e-06/0.1635, allocations: 0 / 0.6355 GB, free: 1.418 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-06/0.1635, allocations: 0 / 0.6355 GB, free: 1.418 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.1635, allocations: 0 / 0.6355 GB, free: 1.418 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.481e-05/0.1636, allocations: 19.98 kB / 0.6356 GB, free: 1.398 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003781/0.164, allocations: 260.8 kB / 0.6358 GB, free: 1.094 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.052e-05/0.1641, allocations: 30.56 kB / 0.6358 GB, free: 1.055 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.314e-05/0.1641, allocations: 20.91 kB / 0.6359 GB, free: 1.031 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008221/0.165, allocations: 469.4 kB / 0.6363 GB, free: 492 kB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.531e-05/0.165, allocations: 34.56 kB / 0.6363 GB, free: 448 kB / 478.1 MB Notification: Performance of pre-optimization done (n=2): time 1.193e-06/0.165, allocations: 0 / 0.6363 GB, free: 448 kB / 478.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002497/0.1653, allocations: 65.61 kB / 0.6364 GB, free: 376 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.467e-05/0.1653, allocations: 59.41 kB / 0.6365 GB, free: 304 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.721e-05/0.1654, allocations: 113.8 kB / 0.6366 GB, free: 180 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.455e-05/0.1654, allocations: 25.7 kB / 0.6366 GB, free: 148 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.792e-05/0.1655, allocations: 88.12 kB / 0.6367 GB, free: 56 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.768e-05/0.1655, allocations: 3.906 kB / 0.6367 GB, free: 52 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.297e-05/0.1655, allocations: 17.72 kB / 0.6367 GB, free: 28 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001386/0.1657, allocations: 310.8 kB / 0.637 GB, free: 15.71 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.66e-05/0.1657, allocations: 15.98 kB / 0.637 GB, free: 15.7 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.304e-05/0.1658, allocations: 8 kB / 0.637 GB, free: 15.69 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.443e-05/0.1659, allocations: 28.78 kB / 0.637 GB, free: 15.66 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.1659, allocations: 0 / 0.637 GB, free: 15.66 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001203/0.166, allocations: 61.61 kB / 0.6371 GB, free: 15.59 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.166, allocations: 4 kB / 0.6371 GB, free: 15.59 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.166, allocations: 0 / 0.6371 GB, free: 15.59 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.166, allocations: 0 / 0.6371 GB, free: 15.59 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.481e-05/0.1661, allocations: 12.09 kB / 0.6371 GB, free: 15.58 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.1661, allocations: 0 / 0.6371 GB, free: 15.58 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.648e-05/0.1662, allocations: 11.89 kB / 0.6371 GB, free: 15.57 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.99e-06/0.1662, allocations: 0 / 0.6371 GB, free: 15.57 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 8.137e-05/0.1663, allocations: 113.3 kB / 0.6372 GB, free: 15.45 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.442e-05/0.1663, allocations: 4 kB / 0.6372 GB, free: 15.45 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00017/0.1665, allocations: 69.14 kB / 0.6373 GB, free: 15.37 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.1665, allocations: 0 / 0.6373 GB, free: 15.37 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.1665, allocations: 4.031 kB / 0.6373 GB, free: 15.36 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.1665, allocations: 0 / 0.6373 GB, free: 15.36 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001651/0.1667, allocations: 169.6 kB / 0.6375 GB, free: 15.15 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1667, allocations: 0 / 0.6375 GB, free: 15.15 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.485e-05/0.1667, allocations: 4 kB / 0.6375 GB, free: 15.14 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.1668, allocations: 0 / 0.6375 GB, free: 15.14 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.356e-06/0.1668, allocations: 3.984 kB / 0.6375 GB, free: 15.14 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.1668, allocations: 4 kB / 0.6375 GB, free: 15.14 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1668, allocations: 0 / 0.6375 GB, free: 15.14 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001675/0.1669, allocations: 155.5 kB / 0.6376 GB, free: 14.97 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.819e-05/0.167, allocations: 81.02 kB / 0.6377 GB, free: 14.87 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.594e-05/0.167, allocations: 4 kB / 0.6377 GB, free: 14.87 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.92e-05/0.1671, allocations: 3.938 kB / 0.6377 GB, free: 14.86 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.999e-05/0.1671, allocations: 7.922 kB / 0.6377 GB, free: 14.86 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.1671, allocations: 4 kB / 0.6377 GB, free: 14.85 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.105e-05/0.1672, allocations: 87.58 kB / 0.6378 GB, free: 14.77 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1672, allocations: 4.031 kB / 0.6378 GB, free: 14.76 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002383/0.1674, allocations: 19.98 kB / 0.6378 GB, free: 14.74 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.0001726/0.1676, allocations: 107.2 kB / 0.6379 GB, free: 14.63 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001418/0.1678, allocations: 27.92 kB / 0.638 GB, free: 14.6 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1678, allocations: 0 / 0.638 GB, free: 14.6 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.847e-05/0.1678, allocations: 11.98 kB / 0.638 GB, free: 14.59 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002118/0.1681, allocations: 3.938 kB / 0.638 GB, free: 14.59 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003075/0.1684, allocations: 152.5 kB / 0.6381 GB, free: 14.4 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002645/0.1687, allocations: 0.6807 MB / 0.6388 GB, free: 13.7 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.341e-05/0.1687, allocations: 7.438 kB / 0.6388 GB, free: 13.69 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1687, allocations: 0 / 0.6388 GB, free: 13.69 MB / 494.1 MB Notification: Performance of Templates: time 0.002318/0.171, allocations: 0.81 MB / 0.6396 GB, free: 12.88 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)