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.001188/0.001189, allocations: 107.3 kB / 16.41 MB, free: 6.406 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.001199/0.001199, allocations: 191.4 kB / 17.34 MB, free: 5.695 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.393/1.393, allocations: 222.9 MB / 241 MB, free: 15.07 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.8514/0.8514, allocations: 143.1 MB / 434.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 63.77 kB / 0.5962 GB, free: 12.27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1503/0.1515, allocations: 82.03 MB / 0.6763 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset): time 0.003285/0.1548, allocations: 1.831 MB / 0.6781 GB, free: 8.488 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001155/0.156, allocations: 0.5338 MB / 0.6786 GB, free: 7.949 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001595/0.1562, allocations: 0 / 0.6786 GB, free: 7.949 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001763/0.1564, allocations: 35.66 kB / 0.6787 GB, free: 7.914 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001076/0.1565, allocations: 19.73 kB / 0.6787 GB, free: 7.895 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002462/0.1568, allocations: 71.92 kB / 0.6787 GB, free: 7.824 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002674/0.157, allocations: 171.5 kB / 0.6789 GB, free: 7.656 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001563/0.1572, allocations: 45.66 kB / 0.6789 GB, free: 7.613 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001016/0.1573, allocations: 51.72 kB / 0.679 GB, free: 7.562 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 8.919e-05/0.1574, allocations: 63.64 kB / 0.6791 GB, free: 7.5 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.862e-05/0.1574, allocations: 8 kB / 0.6791 GB, free: 7.492 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 2.197e-05/0.1575, allocations: 16 kB / 0.6791 GB, free: 7.477 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 3.494e-05/0.1575, allocations: 35.83 kB / 0.6791 GB, free: 7.441 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 7.133e-05/0.1576, allocations: 63.61 kB / 0.6792 GB, free: 7.379 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.000194/0.1578, allocations: 131.4 kB / 0.6793 GB, free: 7.25 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.1578, allocations: 0 / 0.6793 GB, free: 7.25 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.523e-06/0.1578, allocations: 0 / 0.6793 GB, free: 7.25 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.323e-06/0.1578, allocations: 0 / 0.6793 GB, free: 7.25 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0007789/0.1586, allocations: 482.6 kB / 0.6798 GB, free: 6.73 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.1586, allocations: 8.031 kB / 0.6798 GB, free: 6.723 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.691e-05/0.1587, allocations: 16.75 kB / 0.6798 GB, free: 6.707 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000374/0.1591, allocations: 239.8 kB / 0.68 GB, free: 6.434 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.879e-05/0.1591, allocations: 8.375 kB / 0.68 GB, free: 6.426 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.711e-05/0.1592, allocations: 20.31 kB / 0.68 GB, free: 6.406 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003184/0.1595, allocations: 151 kB / 0.6802 GB, free: 6.238 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.1595, allocations: 4 kB / 0.6802 GB, free: 6.234 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.465e-05/0.1595, allocations: 0 / 0.6802 GB, free: 6.234 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.1595, allocations: 4 kB / 0.6802 GB, free: 6.23 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002383/0.1598, allocations: 71.88 kB / 0.6803 GB, free: 6.16 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009998/0.1608, allocations: 0.7392 MB / 0.681 GB, free: 5.355 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001491/0.161, allocations: 54.5 kB / 0.681 GB, free: 5.293 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001083/0.1611, allocations: 32.83 kB / 0.6811 GB, free: 5.258 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.2e-05/0.1611, allocations: 3.938 kB / 0.6811 GB, free: 5.254 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002432/0.1614, allocations: 126.7 kB / 0.6812 GB, free: 5.105 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=11): time 2.946e-06/0.1614, allocations: 3.984 kB / 0.6812 GB, free: 5.102 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11): time 0.0005097/0.1619, allocations: 165.3 kB / 0.6814 GB, free: 4.934 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.837e-05/0.162, allocations: 136.5 kB / 0.6815 GB, free: 4.77 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002079/0.1622, allocations: 195 kB / 0.6817 GB, free: 4.566 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.6e-05/0.1622, allocations: 33.95 kB / 0.6817 GB, free: 4.527 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 9.727e-05/0.1623, allocations: 131.8 kB / 0.6818 GB, free: 4.395 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.814e-05/0.1624, allocations: 39.73 kB / 0.6819 GB, free: 4.355 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.279e-05/0.1624, allocations: 41.7 kB / 0.6819 GB, free: 4.309 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001409/0.1626, allocations: 330.8 kB / 0.6822 GB, free: 3.977 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001287/0.1627, allocations: 35.97 kB / 0.6823 GB, free: 3.941 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001932/0.1629, allocations: 150.4 kB / 0.6824 GB, free: 3.742 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000324/0.1633, allocations: 198.3 kB / 0.6826 GB, free: 3.496 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.1633, allocations: 8 kB / 0.6826 GB, free: 3.488 MB / 0.5137 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004145/0.1637, allocations: 205.5 kB / 0.6828 GB, free: 3.281 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.1637, allocations: 12.09 kB / 0.6828 GB, free: 3.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.1637, allocations: 4 kB / 0.6828 GB, free: 3.266 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.873e-05/0.1638, allocations: 7.938 kB / 0.6828 GB, free: 3.258 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001268/0.1639, allocations: 31.92 kB / 0.6828 GB, free: 3.227 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.1639, allocations: 4 kB / 0.6828 GB, free: 3.223 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001482/0.1641, allocations: 27.83 kB / 0.6829 GB, free: 3.195 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.381e-05/0.1641, allocations: 8 kB / 0.6829 GB, free: 3.188 MB / 0.5137 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.0001323/0.1642, allocations: 151.5 kB / 0.683 GB, free: 3.031 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.303e-05/0.1643, allocations: 15.81 kB / 0.683 GB, free: 3.016 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.79e-05/0.1643, allocations: 21.39 kB / 0.6831 GB, free: 2.992 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.628e-06/0.1643, allocations: 4 kB / 0.6831 GB, free: 2.988 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.1643, allocations: 0 / 0.6831 GB, free: 2.988 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.1643, allocations: 0 / 0.6831 GB, free: 2.988 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007749/0.1651, allocations: 0.5135 MB / 0.6836 GB, free: 2.418 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.1651, allocations: 7.938 kB / 0.6836 GB, free: 2.41 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001165/0.1653, allocations: 15.98 kB / 0.6836 GB, free: 2.395 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.045e-06/0.1653, allocations: 0 / 0.6836 GB, free: 2.395 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.857e-05/0.1653, allocations: 8 kB / 0.6836 GB, free: 2.387 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.1653, allocations: 0 / 0.6836 GB, free: 2.387 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.1653, allocations: 7.938 kB / 0.6836 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000528/0.1658, allocations: 360.2 kB / 0.6839 GB, free: 2.004 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.427e-05/0.1659, allocations: 88.92 kB / 0.684 GB, free: 1.898 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.91e-05/0.166, allocations: 8.031 kB / 0.684 GB, free: 1.891 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001817/0.1661, allocations: 15.98 kB / 0.6841 GB, free: 1.875 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.423e-05/0.1662, allocations: 15.92 kB / 0.6841 GB, free: 1.859 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.103e-05/0.1662, allocations: 8 kB / 0.6841 GB, free: 1.852 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001063/0.1663, allocations: 140.5 kB / 0.6842 GB, free: 1.715 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1663, allocations: 0 / 0.6842 GB, free: 1.715 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003402/0.1667, allocations: 35.84 kB / 0.6842 GB, free: 1.68 MB / 0.5137 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.0001434/0.1668, allocations: 111.5 kB / 0.6844 GB, free: 1.562 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003428/0.1672, allocations: 111.8 kB / 0.6845 GB, free: 1.453 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.1672, allocations: 0 / 0.6845 GB, free: 1.453 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001656/0.1674, allocations: 55.91 kB / 0.6845 GB, free: 1.398 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005812/0.168, allocations: 73.95 kB / 0.6846 GB, free: 1.332 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006779/0.1686, allocations: 378.3 kB / 0.6849 GB, free: 0.9219 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003344/0.169, allocations: 0.7242 MB / 0.6857 GB, free: 176 kB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.072e-05/0.1691, allocations: 23.44 kB / 0.6857 GB, free: 152 kB / 0.5137 GB Notification: Performance of SimCode: time 3.1e-07/0.1691, allocations: 0 / 0.6857 GB, free: 152 kB / 0.5137 GB Notification: Performance of Templates: time 0.004876/0.1739, allocations: 2.151 MB / 0.6878 GB, free: 14.01 MB / 0.5294 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)