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.001415/0.001415, allocations: 81.95 kB / 21.44 MB, free: 3.059 MB / 18.57 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.0015/0.0015, allocations: 166.5 kB / 24.84 MB, free: 9.293 MB / 18.57 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.9801/0.9801, allocations: 177.1 MB / 205.3 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.6799/0.6799, allocations: 115 MB / 376.8 MB, free: 7.523 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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 9.02e-07/9.02e-07, allocations: 0 / 482.8 MB, free: 11.68 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.013e-05/2.103e-05, allocations: 8.875 kB / 482.8 MB, free: 11.68 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.IntegratorWithReset): time 0.002433/0.002454, allocations: 1.821 MB / 484.6 MB, free: 10.48 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.000935/0.003389, allocations: 0.5631 MB / 485.2 MB, free: 10.11 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001014/0.003491, allocations: 6.406 kB / 485.2 MB, free: 10.1 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001228/0.003613, allocations: 24.75 kB / 485.2 MB, free: 10.08 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 6.731e-05/0.003681, allocations: 32.27 kB / 485.2 MB, free: 10.06 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001815/0.003862, allocations: 72.09 kB / 485.3 MB, free: 10.02 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001931/0.004055, allocations: 175.1 kB / 485.5 MB, free: 9.938 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.004169, allocations: 29.88 kB / 485.5 MB, free: 9.926 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001141/0.004283, allocations: 78.02 kB / 485.6 MB, free: 9.895 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.186e-05/0.004345, allocations: 43.72 kB / 485.6 MB, free: 9.875 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.447e-05/0.004369, allocations: 11.16 kB / 485.6 MB, free: 9.875 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.863e-05/0.004388, allocations: 10.09 kB / 485.6 MB, free: 9.875 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.978e-05/0.004418, allocations: 32.33 kB / 485.7 MB, free: 9.855 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.632e-05/0.004464, allocations: 34.14 kB / 485.7 MB, free: 9.84 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001485/0.004613, allocations: 106.5 kB / 485.8 MB, free: 9.781 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.004616, allocations: 3.422 kB / 485.8 MB, free: 9.781 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.004617, allocations: 1.188 kB / 485.8 MB, free: 9.781 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.94e-06/0.004622, allocations: 0 / 485.8 MB, free: 9.781 MB / 410.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.0004972/0.00512, allocations: 0.5175 MB / 486.3 MB, free: 9.305 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.005155, allocations: 10.28 kB / 486.3 MB, free: 9.305 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.571e-05/0.005211, allocations: 26.91 kB / 486.4 MB, free: 9.293 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001853/0.005396, allocations: 184 kB / 486.5 MB, free: 9.129 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.746e-05/0.005413, allocations: 8.75 kB / 486.5 MB, free: 9.125 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.461e-05/0.005438, allocations: 13.62 kB / 486.6 MB, free: 9.121 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001668/0.005605, allocations: 151.4 kB / 486.7 MB, free: 8.996 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.005614, allocations: 1.125 kB / 486.7 MB, free: 8.996 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.005626, allocations: 6.469 kB / 486.7 MB, free: 8.992 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.005633, allocations: 7.094 kB / 486.7 MB, free: 8.988 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.485e-05/0.005688, allocations: 32.94 kB / 486.8 MB, free: 8.98 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007739/0.006462, allocations: 0.8544 MB / 487.6 MB, free: 24.18 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.784e-05/0.00652, allocations: 40.19 kB / 487.6 MB, free: 24.14 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.304e-05/0.006543, allocations: 16.44 kB / 487.7 MB, free: 24.12 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.425e-05/0.006557, allocations: 2.969 kB / 487.7 MB, free: 24.12 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001098/0.006667, allocations: 113.7 kB / 487.8 MB, free: 24.01 MB / 426.7 MB Notification: Performance of pre-optimization done (n=11): time 1.192e-06/0.006668, allocations: 0 / 487.8 MB, free: 24.01 MB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001996/0.006868, allocations: 110.8 kB / 487.9 MB, free: 23.95 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.51e-05/0.006903, allocations: 135 kB / 488 MB, free: 23.8 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001245/0.007027, allocations: 249.9 kB / 488.3 MB, free: 23.59 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.116e-05/0.007038, allocations: 27.08 kB / 488.3 MB, free: 23.56 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.724e-05/0.007116, allocations: 183.2 kB / 488.5 MB, free: 23.39 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.284e-05/0.007139, allocations: 38.31 kB / 488.5 MB, free: 23.36 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.475e-05/0.007193, allocations: 56.34 kB / 488.6 MB, free: 23.32 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.007302, allocations: 0.501 MB / 489.1 MB, free: 22.82 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.49e-05/0.007337, allocations: 12 kB / 489.1 MB, free: 22.82 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.161e-05/0.007409, allocations: 165.5 kB / 489.2 MB, free: 22.61 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001354/0.007544, allocations: 206.4 kB / 489.4 MB, free: 22.38 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.007546, allocations: 1.344 kB / 489.4 MB, free: 22.38 MB / 426.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002119/0.007758, allocations: 166.4 kB / 489.6 MB, free: 22.29 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.007774, allocations: 9.406 kB / 489.6 MB, free: 22.29 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.358e-06/0.007783, allocations: 6.688 kB / 489.6 MB, free: 22.29 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.007797, allocations: 4.969 kB / 489.6 MB, free: 22.29 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.723e-05/0.007894, allocations: 33.78 kB / 489.7 MB, free: 22.29 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.007902, allocations: 9.703 kB / 489.7 MB, free: 22.28 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.854e-05/0.008001, allocations: 20.52 kB / 489.7 MB, free: 22.27 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.284e-05/0.008014, allocations: 8.281 kB / 489.7 MB, free: 22.27 MB / 426.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 8.873e-05/0.008103, allocations: 174.9 kB / 489.9 MB, free: 22.1 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.113e-05/0.008134, allocations: 26.53 kB / 489.9 MB, free: 22.09 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.46e-05/0.008168, allocations: 25.52 kB / 489.9 MB, free: 22.07 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.008172, allocations: 2.312 kB / 489.9 MB, free: 22.07 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.008175, allocations: 1.406 kB / 489.9 MB, free: 22.07 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.718e-06/0.00818, allocations: 5.969 kB / 489.9 MB, free: 22.07 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005501/0.00873, allocations: 481.5 kB / 490.4 MB, free: 21.65 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.008732, allocations: 6.188 kB / 490.4 MB, free: 21.64 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.696e-05/0.008799, allocations: 14.89 kB / 490.4 MB, free: 21.64 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.798e-06/0.008803, allocations: 3.625 kB / 490.4 MB, free: 21.64 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/0.008815, allocations: 1.75 kB / 490.4 MB, free: 21.64 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.008818, allocations: 1 kB / 490.4 MB, free: 21.64 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.008821, allocations: 5.469 kB / 490.4 MB, free: 21.64 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002603/0.009081, allocations: 390.8 kB / 490.8 MB, free: 21.29 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.942e-05/0.0091, allocations: 21.66 kB / 490.8 MB, free: 21.28 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.053e-05/0.009121, allocations: 2.406 kB / 490.8 MB, free: 21.28 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001223/0.009243, allocations: 13.69 kB / 490.8 MB, free: 21.27 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.073e-05/0.009284, allocations: 19.09 kB / 490.9 MB, free: 21.27 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.027e-06/0.009293, allocations: 3.438 kB / 490.9 MB, free: 21.27 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.392e-05/0.009367, allocations: 163.1 kB / 491 MB, free: 21.14 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009367, allocations: 0.625 kB / 491 MB, free: 21.14 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000331/0.009698, allocations: 30.95 kB / 491.1 MB, free: 21.13 MB / 426.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 9.482e-05/0.009793, allocations: 106.8 kB / 491.2 MB, free: 21.04 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001415/0.009934, allocations: 76.42 kB / 491.2 MB, free: 21.01 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.009936, allocations: 0 / 491.2 MB, free: 21.01 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.143e-05/0.009987, allocations: 40.27 kB / 491.3 MB, free: 20.98 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004693/0.01046, allocations: 76.81 kB / 491.3 MB, free: 20.96 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004551/0.01091, allocations: 336.5 kB / 491.7 MB, free: 20.7 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.885e-05/0.01096, allocations: 75.7 kB / 491.7 MB, free: 20.62 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.728e-05/0.01103, allocations: 22.17 kB / 491.8 MB, free: 20.62 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001135/0.01114, allocations: 108.1 kB / 491.9 MB, free: 20.55 MB / 426.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01114, allocations: 0 / 491.9 MB, free: 20.55 MB / 426.7 MB Notification: Performance of Templates: time 0.004947/0.01609, allocations: 2.347 MB / 494.2 MB, free: 20.35 MB / 426.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.6201042840257287]