Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset.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.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007459/0.007459, allocations: 100.1 kB / 15.87 MB, free: 5.867 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.001813/0.001813, allocations: 196.2 kB / 16.79 MB, free: 5.809 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.323/1.323, allocations: 222.9 MB / 240.5 MB, free: 4.539 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.9605/0.9605, allocations: 143 MB / 433.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001547/0.001547, allocations: 59.91 kB / 0.5141 GB, free: 12.12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1581/0.1597, allocations: 82.04 MB / 0.5943 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset): time 0.003248/0.163, allocations: 1.871 MB / 0.5961 GB, free: 8.172 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009269/0.1639, allocations: 0.5222 MB / 0.5966 GB, free: 7.645 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000126/0.1641, allocations: 7.938 kB / 0.5966 GB, free: 7.637 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001334/0.1642, allocations: 15.8 kB / 0.5966 GB, free: 7.621 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.74e-05/0.1643, allocations: 23.84 kB / 0.5966 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002097/0.1645, allocations: 63.83 kB / 0.5967 GB, free: 7.535 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002078/0.1647, allocations: 163.5 kB / 0.5969 GB, free: 7.375 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001318/0.1649, allocations: 49.62 kB / 0.5969 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.714e-05/0.165, allocations: 43.73 kB / 0.597 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.088e-05/0.165, allocations: 59.64 kB / 0.597 GB, free: 7.227 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.195e-05/0.1651, allocations: 8 kB / 0.597 GB, free: 7.219 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.187e-05/0.1651, allocations: 8 kB / 0.597 GB, free: 7.211 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.089e-05/0.1651, allocations: 23.91 kB / 0.597 GB, free: 7.188 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.899e-05/0.1652, allocations: 67.53 kB / 0.5971 GB, free: 7.121 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001127/0.1653, allocations: 96 kB / 0.5972 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.1653, allocations: 0 / 0.5972 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of FrontEnd: time 6.82e-07/0.1653, allocations: 0 / 0.5972 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.928e-06/0.1653, allocations: 0 / 0.5972 GB, free: 7.027 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0006835/0.166, allocations: 474.7 kB / 0.5977 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.1661, allocations: 12.03 kB / 0.5977 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.033e-05/0.1661, allocations: 16.75 kB / 0.5977 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002525/0.1664, allocations: 227.9 kB / 0.5979 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.1664, allocations: 8.375 kB / 0.5979 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.948e-05/0.1664, allocations: 12.38 kB / 0.5979 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002899/0.1667, allocations: 158.8 kB / 0.5981 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.1668, allocations: 0 / 0.5981 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.945e-05/0.1668, allocations: 11.98 kB / 0.5981 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.32e-05/0.1668, allocations: 4 kB / 0.5981 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002259/0.167, allocations: 63.89 kB / 0.5981 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008653/0.1679, allocations: 0.743 MB / 0.5989 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001436/0.1681, allocations: 54.55 kB / 0.5989 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001106/0.1682, allocations: 32.84 kB / 0.599 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.212e-05/0.1682, allocations: 160 / 0.599 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002801/0.1685, allocations: 134.6 kB / 0.5991 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=11): time 1.072e-06/0.1685, allocations: 0 / 0.5991 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.0004678/0.169, allocations: 157.4 kB / 0.5992 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.449e-05/0.1691, allocations: 136.5 kB / 0.5994 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000179/0.1692, allocations: 199.6 kB / 0.5996 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.149e-05/0.1693, allocations: 33.95 kB / 0.5996 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.332e-05/0.1694, allocations: 131.8 kB / 0.5997 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.113e-05/0.1694, allocations: 39.45 kB / 0.5998 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.475e-05/0.1695, allocations: 41.7 kB / 0.5998 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001064/0.1696, allocations: 330.8 kB / 0.6001 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001236/0.1697, allocations: 35.97 kB / 0.6001 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001794/0.1699, allocations: 146.5 kB / 0.6003 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003163/0.1702, allocations: 194.3 kB / 0.6005 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.183e-06/0.1702, allocations: 11.94 kB / 0.6005 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003959/0.1707, allocations: 205.7 kB / 0.6007 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.1707, allocations: 12.09 kB / 0.6007 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.1707, allocations: 4 kB / 0.6007 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.1707, allocations: 4 kB / 0.6007 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000126/0.1708, allocations: 35.92 kB / 0.6007 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/0.1709, allocations: 7.984 kB / 0.6007 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001437/0.171, allocations: 27.83 kB / 0.6008 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.204e-05/0.171, allocations: 12 kB / 0.6008 GB, free: 2.98 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 9 (sampleTrigger.y,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,$whenCondition3,intDef.trigger_internal,intNoReset.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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 0.0001047/0.1711, allocations: 140.2 kB / 0.6009 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.836e-05/0.1712, allocations: 15.81 kB / 0.6009 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.524e-05/0.1712, allocations: 21.62 kB / 0.6009 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.1712, allocations: 4 kB / 0.6009 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.1713, allocations: 0 / 0.6009 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.1713, allocations: 7.984 kB / 0.601 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007396/0.172, allocations: 0.5209 MB / 0.6015 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.053e-06/0.172, allocations: 0 / 0.6015 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001154/0.1721, allocations: 15.98 kB / 0.6015 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.1721, allocations: 0 / 0.6015 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.518e-05/0.1722, allocations: 8 kB / 0.6015 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.1722, allocations: 0 / 0.6015 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/0.1722, allocations: 11.92 kB / 0.6015 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004773/0.1727, allocations: 360.1 kB / 0.6018 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.119e-05/0.1727, allocations: 92.95 kB / 0.6019 GB, free: 1.684 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.776e-05/0.1728, allocations: 8 kB / 0.6019 GB, free: 1.676 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001713/0.1729, allocations: 11.98 kB / 0.6019 GB, free: 1.664 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.412e-05/0.173, allocations: 19.92 kB / 0.602 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.045e-05/0.173, allocations: 4 kB / 0.602 GB, free: 1.641 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001095/0.1731, allocations: 136.6 kB / 0.6021 GB, free: 1.508 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1731, allocations: 4 kB / 0.6021 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003273/0.1735, allocations: 27.98 kB / 0.6021 GB, free: 1.477 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (intWitRes2.y,intWitRes1.y,intNoReset.y,intDef.y) * Number of discrete variables: 6 (booleanPulse.y,$whenCondition3,$whenCondition1,booleanPulse.pulseStart,sampleTrigger.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001141/0.1736, allocations: 111.1 kB / 0.6022 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003196/0.1739, allocations: 111.8 kB / 0.6023 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.1739, allocations: 0 / 0.6023 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001497/0.1741, allocations: 55.91 kB / 0.6024 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005457/0.1746, allocations: 72.06 kB / 0.6025 GB, free: 1.129 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005887/0.1752, allocations: 424 kB / 0.6029 GB, free: 0.668 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2222/0.3975, allocations: 0.7165 MB / 0.6036 GB, free: 43.36 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.1e-05/0.3976, allocations: 21.69 kB / 0.6036 GB, free: 43.35 MB / 0.4981 GB Notification: Performance of SimCode: time 8.72e-07/0.3976, allocations: 1.438 kB / 0.6036 GB, free: 43.35 MB / 0.4981 GB Notification: Performance of Templates: time 0.003275/0.4009, allocations: 2.121 MB / 0.6057 GB, free: 43.33 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1)