Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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.000713/0.000713, allocations: 85.05 kB / 9.985 MB, free: 0.7031 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001528/0.002241, allocations: 452 kB / 10.43 MB, free: 268 kB / 10.45 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.001005/0.001005, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001406/0.00241, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 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 0.9962/0.9962, allocations: 177.2 MB / 189.7 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08432/1.081, allocations: 53.68 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7031/0.7031, allocations: 120.1 MB / 364.2 MB, free: 2.547 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07716/0.7803, allocations: 38.15 MB / 402.4 MB, free: 12.28 MB / 394.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset") translateModel(IBPSA.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 403.7 MB, free: 10.94 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.852e-05/1.987e-05, allocations: 6.25 kB / 403.7 MB, free: 10.93 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.IntegratorWithReset): time 0.002711/0.002731, allocations: 1.892 MB / 405.6 MB, free: 9.023 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007926/0.003523, allocations: 0.5804 MB / 406.2 MB, free: 8.438 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.747e-05/0.003601, allocations: 3.938 kB / 406.2 MB, free: 8.434 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 8.356e-05/0.003684, allocations: 27.67 kB / 406.2 MB, free: 8.406 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 5.562e-05/0.00374, allocations: 27.73 kB / 406.3 MB, free: 8.379 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001392/0.003879, allocations: 75.78 kB / 406.3 MB, free: 8.305 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001985/0.004078, allocations: 167.4 kB / 406.5 MB, free: 8.141 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001272/0.004205, allocations: 34.44 kB / 406.5 MB, free: 8.105 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001589/0.004364, allocations: 95.77 kB / 406.6 MB, free: 8.012 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.871e-05/0.004443, allocations: 39.83 kB / 406.7 MB, free: 7.973 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 3.14e-05/0.004474, allocations: 12 kB / 406.7 MB, free: 7.961 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.79e-05/0.004492, allocations: 8 kB / 406.7 MB, free: 7.953 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 3.202e-05/0.004524, allocations: 19.94 kB / 406.7 MB, free: 7.934 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 3.838e-05/0.004562, allocations: 35.81 kB / 406.7 MB, free: 7.898 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000137/0.004699, allocations: 91.59 kB / 406.8 MB, free: 7.809 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.105e-05/0.00471, allocations: 0 / 406.8 MB, free: 7.809 MB / 394.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.004711, allocations: 4 kB / 406.8 MB, free: 7.805 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.158e-05/0.004722, allocations: 0 / 406.8 MB, free: 7.805 MB / 394.7 MB 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.000539/0.005261, allocations: 399.6 kB / 407.2 MB, free: 7.391 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.973e-05/0.005291, allocations: 12.03 kB / 407.2 MB, free: 7.379 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.916e-05/0.00533, allocations: 28.86 kB / 407.3 MB, free: 7.352 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001698/0.0055, allocations: 173.4 kB / 407.4 MB, free: 7.156 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.00551, allocations: 12.38 kB / 407.5 MB, free: 7.145 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.307e-05/0.005533, allocations: 12.38 kB / 407.5 MB, free: 7.133 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001568/0.00569, allocations: 135.1 kB / 407.6 MB, free: 6.977 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.005698, allocations: 192 / 407.6 MB, free: 6.977 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.00571, allocations: 8.359 kB / 407.6 MB, free: 6.969 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/0.005717, allocations: 3.938 kB / 407.6 MB, free: 6.965 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.73e-05/0.005764, allocations: 35.92 kB / 407.6 MB, free: 6.93 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005117/0.006276, allocations: 0.5749 MB / 408.2 MB, free: 6.324 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.877e-05/0.006325, allocations: 26.52 kB / 408.2 MB, free: 6.289 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.761e-05/0.006342, allocations: 16.84 kB / 408.3 MB, free: 6.27 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.437e-05/0.006357, allocations: 0 / 408.3 MB, free: 6.27 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.692e-05/0.006454, allocations: 94.95 kB / 408.4 MB, free: 6.152 MB / 394.7 MB Notification: Performance of pre-optimization done (n=11): time 8.41e-07/0.006455, allocations: 0 / 408.4 MB, free: 6.152 MB / 394.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001489/0.006604, allocations: 93.52 kB / 408.4 MB, free: 6.055 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.508e-05/0.006659, allocations: 132.5 kB / 408.6 MB, free: 5.895 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.488e-05/0.006753, allocations: 186.7 kB / 408.8 MB, free: 5.699 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.324e-05/0.006767, allocations: 33.7 kB / 408.8 MB, free: 5.66 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.242e-05/0.006819, allocations: 119.9 kB / 408.9 MB, free: 5.539 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.298e-05/0.006842, allocations: 43.67 kB / 408.9 MB, free: 5.496 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.698e-05/0.006879, allocations: 33.7 kB / 409 MB, free: 5.457 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.726e-05/0.006956, allocations: 334.8 kB / 409.3 MB, free: 5.121 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.683e-05/0.006973, allocations: 12 kB / 409.3 MB, free: 5.109 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.191e-05/0.007035, allocations: 118.6 kB / 409.4 MB, free: 4.941 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000104/0.007139, allocations: 158.3 kB / 409.6 MB, free: 4.734 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.007141, allocations: 8 kB / 409.6 MB, free: 4.727 MB / 394.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001298/0.007271, allocations: 141.2 kB / 409.7 MB, free: 4.582 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.007285, allocations: 8.438 kB / 409.7 MB, free: 4.574 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.007292, allocations: 4 kB / 409.7 MB, free: 4.57 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.00731, allocations: 12 kB / 409.8 MB, free: 4.559 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.245e-05/0.007382, allocations: 31.92 kB / 409.8 MB, free: 4.527 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.007388, allocations: 11.98 kB / 409.8 MB, free: 4.516 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.691e-05/0.007445, allocations: 19.89 kB / 409.8 MB, free: 4.496 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.125e-06/0.007453, allocations: 11.94 kB / 409.8 MB, free: 4.484 MB / 394.7 MB 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,intNoReset.trigger_internal,intDef.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 7.664e-05/0.00753, allocations: 129.6 kB / 410 MB, free: 4.348 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.699e-05/0.007547, allocations: 15.92 kB / 410 MB, free: 4.332 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.283e-05/0.00758, allocations: 25.39 kB / 410 MB, free: 4.305 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-06/0.007583, allocations: 4 kB / 410 MB, free: 4.301 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.007585, allocations: 4 kB / 410 MB, free: 4.297 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.007589, allocations: 0 / 410 MB, free: 4.297 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003152/0.007904, allocations: 342.4 kB / 410.3 MB, free: 3.938 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.007907, allocations: 4.062 kB / 410.3 MB, free: 3.934 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.972e-05/0.007976, allocations: 19.92 kB / 410.4 MB, free: 3.914 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.651e-05/0.007993, allocations: 19.92 kB / 410.4 MB, free: 3.895 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.007995, allocations: 4 kB / 410.4 MB, free: 3.891 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.008006, allocations: 4 kB / 410.4 MB, free: 3.887 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.008009, allocations: 7.938 kB / 410.4 MB, free: 3.879 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.00801, allocations: 0 / 410.4 MB, free: 3.879 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001527/0.008163, allocations: 280.3 kB / 410.7 MB, free: 3.582 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.398e-05/0.008177, allocations: 4 kB / 410.7 MB, free: 3.578 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.645e-05/0.008243, allocations: 7.984 kB / 410.7 MB, free: 3.57 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.658e-05/0.00828, allocations: 19.92 kB / 410.7 MB, free: 3.551 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.578e-06/0.008284, allocations: 0 / 410.7 MB, free: 3.551 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.511e-05/0.008319, allocations: 57.83 kB / 410.8 MB, free: 3.492 MB / 394.7 MB Notification: Performance of sort global known variables: time 4e-08/0.008319, allocations: 4 kB / 410.8 MB, free: 3.488 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001984/0.008518, allocations: 31.89 kB / 410.8 MB, free: 3.457 MB / 394.7 MB 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 7.118e-05/0.008589, allocations: 80.42 kB / 410.9 MB, free: 3.367 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001051/0.008694, allocations: 76.64 kB / 411 MB, free: 3.289 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.583e-06/0.008701, allocations: 7.938 kB / 411 MB, free: 3.281 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.58e-05/0.008747, allocations: 38.33 kB / 411 MB, free: 3.242 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003753/0.009122, allocations: 392.2 kB / 411.4 MB, free: 2.785 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005512/0.009673, allocations: 347.3 kB / 411.7 MB, free: 2.41 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.677e-05/0.00972, allocations: 71.98 kB / 411.8 MB, free: 2.32 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.042e-05/0.00977, allocations: 21.98 kB / 411.8 MB, free: 2.297 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.06e-05/0.009861, allocations: 79.36 kB / 411.9 MB, free: 2.219 MB / 394.7 MB Notification: Performance of SimCode: time 5.91e-07/0.009861, allocations: 0 / 411.9 MB, free: 2.219 MB / 394.7 MB Notification: Performance of Templates: time 0.004117/0.01398, allocations: 2.211 MB / 414.1 MB, free: 8 kB / 394.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3342275014147162]