Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.0009129/0.0009129, allocations: 76.55 kB / 19.93 MB, free: 4.633 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.001062/0.001062, allocations: 177.9 kB / 23.21 MB, free: 1.352 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.918/0.918, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5666/0.5666, allocations: 114 MB / 373.9 MB, free: 8.691 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Controls.Continuous.Examples.LimPIDWithReset,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Continuous_Examples_LimPIDWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.Continuous.Examples.LimPIDWithReset,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Continuous_Examples_LimPIDWithReset",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 0 / 0.5541 GB, free: 2.828 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.554e-05/2.749e-05, allocations: 13.52 kB / 0.5542 GB, free: 2.816 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.LimPIDWithReset): time 0.003909/0.003936, allocations: 3.727 MB / 0.5578 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.002209/0.006145, allocations: 1.324 MB / 0.5591 GB, free: 13.74 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004239/0.006569, allocations: 27.81 kB / 0.5591 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0003032/0.006872, allocations: 130.6 kB / 0.5592 GB, free: 13.58 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.000327/0.007199, allocations: 194.2 kB / 0.5594 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007511/0.00795, allocations: 428.2 kB / 0.5598 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0008777/0.008828, allocations: 0.9785 MB / 0.5608 GB, free: 12 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004249/0.009253, allocations: 286.6 kB / 0.5611 GB, free: 11.7 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005391/0.009792, allocations: 0.4951 MB / 0.5615 GB, free: 11.2 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002808/0.01007, allocations: 247.2 kB / 0.5618 GB, free: 10.96 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 8.906e-05/0.01016, allocations: 88 kB / 0.5619 GB, free: 10.88 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 7.479e-05/0.01024, allocations: 92 kB / 0.562 GB, free: 10.79 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001047/0.01034, allocations: 179.3 kB / 0.5621 GB, free: 10.61 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.000197/0.01054, allocations: 255.3 kB / 0.5624 GB, free: 10.36 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0008828/0.01142, allocations: 1.083 MB / 0.5634 GB, free: 9.273 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.01143, allocations: 0 / 0.5634 GB, free: 9.273 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.733e-06/0.01143, allocations: 0 / 0.5634 GB, free: 9.273 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 2.585e-05/0.01145, allocations: 0 / 0.5634 GB, free: 9.273 MB / 0.5261 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.001453/0.01291, allocations: 1.074 MB / 0.5645 GB, free: 8.156 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.983e-05/0.01296, allocations: 15.97 kB / 0.5645 GB, free: 8.141 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.189e-05/0.01304, allocations: 98.7 kB / 0.5646 GB, free: 8.035 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.793e-05/0.01314, allocations: 92.36 kB / 0.5647 GB, free: 7.945 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006497/0.01379, allocations: 0.503 MB / 0.5652 GB, free: 7.418 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.869e-05/0.01381, allocations: 41.69 kB / 0.5652 GB, free: 7.379 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.236e-05/0.01388, allocations: 56.38 kB / 0.5653 GB, free: 7.324 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007476/0.01462, allocations: 0.6622 MB / 0.5659 GB, free: 6.625 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.936e-05/0.01464, allocations: 4.188 kB / 0.5659 GB, free: 6.621 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.924e-05/0.01468, allocations: 24.12 kB / 0.5659 GB, free: 6.598 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.192e-05/0.0147, allocations: 16 kB / 0.5659 GB, free: 6.582 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006236/0.01532, allocations: 461 kB / 0.5664 GB, free: 6.133 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001906/0.01723, allocations: 1.776 MB / 0.5681 GB, free: 4.293 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006186/0.01784, allocations: 417.5 kB / 0.5685 GB, free: 3.871 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003088/0.01815, allocations: 226.3 kB / 0.5687 GB, free: 3.648 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 4.216e-05/0.01819, allocations: 4.5 kB / 0.5687 GB, free: 3.645 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004696/0.01866, allocations: 258.2 kB / 0.569 GB, free: 3.383 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=49): time 8.146e-06/0.01867, allocations: 3.984 kB / 0.569 GB, free: 3.379 MB / 0.5261 GB Notification: Performance of matching and sorting (n=49): time 0.0009371/0.01961, allocations: 0.5942 MB / 0.5696 GB, free: 2.781 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.536e-05/0.01964, allocations: 59.91 kB / 0.5696 GB, free: 2.711 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003914/0.02004, allocations: 454.6 kB / 0.5701 GB, free: 2.258 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.377e-05/0.02007, allocations: 33.7 kB / 0.5701 GB, free: 2.219 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001894/0.02026, allocations: 332.8 kB / 0.5704 GB, free: 1.887 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 9.858e-05/0.02036, allocations: 170.5 kB / 0.5706 GB, free: 1.719 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001125/0.02047, allocations: 94.33 kB / 0.5707 GB, free: 1.621 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000122/0.02059, allocations: 362.8 kB / 0.571 GB, free: 1.258 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002566/0.02085, allocations: 194.9 kB / 0.5712 GB, free: 1.062 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002776/0.02113, allocations: 288.3 kB / 0.5715 GB, free: 0.75 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005142/0.02164, allocations: 443.3 kB / 0.5719 GB, free: 288 kB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.02165, allocations: 7.938 kB / 0.5719 GB, free: 280 kB / 0.5261 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0006823/0.02233, allocations: 0.5904 MB / 0.5725 GB, free: 15.67 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 3.866e-05/0.02237, allocations: 37.7 kB / 0.5725 GB, free: 15.62 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.02237, allocations: 0 / 0.5725 GB, free: 15.62 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.013e-05/0.02239, allocations: 11.92 kB / 0.5725 GB, free: 15.61 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002766/0.02267, allocations: 107.9 kB / 0.5726 GB, free: 15.51 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.276e-05/0.02268, allocations: 11.92 kB / 0.5726 GB, free: 15.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001909/0.02287, allocations: 59.61 kB / 0.5727 GB, free: 15.44 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.177e-05/0.0229, allocations: 16 kB / 0.5727 GB, free: 15.42 MB / 0.5417 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.0002019/0.0231, allocations: 211.4 kB / 0.5729 GB, free: 15.21 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.56e-05/0.02314, allocations: 55.67 kB / 0.573 GB, free: 15.15 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.756e-05/0.02323, allocations: 65.58 kB / 0.573 GB, free: 15.09 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.084e-06/0.02324, allocations: 15.81 kB / 0.573 GB, free: 15.07 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/0.02325, allocations: 4 kB / 0.573 GB, free: 15.07 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.02325, allocations: 0 / 0.573 GB, free: 15.07 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001181/0.02443, allocations: 1.074 MB / 0.5741 GB, free: 13.95 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/0.02444, allocations: 3.938 kB / 0.5741 GB, free: 13.94 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002493/0.02468, allocations: 95.88 kB / 0.5742 GB, free: 13.85 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.948e-06/0.02469, allocations: 0 / 0.5742 GB, free: 13.85 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.238e-05/0.02471, allocations: 12 kB / 0.5742 GB, free: 13.84 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.02471, allocations: 7.938 kB / 0.5742 GB, free: 13.83 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.02472, allocations: 0 / 0.5742 GB, free: 13.83 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008374/0.02555, allocations: 0.767 MB / 0.575 GB, free: 13.04 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001198/0.02567, allocations: 95.52 kB / 0.5751 GB, free: 12.95 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.683e-05/0.02571, allocations: 12 kB / 0.5751 GB, free: 12.94 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001363/0.02585, allocations: 19.98 kB / 0.5751 GB, free: 12.92 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.413e-05/0.02592, allocations: 44.36 kB / 0.5751 GB, free: 12.88 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.755e-05/0.02594, allocations: 12 kB / 0.5751 GB, free: 12.86 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0002417/0.02618, allocations: 310.9 kB / 0.5754 GB, free: 12.56 MB / 0.5417 GB Notification: Performance of sort global known variables: time 7e-08/0.02618, allocations: 0 / 0.5754 GB, free: 12.56 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003256/0.0265, allocations: 147.6 kB / 0.5756 GB, free: 12.42 MB / 0.5417 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.001055/0.02756, allocations: 1.326 MB / 0.5769 GB, free: 11.07 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.000622/0.02818, allocations: 495.3 kB / 0.5773 GB, free: 10.57 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.02818, allocations: 0 / 0.5773 GB, free: 10.57 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0002434/0.02843, allocations: 202.8 kB / 0.5775 GB, free: 10.37 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005036/0.02893, allocations: 154.7 kB / 0.5777 GB, free: 10.23 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004962/0.03389, allocations: 4.833 MB / 0.5824 GB, free: 5.219 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002033/0.0341, allocations: 292.5 kB / 0.5827 GB, free: 4.906 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.000223/0.03432, allocations: 64.58 kB / 0.5827 GB, free: 4.844 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002164/0.03454, allocations: 220.4 kB / 0.583 GB, free: 4.629 MB / 0.5417 GB Notification: Performance of SimCode: time 1.212e-06/0.03454, allocations: 0 / 0.583 GB, free: 4.629 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0285/0.06304, allocations: 12.51 MB / 0.5952 GB, free: 8.418 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.251/7.314, allocations: 15.12 kB / 0.5952 GB, free: 8.406 MB / 0.5573 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_Controls_Continuous_Examples_LimPIDWithReset.fmu > IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.24160541407764] Failed to read output from testmodel.py, exit status != 0: 7.400375058874488 7.414695488 7.400486386 Calling exit ...