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.001039/0.001039, allocations: 73.88 kB / 20.65 MB, free: 3.844 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.0008857/0.0008857, allocations: 169 kB / 24.05 MB, free: 452 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.023/1.023, allocations: 177.1 MB / 204.5 MB, free: 5.496 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.6659/0.6659, allocations: 115 MB / 376 MB, free: 7.504 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.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 / 481.9 MB, free: 11.79 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.191e-05/2.353e-05, allocations: 2.312 kB / 481.9 MB, free: 11.79 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.LimPIDWithReset): time 0.0037/0.003724, allocations: 3.917 MB / 485.8 MB, free: 9.203 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002248/0.005971, allocations: 1.347 MB / 487.2 MB, free: 8.238 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003693/0.006341, allocations: 29.81 kB / 487.2 MB, free: 8.227 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002734/0.006614, allocations: 131.5 kB / 487.3 MB, free: 8.133 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002621/0.006876, allocations: 197.6 kB / 487.5 MB, free: 7.984 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006295/0.007506, allocations: 417.9 kB / 487.9 MB, free: 7.73 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007786/0.008284, allocations: 0.9774 MB / 488.9 MB, free: 7.188 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003963/0.008681, allocations: 285.3 kB / 489.2 MB, free: 7.012 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004805/0.009161, allocations: 0.5007 MB / 489.7 MB, free: 6.754 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002706/0.009432, allocations: 235.1 kB / 489.9 MB, free: 6.66 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001008/0.009532, allocations: 87 kB / 490 MB, free: 6.66 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.184e-05/0.009624, allocations: 89.59 kB / 490.1 MB, free: 6.66 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.039e-05/0.009705, allocations: 174.1 kB / 490.3 MB, free: 6.531 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001643/0.009869, allocations: 250.1 kB / 490.5 MB, free: 6.402 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005294/0.0104, allocations: 0.5729 MB / 491.1 MB, free: 6.055 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.0104, allocations: 1.156 kB / 491.1 MB, free: 6.055 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.0104, allocations: 0 / 491.1 MB, free: 6.055 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.107e-06/0.01041, allocations: 0 / 491.1 MB, free: 6.055 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001127/0.01154, allocations: 1.157 MB / 492.2 MB, free: 5.219 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.01158, allocations: 10 kB / 492.3 MB, free: 5.219 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001415/0.01172, allocations: 134.8 kB / 492.4 MB, free: 5.156 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005145/0.01224, allocations: 0.54 MB / 492.9 MB, free: 4.789 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.998e-05/0.01227, allocations: 40.47 kB / 493 MB, free: 4.773 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.036e-05/0.01234, allocations: 61.72 kB / 493 MB, free: 4.754 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004766/0.01281, allocations: 498.9 kB / 493.5 MB, free: 4.488 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.834e-05/0.01283, allocations: 5.016 kB / 493.5 MB, free: 4.484 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.27e-05/0.01286, allocations: 27.22 kB / 493.5 MB, free: 4.465 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.571e-05/0.01288, allocations: 17.94 kB / 493.6 MB, free: 4.461 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002508/0.01313, allocations: 181.4 kB / 493.7 MB, free: 4.441 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001551/0.01468, allocations: 1.726 MB / 495.5 MB, free: 19.24 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00032/0.015, allocations: 248 kB / 495.7 MB, free: 19.15 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001257/0.01513, allocations: 110.1 kB / 495.8 MB, free: 19.12 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.288e-05/0.01516, allocations: 13.09 kB / 495.8 MB, free: 19.12 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002004/0.01536, allocations: 170.4 kB / 496 MB, free: 19.04 MB / 426.7 MB Notification: Performance of pre-optimization done (n=49): time 2.384e-06/0.01536, allocations: 0 / 496 MB, free: 19.04 MB / 426.7 MB Notification: Performance of matching and sorting (n=49): time 0.0004415/0.0158, allocations: 336.8 kB / 496.3 MB, free: 18.94 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.414e-05/0.01583, allocations: 61.94 kB / 496.4 MB, free: 18.88 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002794/0.01611, allocations: 445.1 kB / 496.8 MB, free: 18.61 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.472e-05/0.01613, allocations: 36.23 kB / 496.9 MB, free: 18.57 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001587/0.01629, allocations: 379.6 kB / 497.2 MB, free: 18.27 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.308e-05/0.01636, allocations: 175 kB / 497.4 MB, free: 18.12 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001015/0.01647, allocations: 98.44 kB / 497.5 MB, free: 18.07 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001597/0.01663, allocations: 0.5367 MB / 498 MB, free: 17.55 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001043/0.01673, allocations: 92.81 kB / 498.1 MB, free: 17.51 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001325/0.01686, allocations: 196 kB / 498.3 MB, free: 17.35 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002388/0.0171, allocations: 280.2 kB / 498.6 MB, free: 17.15 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.0171, allocations: 0 / 498.6 MB, free: 17.15 MB / 426.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0004062/0.01751, allocations: 415.2 kB / 499 MB, free: 16.96 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.07e-05/0.01754, allocations: 32.48 kB / 499 MB, free: 16.93 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.297e-06/0.01755, allocations: 2.906 kB / 499 MB, free: 16.93 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.42e-05/0.01757, allocations: 7.812 kB / 499 MB, free: 16.93 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002695/0.01784, allocations: 113.5 kB / 499.1 MB, free: 16.91 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.01785, allocations: 4.562 kB / 499.1 MB, free: 16.91 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001455/0.018, allocations: 56.73 kB / 499.2 MB, free: 16.88 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.105e-05/0.01802, allocations: 13.38 kB / 499.2 MB, free: 16.88 MB / 426.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,conWitRes.trigger.y,conNoRes.trigger.y,TSet.T_start,$PRE.TSet.T_start,TSet.count,$PRE.TSet.count,$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.0001415/0.01816, allocations: 189 kB / 499.4 MB, free: 16.69 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.629e-05/0.01823, allocations: 71.84 kB / 499.5 MB, free: 16.66 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.557e-05/0.0183, allocations: 64.8 kB / 499.5 MB, free: 16.61 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.01831, allocations: 7.75 kB / 499.5 MB, free: 16.61 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.01831, allocations: 0 / 499.5 MB, free: 16.61 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/0.01832, allocations: 7.406 kB / 499.6 MB, free: 16.61 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007705/0.01909, allocations: 0.7699 MB / 0.4886 GB, free: 16.13 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.01909, allocations: 5.406 kB / 0.4886 GB, free: 16.13 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002366/0.01933, allocations: 90.31 kB / 0.4887 GB, free: 16.12 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.01933, allocations: 2.844 kB / 0.4887 GB, free: 16.12 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.044e-05/0.01936, allocations: 11.31 kB / 0.4887 GB, free: 16.11 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.01936, allocations: 2.344 kB / 0.4887 GB, free: 16.11 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.177e-06/0.01936, allocations: 8.344 kB / 0.4887 GB, free: 16.11 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004853/0.01985, allocations: 0.5151 MB / 0.4892 GB, free: 15.82 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.994e-05/0.01995, allocations: 95.14 kB / 0.4893 GB, free: 15.76 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.341e-05/0.01998, allocations: 7.531 kB / 0.4893 GB, free: 15.76 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001094/0.02009, allocations: 19.89 kB / 0.4893 GB, free: 15.75 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.671e-05/0.02015, allocations: 38.16 kB / 0.4894 GB, free: 15.74 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.576e-05/0.02016, allocations: 15.52 kB / 0.4894 GB, free: 15.74 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000166/0.02033, allocations: 274.4 kB / 0.4896 GB, free: 15.58 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02033, allocations: 0 / 0.4896 GB, free: 15.58 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003305/0.02066, allocations: 145.9 kB / 0.4898 GB, free: 15.54 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (conNoRes.conPID.I.y,plaNoRes.cap1.T,plaNoRes.cap.T,conWitRes.conPID.I.y,plaWitRes.cap1.T,plaWitRes.cap.T) * Number of discrete variables: 6 (conWitRes.trigger.y,$whenCondition2,$whenCondition1,TSet.count,TSet.T_start,conNoRes.trigger.y) * 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.0001057/0.02077, allocations: 113.6 kB / 0.4899 GB, free: 15.44 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000318/0.02108, allocations: 315 kB / 0.4902 GB, free: 15.3 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.02109, allocations: 2.125 kB / 0.4902 GB, free: 15.3 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001355/0.02122, allocations: 131.2 kB / 0.4903 GB, free: 15.27 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004469/0.02167, allocations: 159 kB / 0.4905 GB, free: 15.22 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001536/0.02321, allocations: 1.164 MB / 0.4916 GB, free: 14.58 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.98e-05/0.0233, allocations: 132.6 kB / 0.4917 GB, free: 14.51 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001855/0.02349, allocations: 61.11 kB / 0.4918 GB, free: 14.49 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002514/0.02374, allocations: 188.3 kB / 0.492 GB, free: 14.42 MB / 426.7 MB Notification: Performance of SimCode: time 9.41e-07/0.02374, allocations: 0 / 0.492 GB, free: 14.42 MB / 426.7 MB Notification: Performance of Templates: time 0.01138/0.03512, allocations: 6.325 MB / 0.4981 GB, free: 11.38 MB / 426.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.6719920160248876]