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.0009065/0.0009065, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 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.0008542/0.0008542, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.9186/0.9186, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.002243/0.002243, allocations: 238.8 kB / 259.4 MB, free: 13.01 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.7239/0.7239, allocations: 138.4 MB / 454.3 MB, free: 30.07 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: "" <> buildModelFMU(BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_Continuous_Examples_LimPIDWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_Continuous_Examples_LimPIDWithReset",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.953e-06/1.953e-06, allocations: 0 / 0.6462 GB, free: 1.922 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.242e-05/2.438e-05, allocations: 9.312 kB / 0.6463 GB, free: 1.914 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset): time 0.2579/0.2579, allocations: 3.755 MB / 0.6499 GB, free: 55.36 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0018/0.2597, allocations: 1.322 MB / 0.6512 GB, free: 54.88 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002889/0.26, allocations: 28.75 kB / 0.6512 GB, free: 54.87 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0002627/0.2602, allocations: 131.6 kB / 0.6514 GB, free: 54.77 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0002451/0.2605, allocations: 189.1 kB / 0.6515 GB, free: 54.63 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.000603/0.2611, allocations: 425.5 kB / 0.652 GB, free: 54.38 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0006117/0.2617, allocations: 0.9743 MB / 0.6529 GB, free: 53.84 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003519/0.2621, allocations: 289 kB / 0.6532 GB, free: 53.66 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004068/0.2625, allocations: 0.4981 MB / 0.6537 GB, free: 53.4 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002247/0.2627, allocations: 244.2 kB / 0.6539 GB, free: 53.3 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 8.536e-05/0.2628, allocations: 92.78 kB / 0.654 GB, free: 53.3 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 7.561e-05/0.2628, allocations: 89.88 kB / 0.6541 GB, free: 53.3 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 8.048e-05/0.2629, allocations: 179.9 kB / 0.6542 GB, free: 53.17 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001634/0.2631, allocations: 246.3 kB / 0.6545 GB, free: 53.04 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0007668/0.2639, allocations: 1.096 MB / 0.6555 GB, free: 52.58 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.2639, allocations: 0.8125 kB / 0.6555 GB, free: 52.58 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.302e-06/0.2639, allocations: 0 / 0.6555 GB, free: 52.58 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.103e-05/0.2639, allocations: 0 / 0.6555 GB, free: 52.58 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.00113/0.265, allocations: 1.067 MB / 0.6566 GB, free: 51.87 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.265, allocations: 11.44 kB / 0.6566 GB, free: 51.87 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.454e-05/0.2651, allocations: 102 kB / 0.6567 GB, free: 51.8 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.651e-05/0.2652, allocations: 89.84 kB / 0.6568 GB, free: 51.75 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005908/0.2658, allocations: 0.501 MB / 0.6573 GB, free: 51.4 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.596e-05/0.2658, allocations: 46.12 kB / 0.6573 GB, free: 51.38 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.89e-05/0.2659, allocations: 55.66 kB / 0.6574 GB, free: 51.36 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006663/0.2665, allocations: 0.6638 MB / 0.658 GB, free: 51 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.692e-05/0.2666, allocations: 192 / 0.658 GB, free: 51 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.625e-05/0.2666, allocations: 31.92 kB / 0.6581 GB, free: 50.98 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.239e-05/0.2666, allocations: 18.88 kB / 0.6581 GB, free: 50.98 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006027/0.2672, allocations: 456.9 kB / 0.6585 GB, free: 50.82 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001688/0.2689, allocations: 1.773 MB / 0.6602 GB, free: 49.68 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005351/0.2694, allocations: 429.7 kB / 0.6606 GB, free: 49.51 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002576/0.2697, allocations: 221.3 kB / 0.6609 GB, free: 49.42 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.843e-05/0.2697, allocations: 7.547 kB / 0.6609 GB, free: 49.42 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003327/0.2701, allocations: 263 kB / 0.6611 GB, free: 49.3 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=49): time 1.883e-06/0.2701, allocations: 1.906 kB / 0.6611 GB, free: 49.3 MB / 0.5573 GB Notification: Performance of matching and sorting (n=49): time 0.000795/0.2709, allocations: 0.5866 MB / 0.6617 GB, free: 49.06 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.293e-05/0.2709, allocations: 57.25 kB / 0.6617 GB, free: 48.99 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003365/0.2712, allocations: 450.3 kB / 0.6622 GB, free: 48.77 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.559e-05/0.2712, allocations: 38.42 kB / 0.6622 GB, free: 48.73 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.000134/0.2714, allocations: 332.9 kB / 0.6625 GB, free: 48.47 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 6.894e-05/0.2715, allocations: 179.2 kB / 0.6627 GB, free: 48.32 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.686e-05/0.2715, allocations: 92.61 kB / 0.6628 GB, free: 48.27 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 6.741e-05/0.2716, allocations: 364.8 kB / 0.6631 GB, free: 47.94 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002407/0.2719, allocations: 193.9 kB / 0.6633 GB, free: 47.85 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002494/0.2721, allocations: 273.5 kB / 0.6636 GB, free: 47.67 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004609/0.2726, allocations: 457.3 kB / 0.664 GB, free: 47.4 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.2726, allocations: 0 / 0.664 GB, free: 47.4 MB / 0.5573 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.000598/0.2732, allocations: 0.5942 MB / 0.6646 GB, free: 47.09 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.823e-05/0.2732, allocations: 34.83 kB / 0.6646 GB, free: 47.06 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.2732, allocations: 1.625 kB / 0.6646 GB, free: 47.06 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.2732, allocations: 10 kB / 0.6646 GB, free: 47.06 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002749/0.2735, allocations: 112 kB / 0.6647 GB, free: 47.05 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.909e-06/0.2735, allocations: 9.641 kB / 0.6648 GB, free: 47.04 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000153/0.2737, allocations: 60.83 kB / 0.6648 GB, free: 47.01 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.307e-05/0.2737, allocations: 19.38 kB / 0.6648 GB, free: 47 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.0001475/0.2738, allocations: 211.1 kB / 0.665 GB, free: 46.83 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.043e-05/0.2739, allocations: 53.14 kB / 0.6651 GB, free: 46.8 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.623e-05/0.2739, allocations: 66.77 kB / 0.6651 GB, free: 46.75 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.2739, allocations: 9.469 kB / 0.6652 GB, free: 46.75 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.274, allocations: 0 / 0.6652 GB, free: 46.75 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.815e-06/0.274, allocations: 6.578 kB / 0.6652 GB, free: 46.75 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001029/0.275, allocations: 1.081 MB / 0.6662 GB, free: 46.12 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.275, allocations: 3.938 kB / 0.6662 GB, free: 46.12 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002475/0.2752, allocations: 90.17 kB / 0.6663 GB, free: 46.12 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.2752, allocations: 1.656 kB / 0.6663 GB, free: 46.12 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.1e-05/0.2753, allocations: 15.95 kB / 0.6663 GB, free: 46.11 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.2753, allocations: 5.781 kB / 0.6663 GB, free: 46.11 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.2753, allocations: 0 / 0.6663 GB, free: 46.11 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007648/0.276, allocations: 0.7625 MB / 0.6671 GB, free: 45.71 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001051/0.2761, allocations: 99.3 kB / 0.6672 GB, free: 45.64 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.73e-05/0.2762, allocations: 14.16 kB / 0.6672 GB, free: 45.64 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001345/0.2763, allocations: 30.64 kB / 0.6672 GB, free: 45.62 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.292e-05/0.2764, allocations: 33.16 kB / 0.6672 GB, free: 45.62 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.156e-05/0.2764, allocations: 14.05 kB / 0.6673 GB, free: 45.62 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0002221/0.2766, allocations: 310.8 kB / 0.6676 GB, free: 45.46 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6e-08/0.2766, allocations: 0 / 0.6676 GB, free: 45.46 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002677/0.2769, allocations: 140.6 kB / 0.6677 GB, free: 45.43 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 0.0008866/0.2778, allocations: 1.322 MB / 0.669 GB, free: 44.48 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0005238/0.2783, allocations: 486.5 kB / 0.6694 GB, free: 44.26 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.2783, allocations: 2.625 kB / 0.6694 GB, free: 44.26 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.000236/0.2786, allocations: 218.6 kB / 0.6697 GB, free: 44.18 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004479/0.279, allocations: 151.9 kB / 0.6698 GB, free: 44.14 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00399/0.283, allocations: 4.818 MB / 0.6745 GB, free: 41.27 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001467/0.2831, allocations: 300.4 kB / 0.6748 GB, free: 41.17 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0001559/0.2833, allocations: 59.09 kB / 0.6748 GB, free: 41.16 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001763/0.2835, allocations: 221.9 kB / 0.6751 GB, free: 40.99 MB / 0.5573 GB Notification: Performance of SimCode: time 1.032e-06/0.2835, allocations: 0 / 0.6751 GB, free: 40.99 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02578/0.3093, allocations: 12.56 MB / 0.6873 GB, free: 39.11 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.079/7.388, allocations: 6.844 kB / 0.6873 GB, free: 39.11 MB / 0.5573 GB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset_res.csv --start-time 0 --stop-time 600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.24 BuildingSystems_BuildingSystems_Controls_Continuous_Examples_LimPIDWithReset.fmu > BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.447361099533737] Failed to read output from testmodel.py, exit status != 0: 7.47243985068053 7.47974515 7.214203278 Calling exit ...