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.001871/0.001871, allocations: 76.23 kB / 19.18 MB, free: 2.52 MB / 14.72 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.002686/0.002686, allocations: 165.1 kB / 22.45 MB, free: 5.371 MB / 14.72 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.469/1.469, allocations: 177.2 MB / 202.8 MB, free: 9.148 MB / 190.1 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.002546/0.002546, allocations: 234.6 kB / 259.4 MB, free: 456 kB / 238.1 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.077/1.077, allocations: 138.4 MB / 454.3 MB, free: 2.012 MB / 366.1 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.263e-06/1.263e-06, allocations: 3.938 kB / 0.6467 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.126e-05/2.252e-05, allocations: 2.281 kB / 0.6467 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset): time 0.00546/0.005482, allocations: 3.765 MB / 0.6504 GB, free: 1.289 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.2374/0.2429, allocations: 1.33 MB / 0.6517 GB, free: 53.21 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006622/0.2435, allocations: 31.28 kB / 0.6517 GB, free: 53.21 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004121/0.2439, allocations: 128.1 kB / 0.6519 GB, free: 53.21 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0005174/0.2444, allocations: 189.9 kB / 0.6521 GB, free: 53.19 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009013/0.2453, allocations: 429.4 kB / 0.6525 GB, free: 53.19 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0008733/0.2462, allocations: 0.9733 MB / 0.6534 GB, free: 53.01 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003915/0.2466, allocations: 291.9 kB / 0.6537 GB, free: 52.95 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004078/0.247, allocations: 0.5018 MB / 0.6542 GB, free: 52.91 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000238/0.2473, allocations: 241.1 kB / 0.6544 GB, free: 52.88 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.057e-05/0.2473, allocations: 91.12 kB / 0.6545 GB, free: 52.88 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.515e-05/0.2474, allocations: 90.19 kB / 0.6546 GB, free: 52.88 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.898e-05/0.2475, allocations: 180.2 kB / 0.6548 GB, free: 52.84 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001906/0.2477, allocations: 247.1 kB / 0.655 GB, free: 52.78 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0007118/0.2484, allocations: 1.093 MB / 0.6561 GB, free: 52.38 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.2484, allocations: 0 / 0.6561 GB, free: 52.38 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.052e-06/0.2484, allocations: 0 / 0.6561 GB, free: 52.38 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.307e-06/0.2485, allocations: 0 / 0.6561 GB, free: 52.38 MB / 0.5606 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.001532/0.25, allocations: 1.071 MB / 0.6571 GB, free: 51.67 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.175e-05/0.25, allocations: 11.19 kB / 0.6571 GB, free: 51.67 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001123/0.2501, allocations: 93.3 kB / 0.6572 GB, free: 51.62 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007534/0.2509, allocations: 0.4927 MB / 0.6577 GB, free: 51.3 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.341e-05/0.2509, allocations: 51.31 kB / 0.6577 GB, free: 51.28 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.985e-05/0.251, allocations: 58.09 kB / 0.6578 GB, free: 51.26 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009164/0.2519, allocations: 0.6506 MB / 0.6584 GB, free: 50.91 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.261e-05/0.2519, allocations: 4.25 kB / 0.6584 GB, free: 50.91 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.197e-05/0.252, allocations: 26.94 kB / 0.6585 GB, free: 50.89 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.13e-05/0.252, allocations: 17.81 kB / 0.6585 GB, free: 50.89 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008934/0.2529, allocations: 460.3 kB / 0.6589 GB, free: 50.73 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002153/0.2551, allocations: 1.692 MB / 0.6606 GB, free: 49.7 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008149/0.2559, allocations: 433 kB / 0.661 GB, free: 49.53 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003928/0.2563, allocations: 223.8 kB / 0.6612 GB, free: 49.44 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.74e-05/0.2563, allocations: 6.312 kB / 0.6612 GB, free: 49.44 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004802/0.2568, allocations: 256.5 kB / 0.6614 GB, free: 49.32 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=49): time 2.104e-06/0.2568, allocations: 0 / 0.6614 GB, free: 49.32 MB / 0.5606 GB Notification: Performance of matching and sorting (n=49): time 0.001163/0.2579, allocations: 0.5903 MB / 0.662 GB, free: 49.08 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.694e-05/0.258, allocations: 58.34 kB / 0.6621 GB, free: 49.02 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003618/0.2583, allocations: 435.1 kB / 0.6625 GB, free: 48.81 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.338e-05/0.2584, allocations: 33.7 kB / 0.6625 GB, free: 48.77 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001507/0.2585, allocations: 341.3 kB / 0.6628 GB, free: 48.5 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.17e-05/0.2586, allocations: 169.5 kB / 0.663 GB, free: 48.37 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001217/0.2587, allocations: 93.31 kB / 0.6631 GB, free: 48.32 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 6.857e-05/0.2588, allocations: 360.9 kB / 0.6634 GB, free: 47.98 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003613/0.2591, allocations: 196.4 kB / 0.6636 GB, free: 47.89 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003785/0.2595, allocations: 280.4 kB / 0.6639 GB, free: 47.71 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007097/0.2602, allocations: 456.5 kB / 0.6643 GB, free: 47.45 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.2602, allocations: 4 kB / 0.6643 GB, free: 47.45 MB / 0.5606 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0009259/0.2612, allocations: 0.5911 MB / 0.6649 GB, free: 47.16 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.408e-05/0.2612, allocations: 31.64 kB / 0.6649 GB, free: 47.13 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.2612, allocations: 3.125 kB / 0.6649 GB, free: 47.13 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.2612, allocations: 9.844 kB / 0.665 GB, free: 47.12 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004714/0.2617, allocations: 113.3 kB / 0.6651 GB, free: 47.12 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.2617, allocations: 9.969 kB / 0.6651 GB, free: 47.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003019/0.262, allocations: 56.5 kB / 0.6651 GB, free: 47.09 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.43e-05/0.262, allocations: 20.84 kB / 0.6651 GB, free: 47.08 MB / 0.5606 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.0001917/0.2622, allocations: 207.4 kB / 0.6653 GB, free: 46.91 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.757e-05/0.2623, allocations: 57.16 kB / 0.6654 GB, free: 46.88 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001153/0.2624, allocations: 67.47 kB / 0.6655 GB, free: 46.84 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.167e-06/0.2624, allocations: 5.75 kB / 0.6655 GB, free: 46.84 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.2624, allocations: 0 / 0.6655 GB, free: 46.84 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.2624, allocations: 7.266 kB / 0.6655 GB, free: 46.83 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001345/0.2638, allocations: 0.9952 MB / 0.6664 GB, free: 46.28 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.2638, allocations: 0.6875 kB / 0.6664 GB, free: 46.28 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000466/0.2642, allocations: 101.6 kB / 0.6665 GB, free: 46.27 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.2642, allocations: 0 / 0.6665 GB, free: 46.27 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.121e-05/0.2643, allocations: 7.031 kB / 0.6665 GB, free: 46.27 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.2643, allocations: 6.875 kB / 0.6666 GB, free: 46.26 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.2643, allocations: 5.828 kB / 0.6666 GB, free: 46.26 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001173/0.2654, allocations: 0.7618 MB / 0.6673 GB, free: 45.87 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001391/0.2656, allocations: 102.5 kB / 0.6674 GB, free: 45.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.05e-05/0.2656, allocations: 6.625 kB / 0.6674 GB, free: 45.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002945/0.2659, allocations: 28.67 kB / 0.6674 GB, free: 45.78 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.955e-05/0.266, allocations: 36.94 kB / 0.6675 GB, free: 45.78 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.738e-05/0.266, allocations: 11.88 kB / 0.6675 GB, free: 45.77 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002446/0.2663, allocations: 299.4 kB / 0.6678 GB, free: 45.62 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2663, allocations: 0 / 0.6678 GB, free: 45.62 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004006/0.2667, allocations: 145.8 kB / 0.6679 GB, free: 45.58 MB / 0.5606 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.0001041/0.2668, allocations: 117.1 kB / 0.668 GB, free: 45.48 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008032/0.2676, allocations: 488.1 kB / 0.6685 GB, free: 45.27 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.2676, allocations: 0 / 0.6685 GB, free: 45.27 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003688/0.268, allocations: 205.5 kB / 0.6687 GB, free: 45.21 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007429/0.2687, allocations: 147.9 kB / 0.6688 GB, free: 45.16 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002097/0.2708, allocations: 1.257 MB / 0.67 GB, free: 44.47 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001921/0.271, allocations: 289.2 kB / 0.6703 GB, free: 44.37 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002043/0.2712, allocations: 63.8 kB / 0.6704 GB, free: 44.36 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001174/0.2713, allocations: 42.09 kB / 0.6704 GB, free: 44.34 MB / 0.5606 GB Notification: Performance of SimCode: time 3.71e-07/0.2713, allocations: 0 / 0.6704 GB, free: 44.34 MB / 0.5606 GB Notification: Performance of Templates: time 0.01135/0.2827, allocations: 5.791 MB / 0.6761 GB, free: 43.7 MB / 0.5606 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.895442187786102] Failed to read output from testmodel.py, exit status != 0: 0.2903342843055725 0.30139431799999994 0.050354197 Calling exit ...