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.0008161/0.0008161, allocations: 76.5 kB / 19.93 MB, free: 4.621 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.0007829/0.0007829, allocations: 177.9 kB / 23.21 MB, free: 1.34 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 0.8601/0.8601, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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.001443/0.001443, allocations: 229.4 kB / 260.2 MB, free: 13.02 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 0.7017/0.7017, allocations: 138.4 MB / 455.1 MB, free: 29.99 MB / 410.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.703e-06/1.703e-06, allocations: 0 / 0.6475 GB, free: 1.418 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.345e-05/2.516e-05, allocations: 13.23 kB / 0.6475 GB, free: 1.406 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset): time 0.2449/0.2449, allocations: 3.745 MB / 0.6511 GB, free: 55.41 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.001545/0.2465, allocations: 1.333 MB / 0.6524 GB, free: 54.84 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002669/0.2467, allocations: 31.97 kB / 0.6525 GB, free: 54.82 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0002554/0.247, allocations: 125.4 kB / 0.6526 GB, free: 54.73 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0002297/0.2472, allocations: 198.4 kB / 0.6528 GB, free: 54.58 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005552/0.2478, allocations: 417.8 kB / 0.6532 GB, free: 54.34 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0005838/0.2484, allocations: 0.9787 MB / 0.6541 GB, free: 53.79 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003413/0.2487, allocations: 287.9 kB / 0.6544 GB, free: 53.61 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003709/0.2491, allocations: 0.4962 MB / 0.6549 GB, free: 53.36 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000209/0.2493, allocations: 239.6 kB / 0.6551 GB, free: 53.26 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 8.401e-05/0.2494, allocations: 90.69 kB / 0.6552 GB, free: 53.26 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 8.13e-05/0.2495, allocations: 91.81 kB / 0.6553 GB, free: 53.26 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 7.524e-05/0.2495, allocations: 180.2 kB / 0.6555 GB, free: 53.13 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001553/0.2497, allocations: 250.6 kB / 0.6557 GB, free: 53 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0007441/0.2504, allocations: 1.092 MB / 0.6568 GB, free: 52.54 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.2504, allocations: 0 / 0.6568 GB, free: 52.54 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.302e-06/0.2504, allocations: 1.656 kB / 0.6568 GB, free: 52.54 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.05e-05/0.2504, allocations: 0 / 0.6568 GB, free: 52.54 MB / 0.5573 GB 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.001129/0.2516, allocations: 1.067 MB / 0.6578 GB, free: 51.83 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.304e-05/0.2516, allocations: 10.22 kB / 0.6578 GB, free: 51.83 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.619e-05/0.2517, allocations: 91.2 kB / 0.6579 GB, free: 51.79 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005784/0.2523, allocations: 0.5025 MB / 0.6584 GB, free: 51.44 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.83e-05/0.2523, allocations: 45.97 kB / 0.6585 GB, free: 51.41 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.366e-05/0.2524, allocations: 64.47 kB / 0.6585 GB, free: 51.39 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006658/0.253, allocations: 0.6493 MB / 0.6591 GB, free: 51.04 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.759e-05/0.2531, allocations: 2.156 kB / 0.6591 GB, free: 51.04 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.38e-05/0.2531, allocations: 26.86 kB / 0.6592 GB, free: 51.02 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.159e-05/0.2531, allocations: 19.31 kB / 0.6592 GB, free: 51.02 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005844/0.2537, allocations: 458.5 kB / 0.6596 GB, free: 50.86 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001587/0.2553, allocations: 1.701 MB / 0.6613 GB, free: 49.77 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005341/0.2558, allocations: 423 kB / 0.6617 GB, free: 49.6 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002615/0.2561, allocations: 224.9 kB / 0.6619 GB, free: 49.51 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.997e-05/0.2561, allocations: 5.75 kB / 0.6619 GB, free: 49.51 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003264/0.2564, allocations: 260.2 kB / 0.6622 GB, free: 49.39 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=49): time 2.524e-06/0.2564, allocations: 0 / 0.6622 GB, free: 49.39 MB / 0.5573 GB Notification: Performance of matching and sorting (n=49): time 0.0007657/0.2572, allocations: 0.5862 MB / 0.6627 GB, free: 49.15 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.722e-05/0.2572, allocations: 66.69 kB / 0.6628 GB, free: 49.07 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002962/0.2575, allocations: 429.3 kB / 0.6632 GB, free: 48.87 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.36e-05/0.2575, allocations: 41.17 kB / 0.6632 GB, free: 48.82 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001285/0.2577, allocations: 334.6 kB / 0.6636 GB, free: 48.55 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 6.688e-05/0.2577, allocations: 166.7 kB / 0.6637 GB, free: 48.42 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.081e-05/0.2578, allocations: 92.78 kB / 0.6638 GB, free: 48.37 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 5.703e-05/0.2579, allocations: 365.8 kB / 0.6642 GB, free: 48.04 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002321/0.2581, allocations: 197.3 kB / 0.6644 GB, free: 47.94 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002557/0.2584, allocations: 282.8 kB / 0.6646 GB, free: 47.76 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004588/0.2588, allocations: 453 kB / 0.6651 GB, free: 47.49 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.2588, allocations: 1.75 kB / 0.6651 GB, free: 47.49 MB / 0.5573 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0005974/0.2594, allocations: 0.5902 MB / 0.6656 GB, free: 47.19 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.503e-05/0.2595, allocations: 37.48 kB / 0.6657 GB, free: 47.15 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.2595, allocations: 2.828 kB / 0.6657 GB, free: 47.15 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.2595, allocations: 4.844 kB / 0.6657 GB, free: 47.15 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002684/0.2597, allocations: 112.1 kB / 0.6658 GB, free: 47.14 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.437e-06/0.2598, allocations: 9.328 kB / 0.6658 GB, free: 47.14 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001513/0.2599, allocations: 58.05 kB / 0.6658 GB, free: 47.11 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.262e-05/0.2599, allocations: 19.48 kB / 0.6659 GB, free: 47.1 MB / 0.5573 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.0001477/0.2601, allocations: 213.4 kB / 0.6661 GB, free: 46.92 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.096e-05/0.2601, allocations: 60.27 kB / 0.6661 GB, free: 46.89 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.069e-05/0.2602, allocations: 65.59 kB / 0.6662 GB, free: 46.85 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.2602, allocations: 3.719 kB / 0.6662 GB, free: 46.85 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.2602, allocations: 8.094 kB / 0.6662 GB, free: 46.84 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.2602, allocations: 2.953 kB / 0.6662 GB, free: 46.84 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009758/0.2612, allocations: 0.9962 MB / 0.6672 GB, free: 46.27 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.2612, allocations: 0 / 0.6672 GB, free: 46.27 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002487/0.2614, allocations: 99.2 kB / 0.6673 GB, free: 46.26 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-06/0.2614, allocations: 1.25 kB / 0.6673 GB, free: 46.26 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.968e-05/0.2615, allocations: 13.72 kB / 0.6673 GB, free: 46.25 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.2615, allocations: 1.031 kB / 0.6673 GB, free: 46.25 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.2615, allocations: 1.969 kB / 0.6673 GB, free: 46.25 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007651/0.2622, allocations: 0.7616 MB / 0.668 GB, free: 45.86 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001069/0.2623, allocations: 93.78 kB / 0.6681 GB, free: 45.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.48e-05/0.2624, allocations: 15.86 kB / 0.6681 GB, free: 45.79 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001318/0.2625, allocations: 26.7 kB / 0.6682 GB, free: 45.78 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.782e-05/0.2626, allocations: 35.7 kB / 0.6682 GB, free: 45.77 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.717e-05/0.2626, allocations: 16.3 kB / 0.6682 GB, free: 45.77 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0001975/0.2628, allocations: 299.5 kB / 0.6685 GB, free: 45.61 MB / 0.5573 GB Notification: Performance of sort global known variables: time 8e-08/0.2628, allocations: 4 kB / 0.6685 GB, free: 45.61 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002721/0.2631, allocations: 146.8 kB / 0.6686 GB, free: 45.57 MB / 0.5573 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 8.676e-05/0.2631, allocations: 111.7 kB / 0.6687 GB, free: 45.46 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.000553/0.2637, allocations: 488.5 kB / 0.6692 GB, free: 45.24 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.2637, allocations: 4 kB / 0.6692 GB, free: 45.23 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.000243/0.2639, allocations: 201 kB / 0.6694 GB, free: 45.17 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004503/0.2644, allocations: 152.8 kB / 0.6696 GB, free: 45.12 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001491/0.2659, allocations: 1.286 MB / 0.6708 GB, free: 44.38 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000175/0.2661, allocations: 293.6 kB / 0.6711 GB, free: 44.28 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001037/0.2662, allocations: 46.22 kB / 0.6711 GB, free: 44.27 MB / 0.5573 GB Notification: Performance of SimCode: time 7.81e-07/0.2662, allocations: 0 / 0.6711 GB, free: 44.27 MB / 0.5573 GB Notification: Performance of Templates: time 0.007829/0.274, allocations: 7.832 MB / 0.6788 GB, free: 43.39 MB / 0.5573 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.435610678978264] Failed to read output from testmodel.py, exit status != 0: 0.27938808035105467 0.28726363699999996 0.03516562 Calling exit ...