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.0008051/0.0008051, 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.000797/0.000797, 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.8835/0.8835, 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.001469/0.001469, allocations: 233.5 kB / 259.4 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.6954/0.6954, 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.593e-06/1.593e-06, allocations: 0 / 0.6462 GB, free: 1.945 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.565e-05/1.724e-05, allocations: 6.219 kB / 0.6462 GB, free: 1.938 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset): time 0.2561/0.2561, allocations: 3.758 MB / 0.6499 GB, free: 55.18 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.001965/0.258, allocations: 1.321 MB / 0.6512 GB, free: 54.75 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002795/0.2583, allocations: 28.22 kB / 0.6512 GB, free: 54.73 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0002759/0.2586, allocations: 132 kB / 0.6514 GB, free: 54.64 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0002436/0.2588, allocations: 188.7 kB / 0.6515 GB, free: 54.5 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006037/0.2594, allocations: 423.7 kB / 0.6519 GB, free: 54.25 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0005959/0.26, allocations: 0.9792 MB / 0.6529 GB, free: 53.7 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003669/0.2604, allocations: 287.9 kB / 0.6532 GB, free: 53.52 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003991/0.2608, allocations: 0.4956 MB / 0.6537 GB, free: 53.27 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002284/0.261, allocations: 248.3 kB / 0.6539 GB, free: 53.16 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 8.904e-05/0.2611, allocations: 89.38 kB / 0.654 GB, free: 53.16 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 8.132e-05/0.2612, allocations: 93.22 kB / 0.6541 GB, free: 53.16 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 8.891e-05/0.2613, allocations: 177.3 kB / 0.6542 GB, free: 53.04 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001736/0.2615, allocations: 250.2 kB / 0.6545 GB, free: 52.9 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0009259/0.2624, allocations: 1.085 MB / 0.6555 GB, free: 52.45 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.2624, allocations: 2.469 kB / 0.6555 GB, free: 52.45 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.975e-06/0.2624, allocations: 1.406 kB / 0.6555 GB, free: 52.45 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.151e-05/0.2624, allocations: 0 / 0.6555 GB, free: 52.45 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.001227/0.2636, allocations: 1.076 MB / 0.6566 GB, free: 51.73 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.2637, allocations: 11.78 kB / 0.6566 GB, free: 51.73 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.611e-05/0.2638, allocations: 99.36 kB / 0.6567 GB, free: 51.66 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.011e-05/0.2639, allocations: 91.52 kB / 0.6568 GB, free: 51.61 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006539/0.2645, allocations: 0.4954 MB / 0.6573 GB, free: 51.27 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.862e-05/0.2645, allocations: 42.72 kB / 0.6573 GB, free: 51.25 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.281e-05/0.2646, allocations: 62.33 kB / 0.6574 GB, free: 51.23 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007073/0.2653, allocations: 0.6627 MB / 0.658 GB, free: 50.87 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.984e-05/0.2653, allocations: 2.719 kB / 0.658 GB, free: 50.87 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.436e-05/0.2654, allocations: 25.72 kB / 0.658 GB, free: 50.85 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.417e-05/0.2654, allocations: 14.59 kB / 0.6581 GB, free: 50.85 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006115/0.266, allocations: 462.5 kB / 0.6585 GB, free: 50.69 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001869/0.2679, allocations: 1.78 MB / 0.6602 GB, free: 49.55 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006129/0.2685, allocations: 423.2 kB / 0.6606 GB, free: 49.38 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003076/0.2688, allocations: 225.1 kB / 0.6609 GB, free: 49.29 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 4.346e-05/0.2688, allocations: 4.25 kB / 0.6609 GB, free: 49.29 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004398/0.2693, allocations: 258.3 kB / 0.6611 GB, free: 49.17 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=49): time 2.165e-06/0.2693, allocations: 0.9375 kB / 0.6611 GB, free: 49.17 MB / 0.5573 GB Notification: Performance of matching and sorting (n=49): time 0.0009111/0.2702, allocations: 0.5932 MB / 0.6617 GB, free: 48.92 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.662e-05/0.2702, allocations: 60.11 kB / 0.6617 GB, free: 48.86 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000377/0.2706, allocations: 450 kB / 0.6622 GB, free: 48.63 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.579e-05/0.2706, allocations: 36.73 kB / 0.6622 GB, free: 48.59 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001553/0.2708, allocations: 333.2 kB / 0.6625 GB, free: 48.33 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 7.27e-05/0.2709, allocations: 176.9 kB / 0.6627 GB, free: 48.19 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.774e-05/0.271, allocations: 89.83 kB / 0.6628 GB, free: 48.14 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 7.315e-05/0.271, allocations: 366.1 kB / 0.6631 GB, free: 47.8 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002579/0.2713, allocations: 193.1 kB / 0.6633 GB, free: 47.71 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002956/0.2716, allocations: 283.2 kB / 0.6636 GB, free: 47.53 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005309/0.2721, allocations: 452.6 kB / 0.664 GB, free: 47.26 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.2721, allocations: 3.938 kB / 0.664 GB, free: 47.26 MB / 0.5573 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0007067/0.2728, allocations: 0.5904 MB / 0.6646 GB, free: 46.96 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 4.203e-05/0.2729, allocations: 37.27 kB / 0.6646 GB, free: 46.92 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.238e-06/0.2729, allocations: 3.203 kB / 0.6646 GB, free: 46.92 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.187e-05/0.2729, allocations: 9.938 kB / 0.6646 GB, free: 46.92 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003185/0.2732, allocations: 113.4 kB / 0.6648 GB, free: 46.91 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.196e-05/0.2732, allocations: 9.266 kB / 0.6648 GB, free: 46.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001755/0.2734, allocations: 60.56 kB / 0.6648 GB, free: 46.87 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.676e-05/0.2734, allocations: 19.92 kB / 0.6648 GB, free: 46.86 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.0001964/0.2736, allocations: 203.1 kB / 0.665 GB, free: 46.69 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.189e-05/0.2737, allocations: 54.7 kB / 0.6651 GB, free: 46.66 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.733e-05/0.2738, allocations: 68.86 kB / 0.6651 GB, free: 46.61 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/0.2738, allocations: 13.47 kB / 0.6652 GB, free: 46.61 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.788e-06/0.2738, allocations: 1.219 kB / 0.6652 GB, free: 46.61 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.2738, allocations: 2.016 kB / 0.6652 GB, free: 46.61 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00119/0.275, allocations: 1.073 MB / 0.6662 GB, free: 45.99 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.275, allocations: 3.938 kB / 0.6662 GB, free: 45.99 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002664/0.2753, allocations: 95.56 kB / 0.6663 GB, free: 45.98 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.117e-06/0.2753, allocations: 5.688 kB / 0.6663 GB, free: 45.98 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.122e-05/0.2753, allocations: 12.67 kB / 0.6663 GB, free: 45.97 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.2753, allocations: 5.594 kB / 0.6663 GB, free: 45.96 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.2753, allocations: 0.7969 kB / 0.6663 GB, free: 45.96 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008225/0.2761, allocations: 0.7546 MB / 0.6671 GB, free: 45.58 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001169/0.2762, allocations: 103.6 kB / 0.6672 GB, free: 45.51 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.936e-05/0.2763, allocations: 17.47 kB / 0.6672 GB, free: 45.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001376/0.2764, allocations: 21.56 kB / 0.6672 GB, free: 45.49 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.977e-05/0.2765, allocations: 38.83 kB / 0.6672 GB, free: 45.48 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.066e-05/0.2765, allocations: 15.25 kB / 0.6673 GB, free: 45.48 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0002272/0.2767, allocations: 307.7 kB / 0.6675 GB, free: 45.33 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2767, allocations: 1.844 kB / 0.6676 GB, free: 45.33 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0003152/0.2771, allocations: 136.5 kB / 0.6677 GB, free: 45.29 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.0009984/0.2781, allocations: 1.331 MB / 0.669 GB, free: 44.35 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0005913/0.2787, allocations: 492.2 kB / 0.6694 GB, free: 44.11 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2787, allocations: 2.625 kB / 0.6695 GB, free: 44.11 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002599/0.2789, allocations: 205.9 kB / 0.6696 GB, free: 44.05 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005454/0.2795, allocations: 156.3 kB / 0.6698 GB, free: 44.01 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004432/0.2839, allocations: 4.827 MB / 0.6745 GB, free: 41.13 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001704/0.2841, allocations: 294.6 kB / 0.6748 GB, free: 41.04 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0002007/0.2843, allocations: 66 kB / 0.6749 GB, free: 41.02 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000189/0.2845, allocations: 217.3 kB / 0.6751 GB, free: 40.86 MB / 0.5573 GB Notification: Performance of SimCode: time 1.012e-06/0.2845, allocations: 0 / 0.6751 GB, free: 40.86 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0328/0.3173, allocations: 12.56 MB / 0.6873 GB, free: 39 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.186/7.503, allocations: 1.375 kB / 0.6873 GB, free: 39 MB / 0.5573 GB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Controls_Continuous_Examples_LimPIDWithReset_fmu --startTime=0 --stopTime=600 --stepSize=0.24 --timeout=50 --tolerance=1e-06 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.231044406071305] Failed to read output from testmodel.py, exit status != 0: 7.5892712492495775 7.599324546 7.334404163 Calling exit ...