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.001085/0.001085, allocations: 105.8 kB / 15.99 MB, free: 5.891 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.001099/0.001099, allocations: 193.2 kB / 16.91 MB, free: 5.746 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.337/1.337, allocations: 222.9 MB / 240.6 MB, free: 4.535 MB / 190.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.9746/0.9746, allocations: 143 MB / 433.8 MB, free: 11.49 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 64.09 kB / 0.5143 GB, free: 11.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.153/0.1542, allocations: 82.04 MB / 0.5944 GB, free: 9.891 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit): time 0.002627/0.1568, allocations: 1.517 MB / 0.5959 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008771/0.1577, allocations: 0.5502 MB / 0.5965 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.259e-05/0.1578, allocations: 0 / 0.5965 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.775e-05/0.1578, allocations: 7.922 kB / 0.5965 GB, free: 7.789 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.166e-05/0.1579, allocations: 4 kB / 0.5965 GB, free: 7.785 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002578/0.1582, allocations: 47.91 kB / 0.5965 GB, free: 7.738 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.905e-05/0.1582, allocations: 23.92 kB / 0.5965 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.162e-05/0.1583, allocations: 4 kB / 0.5966 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.271e-05/0.1584, allocations: 23.86 kB / 0.5966 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.684e-05/0.1585, allocations: 19.84 kB / 0.5966 GB, free: 7.668 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.05e-05/0.1585, allocations: 0 / 0.5966 GB, free: 7.668 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001144/0.1586, allocations: 51.97 kB / 0.5966 GB, free: 7.617 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.17e-05/0.1586, allocations: 3.984 kB / 0.5966 GB, free: 7.613 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.334e-05/0.1586, allocations: 19.88 kB / 0.5967 GB, free: 7.594 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001016/0.1587, allocations: 39.94 kB / 0.5967 GB, free: 7.555 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.1588, allocations: 4 kB / 0.5967 GB, free: 7.551 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.492e-06/0.1588, allocations: 0 / 0.5967 GB, free: 7.551 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.1588, allocations: 0 / 0.5967 GB, free: 7.551 MB / 0.4981 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.0003995/0.1592, allocations: 351.7 kB / 0.597 GB, free: 7.16 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.302e-05/0.1592, allocations: 8.031 kB / 0.5971 GB, free: 7.152 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.764e-05/0.1593, allocations: 8.844 kB / 0.5971 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001238/0.1594, allocations: 168.3 kB / 0.5972 GB, free: 6.941 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.1594, allocations: 4.375 kB / 0.5972 GB, free: 6.938 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.315e-05/0.1594, allocations: 4.375 kB / 0.5972 GB, free: 6.934 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001396/0.1596, allocations: 49.94 kB / 0.5973 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.645e-06/0.1596, allocations: 0 / 0.5973 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.667e-06/0.1596, allocations: 0 / 0.5973 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.1596, allocations: 0 / 0.5973 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.491e-05/0.1597, allocations: 19.98 kB / 0.5973 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003143/0.16, allocations: 260.8 kB / 0.5975 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.679e-05/0.1601, allocations: 30.58 kB / 0.5976 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.494e-05/0.1602, allocations: 12.91 kB / 0.5976 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008113/0.161, allocations: 489.3 kB / 0.5981 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.582e-05/0.161, allocations: 34.56 kB / 0.5981 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 2.445e-06/0.161, allocations: 0 / 0.5981 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0002342/0.1613, allocations: 65.61 kB / 0.5981 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.974e-05/0.1613, allocations: 51.41 kB / 0.5982 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.651e-05/0.1614, allocations: 109.8 kB / 0.5983 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/0.1614, allocations: 33.83 kB / 0.5983 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.183e-05/0.1615, allocations: 84.14 kB / 0.5984 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.559e-05/0.1615, allocations: 3.906 kB / 0.5984 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.077e-05/0.1615, allocations: 13.72 kB / 0.5984 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001021/0.1616, allocations: 318.8 kB / 0.5987 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.466e-05/0.1617, allocations: 8 kB / 0.5987 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.306e-05/0.1617, allocations: 11.92 kB / 0.5988 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.241e-05/0.1618, allocations: 40.84 kB / 0.5988 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1618, allocations: 0 / 0.5988 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001132/0.1619, allocations: 53.59 kB / 0.5988 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.162, allocations: 8 kB / 0.5989 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.162, allocations: 0 / 0.5989 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.162, allocations: 0 / 0.5989 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.987e-05/0.1621, allocations: 11.92 kB / 0.5989 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.1621, allocations: 0 / 0.5989 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.619e-05/0.1621, allocations: 8.031 kB / 0.5989 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-06/0.1621, allocations: 0 / 0.5989 GB, free: 5.02 MB / 0.4981 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.496e-05/0.1622, allocations: 113.7 kB / 0.599 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.649e-05/0.1622, allocations: 8 kB / 0.599 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001553/0.1624, allocations: 57.2 kB / 0.599 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.1624, allocations: 3.984 kB / 0.599 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.1624, allocations: 0 / 0.599 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.1624, allocations: 0 / 0.599 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001511/0.1626, allocations: 173.6 kB / 0.5992 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.1626, allocations: 0 / 0.5992 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.29e-05/0.1626, allocations: 4 kB / 0.5992 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.1627, allocations: 0 / 0.5992 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.1627, allocations: 3.984 kB / 0.5992 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.1627, allocations: 0 / 0.5992 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1627, allocations: 0 / 0.5992 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001535/0.1628, allocations: 159.3 kB / 0.5994 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.941e-05/0.1629, allocations: 77.11 kB / 0.5994 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.346e-05/0.1629, allocations: 0 / 0.5994 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.566e-05/0.163, allocations: 15.92 kB / 0.5995 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.783e-05/0.163, allocations: 0 / 0.5995 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/0.163, allocations: 0 / 0.5995 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.323e-05/0.1631, allocations: 91.56 kB / 0.5995 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2e-07/0.1631, allocations: 0 / 0.5995 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000238/0.1633, allocations: 20 kB / 0.5996 GB, free: 4.203 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 (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.0001767/0.1635, allocations: 115.3 kB / 0.5997 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001377/0.1636, allocations: 27.92 kB / 0.5997 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1636, allocations: 0 / 0.5997 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.524e-05/0.1637, allocations: 12 kB / 0.5997 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002146/0.1639, allocations: 7.922 kB / 0.5997 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002856/0.1642, allocations: 164.3 kB / 0.5999 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002175/0.1644, allocations: 0.6807 MB / 0.6005 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.289e-05/0.1645, allocations: 7.438 kB / 0.6005 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of SimCode: time 2.6e-07/0.1645, allocations: 0 / 0.6005 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of Templates: time 0.002149/0.1666, allocations: 0.8336 MB / 0.6014 GB, free: 2.297 MB / 0.4981 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)