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.002484/0.002484, allocations: 93.47 kB / 20.21 MB, free: 4.211 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.002683/0.002683, allocations: 165.2 kB / 23.53 MB, free: 0.8945 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 1.588/1.588, allocations: 177.1 MB / 203.9 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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 1.031/1.031, allocations: 115 MB / 375.3 MB, free: 7.586 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.313e-06/1.313e-06, allocations: 0 / 480.8 MB, free: 11.91 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.102e-05/2.233e-05, allocations: 2.312 kB / 480.8 MB, free: 11.91 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.IntegratorWithReset): time 0.002403/0.002425, allocations: 1.805 MB / 482.6 MB, free: 10.7 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008959/0.003321, allocations: 0.5629 MB / 483.2 MB, free: 10.32 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.091e-05/0.003412, allocations: 7.594 kB / 483.2 MB, free: 10.32 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001465/0.003559, allocations: 27.56 kB / 483.2 MB, free: 10.3 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 6.736e-05/0.003626, allocations: 26.94 kB / 483.2 MB, free: 10.28 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001772/0.003803, allocations: 67 kB / 483.3 MB, free: 10.24 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000187/0.00399, allocations: 179.9 kB / 483.5 MB, free: 10.16 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.004106, allocations: 28.95 kB / 483.5 MB, free: 10.14 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001131/0.004219, allocations: 75.06 kB / 483.6 MB, free: 10.11 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.118e-05/0.00428, allocations: 45.83 kB / 483.6 MB, free: 10.09 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.896e-05/0.004309, allocations: 10.88 kB / 483.6 MB, free: 10.09 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.326e-05/0.004333, allocations: 11.56 kB / 483.6 MB, free: 10.09 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.096e-05/0.004364, allocations: 35.3 kB / 483.7 MB, free: 10.07 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.666e-05/0.00441, allocations: 31.02 kB / 483.7 MB, free: 10.05 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001729/0.004583, allocations: 140 kB / 483.8 MB, free: 9.988 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.004585, allocations: 0 / 483.8 MB, free: 9.988 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.61e-07/0.004586, allocations: 3.312 kB / 483.8 MB, free: 9.988 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.00459, allocations: 0 / 483.8 MB, free: 9.988 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.000597/0.005187, allocations: 0.5304 MB / 484.4 MB, free: 9.508 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.119e-05/0.005218, allocations: 9.156 kB / 484.4 MB, free: 9.508 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.302e-05/0.005281, allocations: 26.91 kB / 484.4 MB, free: 9.496 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002187/0.0055, allocations: 184.1 kB / 484.6 MB, free: 9.332 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/0.005515, allocations: 9.469 kB / 484.6 MB, free: 9.328 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.024e-05/0.005546, allocations: 13.69 kB / 484.6 MB, free: 9.324 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002293/0.005775, allocations: 158.3 kB / 484.7 MB, free: 9.207 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.005787, allocations: 9.906 kB / 484.8 MB, free: 9.199 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.005802, allocations: 6.188 kB / 484.8 MB, free: 9.195 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.005808, allocations: 7.594 kB / 484.8 MB, free: 9.191 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001612/0.005969, allocations: 63.73 kB / 484.8 MB, free: 9.172 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001039/0.007009, allocations: 0.904 MB / 485.7 MB, free: 24.33 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001125/0.007121, allocations: 52.8 kB / 485.8 MB, free: 24.29 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.004e-05/0.007191, allocations: 27.48 kB / 485.8 MB, free: 24.27 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.00721, allocations: 6.438 kB / 485.8 MB, free: 24.27 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001831/0.007393, allocations: 134.9 kB / 486 MB, free: 24.15 MB / 426.7 MB Notification: Performance of pre-optimization done (n=11): time 9.72e-07/0.007394, allocations: 0 / 486 MB, free: 24.15 MB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003795/0.007773, allocations: 154.8 kB / 486.1 MB, free: 24.08 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.235e-05/0.007816, allocations: 136.4 kB / 486.2 MB, free: 23.92 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000204/0.00802, allocations: 271 kB / 486.5 MB, free: 23.71 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.282e-05/0.008033, allocations: 30.48 kB / 486.5 MB, free: 23.68 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001131/0.008146, allocations: 189.3 kB / 486.7 MB, free: 23.51 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.898e-05/0.008175, allocations: 41.25 kB / 486.8 MB, free: 23.48 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.007e-05/0.008235, allocations: 53.31 kB / 486.8 MB, free: 23.44 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003825/0.008617, allocations: 0.5028 MB / 487.3 MB, free: 22.93 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.938e-05/0.008707, allocations: 34.17 kB / 487.3 MB, free: 22.93 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001264/0.008833, allocations: 191.6 kB / 487.5 MB, free: 22.71 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002177/0.009051, allocations: 241.8 kB / 487.8 MB, free: 22.46 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.009054, allocations: 2.594 kB / 487.8 MB, free: 22.46 MB / 426.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003122/0.009367, allocations: 213.9 kB / 488 MB, free: 22.36 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.009381, allocations: 8.469 kB / 488 MB, free: 22.36 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.009388, allocations: 2.406 kB / 488 MB, free: 22.36 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.009407, allocations: 10.73 kB / 488 MB, free: 22.36 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001059/0.009512, allocations: 30.91 kB / 488 MB, free: 22.36 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.009521, allocations: 4.969 kB / 488 MB, free: 22.36 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001057/0.009627, allocations: 24.89 kB / 488.1 MB, free: 22.34 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.683e-05/0.009643, allocations: 14.64 kB / 488.1 MB, free: 22.34 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,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.0001314/0.009775, allocations: 182 kB / 488.3 MB, free: 22.16 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.267e-05/0.009808, allocations: 23 kB / 488.3 MB, free: 22.15 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.142e-05/0.009849, allocations: 22.25 kB / 488.3 MB, free: 22.14 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.009851, allocations: 1.125 kB / 488.3 MB, free: 22.14 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.009857, allocations: 2.781 kB / 488.3 MB, free: 22.14 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.009862, allocations: 2.25 kB / 488.3 MB, free: 22.14 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000647/0.01051, allocations: 0.5434 MB / 488.8 MB, free: 21.67 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.01051, allocations: 2.531 kB / 488.8 MB, free: 21.67 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.513e-05/0.01061, allocations: 14.62 kB / 488.9 MB, free: 21.67 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.01061, allocations: 1.531 kB / 488.9 MB, free: 21.67 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.29e-05/0.01062, allocations: 2.938 kB / 488.9 MB, free: 21.67 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.01063, allocations: 6.812 kB / 488.9 MB, free: 21.67 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.01063, allocations: 1.156 kB / 488.9 MB, free: 21.67 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004485/0.01108, allocations: 450.7 kB / 489.3 MB, free: 21.29 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.453e-05/0.0111, allocations: 12.53 kB / 489.3 MB, free: 21.29 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.505e-05/0.01113, allocations: 11.92 kB / 489.3 MB, free: 21.28 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001411/0.01127, allocations: 6.312 kB / 489.3 MB, free: 21.28 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.821e-05/0.01133, allocations: 15.98 kB / 489.4 MB, free: 21.28 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.816e-06/0.01133, allocations: 3.031 kB / 489.4 MB, free: 21.28 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001311/0.01147, allocations: 175.8 kB / 489.5 MB, free: 21.14 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01147, allocations: 0 / 489.5 MB, free: 21.14 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003068/0.01177, allocations: 39.03 kB / 489.6 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 0.0001076/0.01188, allocations: 107 kB / 489.7 MB, free: 21.03 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002768/0.01216, allocations: 119.5 kB / 489.8 MB, free: 20.99 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.01216, allocations: 0 / 489.8 MB, free: 20.99 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000107/0.01227, allocations: 56.66 kB / 489.9 MB, free: 20.96 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005274/0.01279, allocations: 66.25 kB / 489.9 MB, free: 20.95 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005275/0.01332, allocations: 349.4 kB / 490.3 MB, free: 20.68 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.844e-05/0.01341, allocations: 117.4 kB / 490.4 MB, free: 20.6 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.299e-05/0.01347, allocations: 14.94 kB / 490.4 MB, free: 20.59 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.684e-05/0.01352, allocations: 26.75 kB / 490.4 MB, free: 20.58 MB / 426.7 MB Notification: Performance of SimCode: time 4.41e-07/0.01352, allocations: 0 / 490.4 MB, free: 20.58 MB / 426.7 MB Notification: Performance of Templates: time 0.005488/0.01901, allocations: 2.125 MB / 492.5 MB, free: 20.41 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: 5.694449331960641]