Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.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.0007306/0.0007306, allocations: 72.44 kB / 19.17 MB, free: 0.7344 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.0007798/0.0007798, allocations: 165.9 kB / 22.45 MB, free: 2.098 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.8531/0.8531, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.001433/0.001433, allocations: 238.5 kB / 259.4 MB, free: 13.03 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.6788/0.6788, allocations: 138.4 MB / 454.3 MB, free: 30 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.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.046e-06/3.046e-06, allocations: 3.984 kB / 0.6462 GB, free: 1.91 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.862e-05/2.166e-05, allocations: 6.219 kB / 0.6462 GB, free: 1.902 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.001992/0.002014, allocations: 1.782 MB / 0.648 GB, free: 108 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.2408/0.2428, allocations: 117.4 kB / 0.6481 GB, free: 55.93 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001391/0.243, allocations: 2.25 kB / 0.6481 GB, free: 55.93 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0001103/0.2431, allocations: 15.47 kB / 0.6481 GB, free: 55.93 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 7.955e-05/0.2431, allocations: 55.98 kB / 0.6482 GB, free: 55.93 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001347/0.2433, allocations: 33.92 kB / 0.6482 GB, free: 55.93 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001906/0.2435, allocations: 182.6 kB / 0.6484 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001209/0.2436, allocations: 17.05 kB / 0.6484 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001188/0.2437, allocations: 77.59 kB / 0.6485 GB, free: 55.87 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 9.105e-05/0.2438, allocations: 54.36 kB / 0.6485 GB, free: 55.87 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 3.331e-05/0.2438, allocations: 9.969 kB / 0.6485 GB, free: 55.87 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 1.985e-05/0.2439, allocations: 10.09 kB / 0.6485 GB, free: 55.87 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 2.909e-05/0.2439, allocations: 30.97 kB / 0.6486 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 5.474e-05/0.2439, allocations: 45.83 kB / 0.6486 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001752/0.2441, allocations: 129.2 kB / 0.6487 GB, free: 55.85 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.2441, allocations: 2.094 kB / 0.6487 GB, free: 55.85 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.343e-06/0.2441, allocations: 0 / 0.6487 GB, free: 55.85 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 6.241e-06/0.2441, allocations: 4.719 kB / 0.6487 GB, free: 55.85 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0004804/0.2446, allocations: 375.3 kB / 0.6491 GB, free: 55.55 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.2446, allocations: 13.78 kB / 0.6491 GB, free: 55.55 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.909e-05/0.2447, allocations: 42.08 kB / 0.6492 GB, free: 55.51 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.835e-05/0.2447, allocations: 16.09 kB / 0.6492 GB, free: 55.5 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002073/0.2449, allocations: 146.4 kB / 0.6493 GB, free: 55.36 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/0.2449, allocations: 8.219 kB / 0.6493 GB, free: 55.36 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.352e-05/0.2449, allocations: 6.812 kB / 0.6493 GB, free: 55.36 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001903/0.2451, allocations: 121.1 kB / 0.6494 GB, free: 55.31 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.2451, allocations: 0.8438 kB / 0.6494 GB, free: 55.31 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.789e-06/0.2451, allocations: 2.875 kB / 0.6494 GB, free: 55.31 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.451e-06/0.2451, allocations: 6.344 kB / 0.6494 GB, free: 55.31 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001827/0.2453, allocations: 94.75 kB / 0.6495 GB, free: 55.31 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004497/0.2458, allocations: 424.9 kB / 0.6499 GB, free: 54.99 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002501/0.246, allocations: 124 kB / 0.6501 GB, free: 54.94 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.441e-05/0.2461, allocations: 55.81 kB / 0.6501 GB, free: 54.93 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.289e-05/0.2461, allocations: 5.734 kB / 0.6501 GB, free: 54.93 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.242e-05/0.2462, allocations: 34.31 kB / 0.6502 GB, free: 54.89 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=9): time 1.223e-06/0.2462, allocations: 1.469 kB / 0.6502 GB, free: 54.89 MB / 0.5573 GB Notification: Performance of matching and sorting (n=9): time 0.0003579/0.2465, allocations: 182.6 kB / 0.6503 GB, free: 54.85 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.57e-05/0.2465, allocations: 83.45 kB / 0.6504 GB, free: 54.76 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001046/0.2466, allocations: 165 kB / 0.6506 GB, free: 54.66 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 8.906e-06/0.2467, allocations: 33.42 kB / 0.6506 GB, free: 54.63 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 3.932e-05/0.2467, allocations: 113.1 kB / 0.6507 GB, free: 54.54 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.658e-05/0.2467, allocations: 35.91 kB / 0.6507 GB, free: 54.52 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.689e-05/0.2467, allocations: 25.66 kB / 0.6508 GB, free: 54.5 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.514e-05/0.2468, allocations: 326.9 kB / 0.6511 GB, free: 54.18 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.69e-05/0.2469, allocations: 42.95 kB / 0.6511 GB, free: 54.18 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.812e-05/0.2469, allocations: 55.91 kB / 0.6512 GB, free: 54.17 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001556/0.2471, allocations: 105.8 kB / 0.6513 GB, free: 54.15 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.2471, allocations: 0 / 0.6513 GB, free: 54.15 MB / 0.5573 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001883/0.2473, allocations: 146.7 kB / 0.6514 GB, free: 54.12 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.2473, allocations: 7.562 kB / 0.6514 GB, free: 54.12 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.2473, allocations: 0 / 0.6514 GB, free: 54.12 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.2473, allocations: 1.781 kB / 0.6514 GB, free: 54.12 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.531e-05/0.2474, allocations: 25.02 kB / 0.6514 GB, free: 54.12 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.2474, allocations: 5.625 kB / 0.6514 GB, free: 54.11 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.272e-05/0.2475, allocations: 15.02 kB / 0.6515 GB, free: 54.11 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.304e-06/0.2475, allocations: 2.453 kB / 0.6515 GB, free: 54.11 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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 5.301e-05/0.2475, allocations: 124.2 kB / 0.6516 GB, free: 53.99 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.602e-05/0.2475, allocations: 16.45 kB / 0.6516 GB, free: 53.98 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002454/0.2478, allocations: 159.1 kB / 0.6517 GB, free: 53.95 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.2478, allocations: 1.562 kB / 0.6518 GB, free: 53.95 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.2478, allocations: 0 / 0.6518 GB, free: 53.95 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.2478, allocations: 1.188 kB / 0.6518 GB, free: 53.95 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001643/0.248, allocations: 184.5 kB / 0.6519 GB, free: 53.79 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.248, allocations: 4.125 kB / 0.6519 GB, free: 53.79 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.14e-05/0.248, allocations: 20.53 kB / 0.652 GB, free: 53.79 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.248, allocations: 3.141 kB / 0.652 GB, free: 53.79 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.216e-06/0.248, allocations: 0 / 0.652 GB, free: 53.79 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.248, allocations: 1.156 kB / 0.652 GB, free: 53.79 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.248, allocations: 2.062 kB / 0.652 GB, free: 53.79 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002014/0.2482, allocations: 321 kB / 0.6523 GB, free: 53.57 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 1.586e-05/0.2483, allocations: 10.42 kB / 0.6523 GB, free: 53.57 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.704e-05/0.2483, allocations: 2.281 kB / 0.6523 GB, free: 53.57 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.093e-05/0.2484, allocations: 11.36 kB / 0.6523 GB, free: 53.57 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.138e-05/0.2484, allocations: 11.3 kB / 0.6523 GB, free: 53.56 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.099e-06/0.2484, allocations: 1.625 kB / 0.6523 GB, free: 53.56 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 5.251e-05/0.2485, allocations: 135 kB / 0.6524 GB, free: 53.48 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6e-08/0.2485, allocations: 0.5625 kB / 0.6524 GB, free: 53.48 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001849/0.2486, allocations: 28.11 kB / 0.6525 GB, free: 53.48 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0003184/0.249, allocations: 0.847 MB / 0.6533 GB, free: 52.74 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0002074/0.2492, allocations: 102.4 kB / 0.6534 GB, free: 52.73 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.2492, allocations: 0 / 0.6534 GB, free: 52.73 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 8.199e-05/0.2492, allocations: 54.39 kB / 0.6534 GB, free: 52.73 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003072/0.2496, allocations: 40.08 kB / 0.6535 GB, free: 52.73 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001285/0.2508, allocations: 1.836 MB / 0.6553 GB, free: 51.29 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.928e-05/0.2509, allocations: 94.12 kB / 0.6554 GB, free: 51.22 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 6.107e-05/0.251, allocations: 15.47 kB / 0.6554 GB, free: 51.21 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.998e-05/0.251, allocations: 39.89 kB / 0.6554 GB, free: 51.19 MB / 0.5573 GB Notification: Performance of SimCode: time 6.51e-07/0.251, allocations: 0 / 0.6554 GB, free: 51.19 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01944/0.2705, allocations: 4.621 MB / 0.6599 GB, free: 50.15 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.637/6.908, allocations: 2.656 kB / 0.6599 GB, free: 50.15 MB / 0.5573 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.fmu > BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.48313216958195] Failed to read output from testmodel.py, exit status != 0: 6.989050245843828 6.999534167 6.753745741 Calling exit ...