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.001601/0.001601, allocations: 92.72 kB / 20.21 MB, free: 4.219 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.001773/0.001773, allocations: 157.7 kB / 23.52 MB, free: 0.9141 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.483/1.483, allocations: 177.2 MB / 203.9 MB, free: 5.586 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 0.9616/0.9616, allocations: 115 MB / 375.3 MB, free: 7.57 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 2.364e-06/2.364e-06, allocations: 3.938 kB / 480.7 MB, free: 11.92 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.872e-05/3.109e-05, allocations: 5.703 kB / 480.7 MB, free: 11.92 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.LimPIDWithReset): time 0.006971/0.007002, allocations: 3.738 MB / 484.5 MB, free: 9.438 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003529/0.01053, allocations: 1.327 MB / 485.8 MB, free: 8.484 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008242/0.01135, allocations: 30.53 kB / 485.8 MB, free: 8.473 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005896/0.01194, allocations: 127.6 kB / 486 MB, free: 8.383 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008672/0.01281, allocations: 194 kB / 486.1 MB, free: 8.238 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001401/0.01421, allocations: 416.5 kB / 486.6 MB, free: 7.984 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001328/0.01554, allocations: 0.9788 MB / 487.5 MB, free: 7.438 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006306/0.01617, allocations: 288.2 kB / 487.8 MB, free: 7.258 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006841/0.01686, allocations: 0.494 MB / 488.3 MB, free: 7.004 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003768/0.01723, allocations: 243.6 kB / 488.5 MB, free: 6.902 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001358/0.01737, allocations: 96.14 kB / 488.6 MB, free: 6.898 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001382/0.01751, allocations: 91.25 kB / 488.7 MB, free: 6.898 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000125/0.01763, allocations: 177.1 kB / 488.9 MB, free: 6.77 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002319/0.01786, allocations: 249.8 kB / 489.1 MB, free: 6.637 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008592/0.01872, allocations: 1.093 MB / 490.2 MB, free: 6.184 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.01873, allocations: 0 / 490.2 MB, free: 6.184 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.01873, allocations: 4.781 kB / 490.2 MB, free: 6.18 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.046e-05/0.01874, allocations: 0 / 490.2 MB, free: 6.18 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.001587/0.02033, allocations: 1.077 MB / 491.3 MB, free: 5.457 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.347e-05/0.02036, allocations: 9.375 kB / 491.3 MB, free: 5.457 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001844/0.02054, allocations: 135.1 kB / 491.5 MB, free: 5.395 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007952/0.02134, allocations: 0.5242 MB / 492 MB, free: 5.055 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.877e-05/0.02138, allocations: 45.97 kB / 492 MB, free: 5.035 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.939e-05/0.02147, allocations: 59.56 kB / 492.1 MB, free: 5.016 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009478/0.02241, allocations: 0.6597 MB / 492.8 MB, free: 4.66 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.157e-05/0.02244, allocations: 8.141 kB / 492.8 MB, free: 4.652 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.985e-05/0.02249, allocations: 26.41 kB / 492.8 MB, free: 4.633 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.335e-05/0.0225, allocations: 14.25 kB / 492.8 MB, free: 4.633 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008934/0.02339, allocations: 460.1 kB / 493.2 MB, free: 4.469 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002362/0.02575, allocations: 1.72 MB / 495 MB, free: 19.37 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008113/0.02657, allocations: 421.2 kB / 495.4 MB, free: 19.2 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004049/0.02697, allocations: 226.6 kB / 495.6 MB, free: 19.11 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.53e-05/0.02701, allocations: 7.5 kB / 495.6 MB, free: 19.1 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004872/0.02749, allocations: 264.6 kB / 495.9 MB, free: 18.98 MB / 426.7 MB Notification: Performance of pre-optimization done (n=49): time 2.746e-06/0.0275, allocations: 0 / 495.9 MB, free: 18.98 MB / 426.7 MB Notification: Performance of matching and sorting (n=49): time 0.00123/0.02873, allocations: 0.5941 MB / 496.5 MB, free: 18.74 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.846e-05/0.02875, allocations: 66.84 kB / 496.5 MB, free: 18.66 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004385/0.02919, allocations: 430.2 kB / 496.9 MB, free: 18.46 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.27e-05/0.02923, allocations: 36.64 kB / 497 MB, free: 18.42 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001882/0.02941, allocations: 333 kB / 497.3 MB, free: 18.15 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.906e-05/0.0295, allocations: 169.9 kB / 497.5 MB, free: 18.02 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001352/0.02964, allocations: 98.61 kB / 497.6 MB, free: 17.96 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001999/0.02984, allocations: 366.1 kB / 497.9 MB, free: 17.62 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003721/0.03021, allocations: 195.1 kB / 498.1 MB, free: 17.53 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003894/0.0306, allocations: 281.9 kB / 498.4 MB, free: 17.36 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007165/0.03132, allocations: 452 kB / 498.8 MB, free: 17.09 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.03132, allocations: 0.75 kB / 498.8 MB, free: 17.09 MB / 426.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001035/0.03235, allocations: 0.6141 MB / 499.4 MB, free: 16.78 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.952e-05/0.03239, allocations: 40.2 kB / 499.5 MB, free: 16.74 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.689e-06/0.0324, allocations: 1.812 kB / 499.5 MB, free: 16.74 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.167e-05/0.03243, allocations: 8.594 kB / 499.5 MB, free: 16.74 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005424/0.03298, allocations: 117.5 kB / 499.6 MB, free: 16.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.905e-05/0.033, allocations: 8.516 kB / 499.6 MB, free: 16.72 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003741/0.03337, allocations: 56.69 kB / 499.7 MB, free: 16.69 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.645e-05/0.03342, allocations: 18.53 kB / 499.7 MB, free: 16.69 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 (conWitRes.trigger.y,conNoRes.trigger.y,TSet.T_start,$PRE.TSet.T_start,TSet.count,$PRE.TSet.count,$whenCondition1,$whenCondition2,conNoRes.conPID.I.trigger_internal) * 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.0003635/0.03378, allocations: 210.7 kB / 499.9 MB, free: 16.51 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001181/0.0339, allocations: 66.95 kB / 500 MB, free: 16.48 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001493/0.03405, allocations: 65.2 kB / 0.4883 GB, free: 16.43 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.058e-05/0.03406, allocations: 6.438 kB / 0.4883 GB, free: 16.43 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.62e-05/0.03407, allocations: 4.812 kB / 0.4883 GB, free: 16.43 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.662e-06/0.03408, allocations: 3.234 kB / 0.4883 GB, free: 16.43 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001712/0.03579, allocations: 0.9964 MB / 0.4893 GB, free: 15.86 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.0358, allocations: 0.9375 kB / 0.4893 GB, free: 15.86 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004711/0.03627, allocations: 95 kB / 0.4894 GB, free: 15.85 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.805e-06/0.03627, allocations: 3.094 kB / 0.4894 GB, free: 15.85 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.398e-05/0.03631, allocations: 17.53 kB / 0.4894 GB, free: 15.84 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.03631, allocations: 2.469 kB / 0.4894 GB, free: 15.84 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.03631, allocations: 1.156 kB / 0.4894 GB, free: 15.84 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001372/0.03769, allocations: 0.7774 MB / 0.4902 GB, free: 15.44 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001649/0.03785, allocations: 93.64 kB / 0.4903 GB, free: 15.38 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.192e-05/0.03791, allocations: 19.75 kB / 0.4903 GB, free: 15.36 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002828/0.0382, allocations: 26.55 kB / 0.4903 GB, free: 15.36 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000112/0.03831, allocations: 35.09 kB / 0.4903 GB, free: 15.35 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.032e-05/0.03834, allocations: 14.86 kB / 0.4904 GB, free: 15.35 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003682/0.03871, allocations: 297.2 kB / 0.4906 GB, free: 15.2 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03871, allocations: 0 / 0.4906 GB, free: 15.2 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004952/0.0392, allocations: 146.2 kB / 0.4908 GB, free: 15.16 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.0001524/0.03935, allocations: 114.8 kB / 0.4909 GB, free: 15.06 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001028/0.04038, allocations: 489.6 kB / 0.4913 GB, free: 14.83 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.04038, allocations: 0.9688 kB / 0.4914 GB, free: 14.83 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004481/0.04083, allocations: 207 kB / 0.4915 GB, free: 14.76 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007824/0.04161, allocations: 147.6 kB / 0.4917 GB, free: 14.72 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002759/0.04437, allocations: 1.275 MB / 0.4929 GB, free: 14.02 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003569/0.04473, allocations: 293.8 kB / 0.4932 GB, free: 13.89 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002937/0.04502, allocations: 59.73 kB / 0.4933 GB, free: 13.85 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001353/0.04516, allocations: 46.19 kB / 0.4933 GB, free: 13.81 MB / 426.7 MB Notification: Performance of SimCode: time 6.11e-07/0.04516, allocations: 0 / 0.4933 GB, free: 13.81 MB / 426.7 MB Notification: Performance of Templates: time 0.01386/0.05902, allocations: 5.794 MB / 0.499 GB, free: 10 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=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.687892623944208]