Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001382/0.001382, allocations: 92.7 kB / 19.44 MB, free: 324 kB / 13.93 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.00151/0.00151, allocations: 161.3 kB / 22.75 MB, free: 1.656 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.455/1.455, allocations: 177.1 MB / 203.1 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002631/0.002631, allocations: 233.9 kB / 259.8 MB, free: 12.84 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.08/1.08, allocations: 138.4 MB / 454.7 MB, free: 1.48 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset") translateModel(BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 0.5543 GB, free: 0.9023 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.031e-05/2.159e-05, allocations: 6.312 kB / 0.5543 GB, free: 0.8945 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset): time 0.005812/0.005833, allocations: 3.74 MB / 0.558 GB, free: 13.13 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002595/0.008428, allocations: 1.337 MB / 0.5593 GB, free: 11.79 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002843/0.008712, allocations: 27.81 kB / 0.5593 GB, free: 11.76 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003408/0.009053, allocations: 130.7 kB / 0.5594 GB, free: 11.63 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003868/0.00944, allocations: 190.2 kB / 0.5596 GB, free: 11.45 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000857/0.0103, allocations: 411.4 kB / 0.56 GB, free: 11.04 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.00111/0.01141, allocations: 0.9785 MB / 0.5609 GB, free: 10.06 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005302/0.01194, allocations: 294.6 kB / 0.5612 GB, free: 9.754 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006565/0.01259, allocations: 0.495 MB / 0.5617 GB, free: 9.258 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003496/0.01294, allocations: 251.2 kB / 0.5619 GB, free: 9.012 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001296/0.01307, allocations: 88 kB / 0.562 GB, free: 8.926 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001366/0.01321, allocations: 92 kB / 0.5621 GB, free: 8.836 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001755/0.01338, allocations: 175.4 kB / 0.5623 GB, free: 8.664 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002982/0.01368, allocations: 255.3 kB / 0.5625 GB, free: 8.414 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001218/0.0149, allocations: 1.09 MB / 0.5636 GB, free: 7.32 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.0149, allocations: 3.938 kB / 0.5636 GB, free: 7.316 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.976e-06/0.01491, allocations: 4 kB / 0.5636 GB, free: 7.312 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.696e-06/0.01492, allocations: 0 / 0.5636 GB, free: 7.312 MB / 490.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.002115/0.01703, allocations: 1.072 MB / 0.5646 GB, free: 6.199 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.01707, allocations: 8.75 kB / 0.5647 GB, free: 6.191 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002333/0.0173, allocations: 136.4 kB / 0.5648 GB, free: 6.059 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001023/0.01833, allocations: 0.5344 MB / 0.5653 GB, free: 5.496 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.411e-05/0.01838, allocations: 45.69 kB / 0.5654 GB, free: 5.449 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001107/0.01849, allocations: 64.33 kB / 0.5654 GB, free: 5.387 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00125/0.01974, allocations: 0.6544 MB / 0.5661 GB, free: 4.695 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.318e-05/0.01977, allocations: 4.172 kB / 0.5661 GB, free: 4.691 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.731e-05/0.01983, allocations: 28.12 kB / 0.5661 GB, free: 4.664 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.531e-05/0.01985, allocations: 12 kB / 0.5661 GB, free: 4.652 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001121/0.02097, allocations: 461 kB / 0.5665 GB, free: 4.203 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003006/0.02397, allocations: 1.714 MB / 0.5682 GB, free: 2.441 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001035/0.02501, allocations: 413.7 kB / 0.5686 GB, free: 2.023 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005105/0.02552, allocations: 226.3 kB / 0.5688 GB, free: 1.801 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.771e-05/0.02556, allocations: 12.48 kB / 0.5688 GB, free: 1.789 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006081/0.02617, allocations: 266.2 kB / 0.5691 GB, free: 1.516 MB / 490.7 MB Notification: Performance of pre-optimization done (n=49): time 1.764e-06/0.02617, allocations: 0 / 0.5691 GB, free: 1.516 MB / 490.7 MB Notification: Performance of matching and sorting (n=49): time 0.001495/0.02766, allocations: 0.5905 MB / 0.5697 GB, free: 0.918 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.841e-05/0.02772, allocations: 67.83 kB / 0.5697 GB, free: 0.8398 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005661/0.02829, allocations: 438.5 kB / 0.5701 GB, free: 412 kB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.615e-05/0.02833, allocations: 33.7 kB / 0.5702 GB, free: 372 kB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002953/0.02863, allocations: 332.8 kB / 0.5705 GB, free: 36 kB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001852/0.02881, allocations: 174.5 kB / 0.5707 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001825/0.029, allocations: 98.28 kB / 0.5708 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002902/0.02929, allocations: 362.8 kB / 0.5711 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004673/0.02975, allocations: 194.9 kB / 0.5713 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005372/0.03029, allocations: 284.4 kB / 0.5716 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009564/0.03125, allocations: 451.2 kB / 0.572 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.03125, allocations: 0 / 0.572 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001267/0.03252, allocations: 0.6099 MB / 0.5726 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.984e-05/0.03256, allocations: 37.73 kB / 0.5726 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.03257, allocations: 4 kB / 0.5726 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.241e-05/0.03259, allocations: 7.984 kB / 0.5726 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005444/0.03314, allocations: 115.8 kB / 0.5727 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.254e-05/0.03315, allocations: 7.984 kB / 0.5727 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003212/0.03347, allocations: 55.66 kB / 0.5728 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.59e-05/0.03351, allocations: 20 kB / 0.5728 GB, free: 13.54 MB / 0.4948 GB 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.0002794/0.03379, allocations: 213.7 kB / 0.573 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001195/0.03391, allocations: 67.67 kB / 0.5731 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001471/0.03406, allocations: 65.44 kB / 0.5732 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.102e-06/0.03407, allocations: 4 kB / 0.5732 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.03407, allocations: 3.938 kB / 0.5732 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.03408, allocations: 0 / 0.5732 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001881/0.03596, allocations: 1.004 MB / 0.5741 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.03596, allocations: 4 kB / 0.5741 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005223/0.03648, allocations: 95.88 kB / 0.5742 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.03649, allocations: 0 / 0.5742 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.857e-05/0.03653, allocations: 15.94 kB / 0.5742 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.639e-06/0.03653, allocations: 4 kB / 0.5743 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.03653, allocations: 0 / 0.5743 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001642/0.03817, allocations: 0.7748 MB / 0.575 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001807/0.03835, allocations: 87.62 kB / 0.5751 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.702e-05/0.03842, allocations: 15.94 kB / 0.5751 GB, free: 11.13 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003094/0.03873, allocations: 27.97 kB / 0.5751 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/0.03883, allocations: 32.44 kB / 0.5752 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.353e-05/0.03887, allocations: 15.98 kB / 0.5752 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0003811/0.03925, allocations: 295.1 kB / 0.5755 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.03925, allocations: 0 / 0.5755 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004744/0.03972, allocations: 147.6 kB / 0.5756 GB, free: 10.63 MB / 0.4948 GB 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.0001451/0.03987, allocations: 111.1 kB / 0.5757 GB, free: 10.51 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.00106/0.04093, allocations: 495.2 kB / 0.5762 GB, free: 10 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.04093, allocations: 0.5 kB / 0.5762 GB, free: 10 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004753/0.04141, allocations: 210.7 kB / 0.5764 GB, free: 9.801 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007894/0.0422, allocations: 158.7 kB / 0.5765 GB, free: 9.656 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002811/0.04501, allocations: 1.261 MB / 0.5778 GB, free: 8.352 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003388/0.04535, allocations: 296.7 kB / 0.578 GB, free: 8.035 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0002529/0.0456, allocations: 60.53 kB / 0.5781 GB, free: 7.973 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001406/0.04574, allocations: 48.5 kB / 0.5782 GB, free: 7.926 MB / 0.4948 GB Notification: Performance of SimCode: time 3.4e-07/0.04574, allocations: 0 / 0.5782 GB, free: 7.926 MB / 0.4948 GB Notification: Performance of Templates: time 0.01286/0.0586, allocations: 5.811 MB / 0.5838 GB, free: 2.258 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset.sim & ./BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.721231186995283]