Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.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.001436/0.001436, allocations: 100.2 kB / 16.41 MB, free: 6.008 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.00111/0.00111, allocations: 189.8 kB / 17.34 MB, free: 5.629 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.349/1.349, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8991/0.8991, allocations: 143.1 MB / 434.3 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 64.09 kB / 0.5962 GB, free: 12.34 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1539/0.1551, allocations: 82.03 MB / 0.6763 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit): time 0.002657/0.1578, allocations: 1.468 MB / 0.6777 GB, free: 8.918 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0009957/0.1588, allocations: 0.5579 MB / 0.6783 GB, free: 8.352 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.359e-05/0.1588, allocations: 3.938 kB / 0.6783 GB, free: 8.348 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.673e-05/0.1589, allocations: 0 / 0.6783 GB, free: 8.348 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.664e-05/0.159, allocations: 7.922 kB / 0.6783 GB, free: 8.34 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003151/0.1593, allocations: 43.84 kB / 0.6783 GB, free: 8.297 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 7.825e-05/0.1594, allocations: 35.91 kB / 0.6784 GB, free: 8.262 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 9.743e-05/0.1595, allocations: 4 kB / 0.6784 GB, free: 8.258 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 9.892e-05/0.1596, allocations: 19.86 kB / 0.6784 GB, free: 8.238 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 7.153e-05/0.1597, allocations: 15.92 kB / 0.6784 GB, free: 8.223 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.412e-05/0.1597, allocations: 4 kB / 0.6784 GB, free: 8.219 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001254/0.1598, allocations: 59.94 kB / 0.6785 GB, free: 8.16 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.419e-05/0.1598, allocations: 4 kB / 0.6785 GB, free: 8.156 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.195e-05/0.1599, allocations: 7.938 kB / 0.6785 GB, free: 8.148 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001362/0.16, allocations: 67.8 kB / 0.6785 GB, free: 8.082 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.16, allocations: 0 / 0.6785 GB, free: 8.082 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.152e-06/0.16, allocations: 0 / 0.6785 GB, free: 8.082 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.16, allocations: 0 / 0.6785 GB, free: 8.082 MB / 0.5137 GB 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.0003957/0.1604, allocations: 351.4 kB / 0.6789 GB, free: 7.691 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.416e-05/0.1605, allocations: 8.031 kB / 0.6789 GB, free: 7.684 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.254e-05/0.1605, allocations: 8.844 kB / 0.6789 GB, free: 7.676 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001113/0.1606, allocations: 172.3 kB / 0.6791 GB, free: 7.469 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.1606, allocations: 384 / 0.6791 GB, free: 7.469 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.163e-05/0.1607, allocations: 4.375 kB / 0.6791 GB, free: 7.465 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001277/0.1608, allocations: 53.94 kB / 0.6791 GB, free: 7.406 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.1608, allocations: 0 / 0.6791 GB, free: 7.406 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.737e-06/0.1608, allocations: 0 / 0.6791 GB, free: 7.406 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.1608, allocations: 0 / 0.6791 GB, free: 7.406 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.876e-05/0.1609, allocations: 19.98 kB / 0.6791 GB, free: 7.387 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003046/0.1612, allocations: 252.9 kB / 0.6794 GB, free: 7.09 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 8.546e-05/0.1613, allocations: 30.58 kB / 0.6794 GB, free: 7.051 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.47e-05/0.1614, allocations: 24.84 kB / 0.6794 GB, free: 7.023 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007854/0.1622, allocations: 473.4 kB / 0.6799 GB, free: 6.469 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.397e-05/0.1622, allocations: 38.56 kB / 0.6799 GB, free: 6.422 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 1.363e-06/0.1622, allocations: 4 kB / 0.6799 GB, free: 6.418 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0002283/0.1625, allocations: 61.58 kB / 0.68 GB, free: 6.352 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/0.1625, allocations: 55.34 kB / 0.68 GB, free: 6.285 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.511e-05/0.1626, allocations: 113.8 kB / 0.6801 GB, free: 6.164 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.185e-05/0.1626, allocations: 29.7 kB / 0.6802 GB, free: 6.129 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.01e-05/0.1627, allocations: 80.14 kB / 0.6802 GB, free: 6.047 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.876e-05/0.1627, allocations: 12.03 kB / 0.6803 GB, free: 6.035 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.184e-05/0.1627, allocations: 13.72 kB / 0.6803 GB, free: 6.016 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.1629, allocations: 318.8 kB / 0.6806 GB, free: 5.695 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.367e-05/0.1629, allocations: 12 kB / 0.6806 GB, free: 5.684 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.241e-05/0.1629, allocations: 7.984 kB / 0.6806 GB, free: 5.676 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.42e-05/0.163, allocations: 32.78 kB / 0.6806 GB, free: 5.641 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.163, allocations: 8 kB / 0.6806 GB, free: 5.633 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001192/0.1632, allocations: 49.69 kB / 0.6807 GB, free: 5.578 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.1632, allocations: 8 kB / 0.6807 GB, free: 5.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.1632, allocations: 0 / 0.6807 GB, free: 5.57 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.1632, allocations: 0 / 0.6807 GB, free: 5.57 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.048e-05/0.1633, allocations: 7.984 kB / 0.6807 GB, free: 5.562 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.1633, allocations: 3.938 kB / 0.6807 GB, free: 5.559 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.279e-05/0.1633, allocations: 4 kB / 0.6807 GB, free: 5.555 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.04e-06/0.1633, allocations: 0 / 0.6807 GB, free: 5.555 MB / 0.5137 GB 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.069e-05/0.1634, allocations: 114.5 kB / 0.6808 GB, free: 5.434 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.659e-05/0.1635, allocations: 7.906 kB / 0.6808 GB, free: 5.426 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001722/0.1636, allocations: 61.2 kB / 0.6809 GB, free: 5.359 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.1636, allocations: 0 / 0.6809 GB, free: 5.359 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.1636, allocations: 0 / 0.6809 GB, free: 5.359 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.1637, allocations: 0 / 0.6809 GB, free: 5.359 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001493/0.1638, allocations: 165.6 kB / 0.681 GB, free: 5.148 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.1638, allocations: 0 / 0.681 GB, free: 5.148 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.092e-05/0.1639, allocations: 8.031 kB / 0.681 GB, free: 5.141 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.1639, allocations: 0 / 0.681 GB, free: 5.141 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.612e-05/0.1639, allocations: 7.984 kB / 0.6811 GB, free: 5.133 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.1639, allocations: 4 kB / 0.6811 GB, free: 5.129 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.1639, allocations: 3.938 kB / 0.6811 GB, free: 5.125 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001375/0.164, allocations: 143.5 kB / 0.6812 GB, free: 4.969 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.963e-05/0.1641, allocations: 81.02 kB / 0.6813 GB, free: 4.871 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.63e-05/0.1641, allocations: 16 kB / 0.6813 GB, free: 4.855 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.758e-05/0.1642, allocations: 0 / 0.6813 GB, free: 4.855 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.868e-05/0.1642, allocations: 4 kB / 0.6813 GB, free: 4.852 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.879e-06/0.1642, allocations: 4 kB / 0.6813 GB, free: 4.848 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.615e-05/0.1643, allocations: 83.27 kB / 0.6814 GB, free: 4.766 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1643, allocations: 0 / 0.6814 GB, free: 4.766 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002292/0.1645, allocations: 20 kB / 0.6814 GB, free: 4.746 MB / 0.5137 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 (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.0001593/0.1647, allocations: 111.2 kB / 0.6815 GB, free: 4.629 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001294/0.1648, allocations: 39.8 kB / 0.6815 GB, free: 4.59 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.1648, allocations: 0 / 0.6815 GB, free: 4.59 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 4.986e-05/0.1649, allocations: 8 kB / 0.6815 GB, free: 4.582 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002017/0.1651, allocations: 16.98 kB / 0.6816 GB, free: 4.57 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000288/0.1654, allocations: 152.2 kB / 0.6817 GB, free: 4.391 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002386/0.1656, allocations: 0.6808 MB / 0.6824 GB, free: 3.684 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.149e-05/0.1656, allocations: 11.44 kB / 0.6824 GB, free: 3.672 MB / 0.5137 GB Notification: Performance of SimCode: time 2.1e-07/0.1657, allocations: 0 / 0.6824 GB, free: 3.672 MB / 0.5137 GB Notification: Performance of Templates: time 0.00217/0.1678, allocations: 0.848 MB / 0.6832 GB, free: 2.82 MB / 0.5137 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)