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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001597/0.001597, allocations: 110.2 kB / 19.69 MB, free: 2.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001503/0.001503, allocations: 216.7 kB / 23.01 MB, free: 4.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.327/1.327, allocations: 230.6 MB / 256.8 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.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.7.0/package.mo): time 0.8455/0.8455, allocations: 145 MB / 458.2 MB, free: 15.52 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset") [Timeout 660] "Notification: BuildSysPro requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001982/0.001982, allocations: 66.58 kB / 0.6344 GB, free: 6.84 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.147/0.149, allocations: 87.89 MB / 0.7202 GB, free: 14.95 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset): time 0.00317/0.1521, allocations: 1.848 MB / 0.722 GB, free: 13.09 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001114/0.1532, allocations: 0.5889 MB / 0.7226 GB, free: 12.49 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001044/0.1533, allocations: 3.938 kB / 0.7226 GB, free: 12.49 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001469/0.1535, allocations: 35.66 kB / 0.7226 GB, free: 12.45 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.879e-05/0.1536, allocations: 31.73 kB / 0.7227 GB, free: 12.42 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002107/0.1538, allocations: 63.86 kB / 0.7227 GB, free: 12.36 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002451/0.154, allocations: 171.5 kB / 0.7229 GB, free: 12.19 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001294/0.1542, allocations: 37.78 kB / 0.7229 GB, free: 12.15 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 8.436e-05/0.1542, allocations: 47.8 kB / 0.723 GB, free: 12.11 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.513e-05/0.1543, allocations: 63.58 kB / 0.723 GB, free: 12.04 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.005e-05/0.1544, allocations: 15.98 kB / 0.7231 GB, free: 12.03 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.746e-05/0.1544, allocations: 8 kB / 0.7231 GB, free: 12.02 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.512e-05/0.1544, allocations: 35.84 kB / 0.7231 GB, free: 11.98 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.375e-05/0.1545, allocations: 63.61 kB / 0.7232 GB, free: 11.92 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001924/0.1547, allocations: 135.3 kB / 0.7233 GB, free: 11.79 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.1547, allocations: 4 kB / 0.7233 GB, free: 11.79 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.132e-06/0.1547, allocations: 0 / 0.7233 GB, free: 11.79 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.1547, allocations: 0 / 0.7233 GB, free: 11.79 MB / 0.545 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.0007079/0.1554, allocations: 423.2 kB / 0.7237 GB, free: 11.34 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.24e-05/0.1554, allocations: 8.031 kB / 0.7237 GB, free: 11.33 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.886e-05/0.1555, allocations: 32.72 kB / 0.7237 GB, free: 11.3 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002854/0.1558, allocations: 174.2 kB / 0.7239 GB, free: 11.1 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.874e-05/0.1558, allocations: 8.375 kB / 0.7239 GB, free: 11.09 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.624e-05/0.1558, allocations: 12.38 kB / 0.7239 GB, free: 11.08 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000284/0.1561, allocations: 156.8 kB / 0.7241 GB, free: 10.91 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.1561, allocations: 4 kB / 0.7241 GB, free: 10.91 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/0.1561, allocations: 4 kB / 0.7241 GB, free: 10.9 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.1561, allocations: 4 kB / 0.7241 GB, free: 10.9 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002186/0.1564, allocations: 67.88 kB / 0.7241 GB, free: 10.83 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009108/0.1573, allocations: 0.719 MB / 0.7248 GB, free: 10.05 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001421/0.1574, allocations: 46.55 kB / 0.7249 GB, free: 10 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001/0.1575, allocations: 32.84 kB / 0.7249 GB, free: 9.965 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.124e-05/0.1575, allocations: 0 / 0.7249 GB, free: 9.965 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002323/0.1578, allocations: 126.7 kB / 0.725 GB, free: 9.816 MB / 0.545 GB Notification: Performance of pre-optimization done (n=11): time 1.142e-06/0.1578, allocations: 0 / 0.725 GB, free: 9.816 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.0004603/0.1582, allocations: 177.3 kB / 0.7252 GB, free: 9.637 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.016e-05/0.1583, allocations: 132.5 kB / 0.7253 GB, free: 9.477 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001996/0.1585, allocations: 199.7 kB / 0.7255 GB, free: 9.273 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.182e-05/0.1585, allocations: 29.7 kB / 0.7256 GB, free: 9.238 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.758e-05/0.1586, allocations: 139.8 kB / 0.7257 GB, free: 9.098 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.278e-05/0.1587, allocations: 35.95 kB / 0.7257 GB, free: 9.062 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.199e-05/0.1587, allocations: 45.7 kB / 0.7258 GB, free: 9.012 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001447/0.1589, allocations: 326.8 kB / 0.7261 GB, free: 8.684 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001179/0.159, allocations: 39.97 kB / 0.7261 GB, free: 8.645 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001943/0.1592, allocations: 143.9 kB / 0.7263 GB, free: 8.453 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003168/0.1595, allocations: 206.3 kB / 0.7265 GB, free: 8.199 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.1595, allocations: 4 kB / 0.7265 GB, free: 8.195 MB / 0.545 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003966/0.1599, allocations: 205.2 kB / 0.7267 GB, free: 7.988 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.1599, allocations: 8 kB / 0.7267 GB, free: 7.98 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.1599, allocations: 4.5 kB / 0.7267 GB, free: 7.977 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.1599, allocations: 8 kB / 0.7267 GB, free: 7.969 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001239/0.1601, allocations: 35.91 kB / 0.7267 GB, free: 7.934 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.1601, allocations: 4 kB / 0.7267 GB, free: 7.93 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001361/0.1602, allocations: 27.88 kB / 0.7267 GB, free: 7.902 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.433e-05/0.1602, allocations: 12 kB / 0.7267 GB, free: 7.891 MB / 0.545 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.0001223/0.1603, allocations: 137.7 kB / 0.7269 GB, free: 7.746 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.089e-05/0.1604, allocations: 19.86 kB / 0.7269 GB, free: 7.727 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.609e-05/0.1604, allocations: 29.33 kB / 0.7269 GB, free: 7.691 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.1604, allocations: 4 kB / 0.7269 GB, free: 7.688 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.1604, allocations: 0 / 0.7269 GB, free: 7.688 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/0.1604, allocations: 4 kB / 0.7269 GB, free: 7.684 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007373/0.1612, allocations: 0.4888 MB / 0.7274 GB, free: 7.145 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.1612, allocations: 0 / 0.7274 GB, free: 7.145 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00011/0.1613, allocations: 19.98 kB / 0.7274 GB, free: 7.125 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.1613, allocations: 4 kB / 0.7274 GB, free: 7.121 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.1613, allocations: 0 / 0.7274 GB, free: 7.121 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.136e-05/0.1613, allocations: 11.92 kB / 0.7274 GB, free: 7.109 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.1613, allocations: 3.938 kB / 0.7274 GB, free: 7.105 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004819/0.1618, allocations: 356.3 kB / 0.7278 GB, free: 6.734 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.123e-05/0.1618, allocations: 19.94 kB / 0.7278 GB, free: 6.715 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.269e-05/0.1618, allocations: 0 / 0.7278 GB, free: 6.715 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001603/0.162, allocations: 15.98 kB / 0.7278 GB, free: 6.699 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.346e-05/0.1621, allocations: 15.86 kB / 0.7278 GB, free: 6.684 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.232e-05/0.1621, allocations: 11.98 kB / 0.7278 GB, free: 6.672 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001272/0.1622, allocations: 143.2 kB / 0.728 GB, free: 6.531 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.1622, allocations: 0 / 0.728 GB, free: 6.531 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003142/0.1625, allocations: 27.95 kB / 0.728 GB, free: 6.504 MB / 0.545 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.0001239/0.1626, allocations: 107.1 kB / 0.7281 GB, free: 6.391 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000302/0.1629, allocations: 112.6 kB / 0.7282 GB, free: 6.281 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1629, allocations: 0 / 0.7282 GB, free: 6.281 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000139/0.1631, allocations: 51.97 kB / 0.7283 GB, free: 6.23 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005274/0.1636, allocations: 72.14 kB / 0.7283 GB, free: 6.164 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006108/0.1642, allocations: 378.8 kB / 0.7287 GB, free: 5.754 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003516/0.1646, allocations: 0.7242 MB / 0.7294 GB, free: 5.004 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.485e-05/0.1646, allocations: 19.44 kB / 0.7294 GB, free: 4.984 MB / 0.545 GB Notification: Performance of SimCode: time 4e-07/0.1646, allocations: 0 / 0.7294 GB, free: 4.984 MB / 0.545 GB Notification: Performance of Templates: time 0.004097/0.1687, allocations: 2.149 MB / 0.7315 GB, free: 2.848 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.431614757981151] Failed to read output from testmodel.py, exit status != 0: 0.1768396741244942 0.190267383 0.03274098 Calling exit ...