Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.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.0006555/0.0006555, allocations: 85.05 kB / 9.985 MB, free: 0.7031 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001018/0.001674, 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.0006655/0.0006655, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008924/0.001558, 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.8584/0.8584, allocations: 177.2 MB / 189.7 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08232/0.9408, allocations: 53.67 MB / 243.4 MB, free: 15.51 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.567/0.567, allocations: 120.1 MB / 364.2 MB, free: 2.547 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06951/0.6365, allocations: 38.15 MB / 402.4 MB, free: 12.27 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.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset") translateModel(IBPSA.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 403.7 MB, free: 10.98 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.205e-05/2.368e-05, allocations: 2.312 kB / 403.7 MB, free: 10.98 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.LimPIDWithReset): time 0.00402/0.004044, allocations: 3.978 MB / 407.7 MB, free: 6.973 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.002456/0.0065, allocations: 1.417 MB / 409.1 MB, free: 5.547 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004351/0.006935, allocations: 31.81 kB / 409.1 MB, free: 5.516 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002841/0.007219, allocations: 126.7 kB / 409.2 MB, free: 5.391 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003176/0.007537, allocations: 198.2 kB / 409.4 MB, free: 5.195 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006562/0.008193, allocations: 419.3 kB / 409.8 MB, free: 4.785 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008384/0.009031, allocations: 0.9513 MB / 410.8 MB, free: 3.832 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003967/0.009428, allocations: 302.6 kB / 411.1 MB, free: 3.508 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005976/0.01003, allocations: 0.5663 MB / 411.7 MB, free: 2.941 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002544/0.01028, allocations: 239.2 kB / 411.9 MB, free: 2.707 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 8.468e-05/0.01036, allocations: 88 kB / 412 MB, free: 2.621 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.073e-05/0.01045, allocations: 88 kB / 412.1 MB, free: 2.535 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001055/0.01055, allocations: 135.5 kB / 412.2 MB, free: 2.402 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001533/0.0107, allocations: 207.6 kB / 412.4 MB, free: 2.199 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005118/0.01122, allocations: 0.5214 MB / 412.9 MB, free: 1.676 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.892e-05/0.01124, allocations: 0 / 412.9 MB, free: 1.676 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.01124, allocations: 0 / 412.9 MB, free: 1.676 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.704e-05/0.01125, allocations: 3.984 kB / 412.9 MB, free: 1.672 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001204/0.01246, allocations: 1.112 MB / 414 MB, free: 0.5273 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.01249, allocations: 12.03 kB / 414 MB, free: 0.5156 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001114/0.01261, allocations: 100.8 kB / 414.1 MB, free: 428 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005516/0.01316, allocations: 425.3 kB / 414.6 MB, free: 15.97 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.735e-05/0.01319, allocations: 41.69 kB / 414.6 MB, free: 15.93 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.415e-05/0.01325, allocations: 64.33 kB / 414.7 MB, free: 15.87 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004901/0.01374, allocations: 497.9 kB / 415.2 MB, free: 15.34 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.644e-05/0.01376, allocations: 192 / 415.2 MB, free: 15.34 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.18e-05/0.01379, allocations: 28.38 kB / 415.2 MB, free: 15.32 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.247e-05/0.0138, allocations: 19.88 kB / 415.2 MB, free: 15.3 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002285/0.01403, allocations: 158.3 kB / 415.4 MB, free: 15.14 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001457/0.01549, allocations: 1.29 MB / 416.6 MB, free: 13.82 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003026/0.01579, allocations: 225.4 kB / 416.9 MB, free: 13.58 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001072/0.0159, allocations: 102.2 kB / 417 MB, free: 13.48 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.349e-05/0.01593, allocations: 16.47 kB / 417 MB, free: 13.46 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002096/0.01614, allocations: 158.2 kB / 417.1 MB, free: 13.3 MB / 410.7 MB Notification: Performance of pre-optimization done (n=49): time 2.504e-06/0.01614, allocations: 0 / 417.1 MB, free: 13.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=49): time 0.000331/0.01647, allocations: 258 kB / 417.4 MB, free: 13.04 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.232e-05/0.01651, allocations: 63.84 kB / 417.4 MB, free: 12.97 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002451/0.01676, allocations: 375.2 kB / 417.8 MB, free: 12.59 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.045e-05/0.01679, allocations: 41.7 kB / 417.9 MB, free: 12.54 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001357/0.01693, allocations: 282 kB / 418.1 MB, free: 12.26 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.851e-05/0.01701, allocations: 174.5 kB / 418.3 MB, free: 12.09 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001002/0.01711, allocations: 98.23 kB / 418.4 MB, free: 11.99 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001021/0.01722, allocations: 370.6 kB / 418.8 MB, free: 11.62 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.564e-05/0.01731, allocations: 74.98 kB / 418.8 MB, free: 11.54 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000127/0.01744, allocations: 168.3 kB / 419 MB, free: 11.34 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002252/0.01766, allocations: 267.1 kB / 419.3 MB, free: 11.04 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.01767, allocations: 0 / 419.3 MB, free: 11.04 MB / 410.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0002933/0.01796, allocations: 318 kB / 419.6 MB, free: 10.71 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.097e-05/0.018, allocations: 41.73 kB / 419.6 MB, free: 10.67 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.01801, allocations: 0 / 419.6 MB, free: 10.67 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.01802, allocations: 4 kB / 419.6 MB, free: 10.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003212/0.01834, allocations: 143.7 kB / 419.8 MB, free: 10.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.01835, allocations: 4 kB / 419.8 MB, free: 10.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001348/0.01848, allocations: 51.66 kB / 419.8 MB, free: 10.47 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.942e-05/0.0185, allocations: 19.98 kB / 419.8 MB, free: 10.45 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 9 (conNoRes.conPID.I.trigger_internal,TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,conNoRes.trigger.y,conWitRes.trigger.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 1 * 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.0001291/0.01863, allocations: 141.7 kB / 420 MB, free: 10.3 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.676e-05/0.01868, allocations: 43.95 kB / 420 MB, free: 10.26 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.884e-05/0.01876, allocations: 69.44 kB / 420.1 MB, free: 10.19 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.01876, allocations: 4 kB / 420.1 MB, free: 10.18 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.01877, allocations: 7.875 kB / 420.1 MB, free: 10.18 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.01877, allocations: 0 / 420.1 MB, free: 10.18 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006277/0.0194, allocations: 0.5797 MB / 420.7 MB, free: 9.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.604e-06/0.0194, allocations: 0 / 420.7 MB, free: 9.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002867/0.01969, allocations: 123.8 kB / 420.8 MB, free: 9.449 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.966e-05/0.01978, allocations: 63.48 kB / 420.8 MB, free: 9.387 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/0.01978, allocations: 4 kB / 420.9 MB, free: 9.383 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.016e-05/0.0198, allocations: 8 kB / 420.9 MB, free: 9.375 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.01981, allocations: 0 / 420.9 MB, free: 9.375 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.01981, allocations: 3.938 kB / 420.9 MB, free: 9.371 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003718/0.02018, allocations: 410.7 kB / 421.3 MB, free: 8.953 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.493e-05/0.02021, allocations: 12 kB / 421.3 MB, free: 8.941 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000116/0.02033, allocations: 19.98 kB / 421.3 MB, free: 8.922 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.554e-05/0.0204, allocations: 40.42 kB / 421.3 MB, free: 8.883 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.505e-05/0.02041, allocations: 4 kB / 421.3 MB, free: 8.879 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001212/0.02053, allocations: 164.7 kB / 421.5 MB, free: 8.719 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02053, allocations: 0 / 421.5 MB, free: 8.719 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002862/0.02082, allocations: 143.6 kB / 421.6 MB, free: 8.578 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (plaWitRes.cap.T,plaWitRes.cap1.T,conWitRes.conPID.I.y,plaNoRes.cap.T,plaNoRes.cap1.T,conNoRes.conPID.I.y) * Number of discrete variables: 6 (conWitRes.trigger.y,$whenCondition2,$whenCondition1,conNoRes.trigger.y,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001129/0.02093, allocations: 100.2 kB / 421.7 MB, free: 8.473 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002992/0.02123, allocations: 306 kB / 422 MB, free: 8.156 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.938e-05/0.02125, allocations: 15.97 kB / 422.1 MB, free: 8.141 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001597/0.02141, allocations: 149.5 kB / 422.2 MB, free: 7.988 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007709/0.02218, allocations: 1.165 MB / 423.4 MB, free: 6.598 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00402/0.0262, allocations: 1.15 MB / 424.5 MB, free: 5.41 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.019e-05/0.02629, allocations: 133.9 kB / 424.6 MB, free: 5.258 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001923/0.02648, allocations: 64.53 kB / 424.7 MB, free: 5.195 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002326/0.02672, allocations: 161.3 kB / 424.9 MB, free: 5.035 MB / 410.7 MB Notification: Performance of SimCode: time 1.202e-06/0.02672, allocations: 0 / 424.9 MB, free: 5.035 MB / 410.7 MB Notification: Performance of Templates: time 0.1785/0.2052, allocations: 6.491 MB / 431.4 MB, free: 19.76 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.sim & ./IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.199803958646953]