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.001009/0.001009, allocations: 72.83 kB / 20.72 MB, free: 3.77 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.001094/0.001094, allocations: 169 kB / 24.14 MB, free: 360 kB / 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 1.086/1.086, allocations: 177.2 MB / 204.6 MB, free: 5.492 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.6937/0.6937, allocations: 115 MB / 376 MB, free: 7.488 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 1.753e-06/1.753e-06, allocations: 0 / 428.8 MB, free: 2.758 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.224e-05/2.399e-05, allocations: 6.25 kB / 428.8 MB, free: 2.75 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.IntegratorWithReset): time 0.002534/0.002558, allocations: 1.88 MB / 430.7 MB, free: 0.8555 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008324/0.003391, allocations: 0.5803 MB / 431.2 MB, free: 276 kB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.645e-05/0.003477, allocations: 7.938 kB / 431.2 MB, free: 268 kB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001271/0.003604, allocations: 19.73 kB / 431.3 MB, free: 248 kB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 5.823e-05/0.003662, allocations: 31.73 kB / 431.3 MB, free: 216 kB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001795/0.003842, allocations: 67.84 kB / 431.4 MB, free: 148 kB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001844/0.004026, allocations: 175.5 kB / 431.5 MB, free: 15.97 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.004139, allocations: 42.3 kB / 431.6 MB, free: 15.93 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001075/0.004247, allocations: 79.8 kB / 431.6 MB, free: 15.85 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.995e-05/0.004307, allocations: 39.81 kB / 431.7 MB, free: 15.81 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.085e-05/0.004328, allocations: 12 kB / 431.7 MB, free: 15.8 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.364e-05/0.004341, allocations: 12 kB / 431.7 MB, free: 15.79 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.579e-05/0.004367, allocations: 31.84 kB / 431.7 MB, free: 15.76 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.782e-05/0.004405, allocations: 39.92 kB / 431.8 MB, free: 15.72 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001295/0.004534, allocations: 99.5 kB / 431.9 MB, free: 15.62 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.703e-06/0.004536, allocations: 0 / 431.9 MB, free: 15.62 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.004537, allocations: 0 / 431.9 MB, free: 15.62 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.004541, allocations: 0 / 431.9 MB, free: 15.62 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.0004305/0.004971, allocations: 372 kB / 432.2 MB, free: 15.23 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.005009, allocations: 8.031 kB / 432.2 MB, free: 15.23 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.599e-05/0.005045, allocations: 24.91 kB / 432.3 MB, free: 15.2 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001694/0.005214, allocations: 169.4 kB / 432.4 MB, free: 15.01 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/0.005229, allocations: 16.36 kB / 432.5 MB, free: 15 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.001e-05/0.005249, allocations: 12.38 kB / 432.5 MB, free: 14.98 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001422/0.005391, allocations: 143 kB / 432.6 MB, free: 14.82 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.005399, allocations: 192 / 432.6 MB, free: 14.82 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.649e-06/0.005409, allocations: 8.312 kB / 432.6 MB, free: 14.81 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.005416, allocations: 7.938 kB / 432.6 MB, free: 14.8 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.111e-05/0.005457, allocations: 23.92 kB / 432.6 MB, free: 14.78 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004531/0.005911, allocations: 0.5631 MB / 433.2 MB, free: 14.19 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.311e-05/0.005964, allocations: 34.53 kB / 433.2 MB, free: 14.14 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.712e-05/0.005981, allocations: 12.86 kB / 433.3 MB, free: 14.13 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.17e-05/0.005993, allocations: 0 / 433.3 MB, free: 14.13 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001036/0.006096, allocations: 107 kB / 433.4 MB, free: 14 MB / 410.7 MB Notification: Performance of pre-optimization done (n=11): time 8.62e-07/0.006097, allocations: 0 / 433.4 MB, free: 14 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001433/0.00624, allocations: 93.72 kB / 433.4 MB, free: 13.9 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.357e-05/0.006294, allocations: 132.5 kB / 433.6 MB, free: 13.74 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.706e-05/0.006391, allocations: 186.4 kB / 433.8 MB, free: 13.55 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.291e-05/0.006404, allocations: 33.64 kB / 433.8 MB, free: 13.51 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.396e-05/0.006458, allocations: 127.8 kB / 433.9 MB, free: 13.38 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.092e-05/0.006479, allocations: 31.72 kB / 433.9 MB, free: 13.35 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.092e-05/0.00652, allocations: 41.64 kB / 434 MB, free: 13.3 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.039e-05/0.0066, allocations: 334.8 kB / 434.3 MB, free: 12.96 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.98e-05/0.00662, allocations: 11.98 kB / 434.3 MB, free: 12.95 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.285e-05/0.006683, allocations: 118.4 kB / 434.4 MB, free: 12.79 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001089/0.006792, allocations: 166.4 kB / 434.6 MB, free: 12.57 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.006794, allocations: 0 / 434.6 MB, free: 12.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001342/0.006928, allocations: 141.6 kB / 434.7 MB, free: 12.43 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.006944, allocations: 11.94 kB / 434.8 MB, free: 12.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.00695, allocations: 4 kB / 434.8 MB, free: 12.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.006966, allocations: 7.984 kB / 434.8 MB, free: 12.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.625e-05/0.007042, allocations: 31.92 kB / 434.8 MB, free: 12.37 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.007048, allocations: 8 kB / 434.8 MB, free: 12.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.666e-05/0.007105, allocations: 19.89 kB / 434.8 MB, free: 12.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.727e-06/0.007114, allocations: 8 kB / 434.8 MB, free: 12.34 MB / 410.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.528e-05/0.007189, allocations: 129.8 kB / 435 MB, free: 12.2 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.695e-05/0.007206, allocations: 16.05 kB / 435 MB, free: 12.18 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.17e-05/0.007238, allocations: 21.41 kB / 435 MB, free: 12.16 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.007241, allocations: 4 kB / 435 MB, free: 12.16 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.846e-06/0.007243, allocations: 0 / 435 MB, free: 12.16 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-06/0.007248, allocations: 0 / 435 MB, free: 12.16 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002932/0.007541, allocations: 345.9 kB / 435.3 MB, free: 11.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.007543, allocations: 320 / 435.3 MB, free: 11.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.975e-05/0.007593, allocations: 23.86 kB / 435.4 MB, free: 11.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.077e-06/0.007597, allocations: 4 kB / 435.4 MB, free: 11.77 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/0.007608, allocations: 8 kB / 435.4 MB, free: 11.76 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.007609, allocations: 0 / 435.4 MB, free: 11.76 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.007611, allocations: 7.984 kB / 435.4 MB, free: 11.75 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001666/0.007777, allocations: 280.3 kB / 435.7 MB, free: 11.46 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.599e-05/0.007793, allocations: 16.17 kB / 435.7 MB, free: 11.44 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.665e-05/0.00781, allocations: 8 kB / 435.7 MB, free: 11.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.506e-05/0.007885, allocations: 7.984 kB / 435.7 MB, free: 11.43 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.834e-05/0.007923, allocations: 11.98 kB / 435.7 MB, free: 11.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.565e-06/0.007931, allocations: 7.984 kB / 435.7 MB, free: 11.41 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.32e-05/0.007964, allocations: 49.86 kB / 435.8 MB, free: 11.36 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.007964, allocations: 0 / 435.8 MB, free: 11.36 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001801/0.008144, allocations: 32 kB / 435.8 MB, free: 11.32 MB / 410.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.309e-05/0.008217, allocations: 88.28 kB / 435.9 MB, free: 11.23 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001016/0.008319, allocations: 76.62 kB / 435.9 MB, free: 11.15 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.008324, allocations: 4 kB / 436 MB, free: 11.14 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.66e-05/0.00836, allocations: 29.78 kB / 436 MB, free: 11.11 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000281/0.008641, allocations: 75.66 kB / 436.1 MB, free: 11.04 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003912/0.009032, allocations: 319.3 kB / 436.4 MB, free: 10.7 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.706e-05/0.009079, allocations: 72 kB / 436.4 MB, free: 10.61 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.409e-05/0.009124, allocations: 17.59 kB / 436.5 MB, free: 10.59 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.041e-05/0.009214, allocations: 91.3 kB / 436.5 MB, free: 10.5 MB / 410.7 MB Notification: Performance of SimCode: time 8.71e-07/0.009215, allocations: 0 / 436.5 MB, free: 10.5 MB / 410.7 MB Notification: Performance of Templates: time 0.003667/0.01288, allocations: 2.201 MB / 438.7 MB, free: 8.316 MB / 410.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6841108077205718]