Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.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.001703/0.001703, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.002568/0.002568, allocations: 218.9 kB / 23.04 MB, free: 5.074 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.618/1.618, allocations: 230.6 MB / 256.8 MB, free: 7.977 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.642/3.642, allocations: 0.5003 GB / 0.8061 GB, free: 26.79 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_latest_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_latest_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003132/0.003132, allocations: 72.17 kB / 1.171 GB, free: 19.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5216/0.5248, allocations: 179 MB / 1.345 GB, free: 0.4922 MB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.003814/0.5286, allocations: 1.864 MB / 1.347 GB, free: 14.61 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0003564/0.529, allocations: 119.9 kB / 1.347 GB, free: 14.5 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000112/0.5291, allocations: 7.938 kB / 1.347 GB, free: 14.49 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.00014/0.5292, allocations: 15.84 kB / 1.347 GB, free: 14.47 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 9.926e-05/0.5293, allocations: 43.52 kB / 1.347 GB, free: 14.43 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.000179/0.5295, allocations: 31.95 kB / 1.347 GB, free: 14.4 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.000273/0.5298, allocations: 179.2 kB / 1.347 GB, free: 14.22 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001378/0.5299, allocations: 21.03 kB / 1.348 GB, free: 14.2 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001006/0.53, allocations: 59.78 kB / 1.348 GB, free: 14.14 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001424/0.5301, allocations: 71.69 kB / 1.348 GB, free: 14.07 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.847e-05/0.5302, allocations: 12 kB / 1.348 GB, free: 14.06 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 2.716e-05/0.5302, allocations: 8 kB / 1.348 GB, free: 14.05 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.966e-05/0.5302, allocations: 27.86 kB / 1.348 GB, free: 14.03 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 8.679e-05/0.5303, allocations: 59.73 kB / 1.348 GB, free: 13.97 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002165/0.5305, allocations: 127.5 kB / 1.348 GB, free: 13.84 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 7.785e-06/0.5306, allocations: 4 kB / 1.348 GB, free: 13.84 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.795e-06/0.5306, allocations: 4 kB / 1.348 GB, free: 13.84 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.985e-06/0.5306, allocations: 0 / 1.348 GB, free: 13.84 MB / 1.045 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.0008871/0.5315, allocations: 369.7 kB / 1.348 GB, free: 13.44 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.935e-05/0.5315, allocations: 12.03 kB / 1.348 GB, free: 13.43 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.518e-05/0.5315, allocations: 192 / 1.348 GB, free: 13.43 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.425e-05/0.5316, allocations: 42.75 kB / 1.348 GB, free: 13.38 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.916e-05/0.5316, allocations: 16.84 kB / 1.348 GB, free: 13.36 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003029/0.5319, allocations: 154.2 kB / 1.348 GB, free: 13.19 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/0.5319, allocations: 12.31 kB / 1.348 GB, free: 13.18 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.009e-05/0.5319, allocations: 4.375 kB / 1.348 GB, free: 13.17 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003267/0.5323, allocations: 123.6 kB / 1.349 GB, free: 13.04 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.5323, allocations: 0 / 1.349 GB, free: 13.04 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/0.5323, allocations: 12 kB / 1.349 GB, free: 13.03 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.5323, allocations: 0 / 1.349 GB, free: 13.03 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003159/0.5326, allocations: 99.8 kB / 1.349 GB, free: 12.93 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008248/0.5334, allocations: 443.9 kB / 1.349 GB, free: 12.45 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004354/0.5339, allocations: 117.2 kB / 1.349 GB, free: 12.32 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001872/0.5341, allocations: 57.72 kB / 1.349 GB, free: 12.25 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.404e-05/0.5341, allocations: 11.98 kB / 1.349 GB, free: 12.24 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.558e-05/0.5341, allocations: 38.56 kB / 1.349 GB, free: 12.2 MB / 1.045 GB Notification: Performance of pre-optimization done (n=9): time 1.032e-06/0.5341, allocations: 0 / 1.349 GB, free: 12.2 MB / 1.045 GB Notification: Performance of matching and sorting (n=9): time 0.0006375/0.5348, allocations: 181.5 kB / 1.349 GB, free: 12.01 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.429e-05/0.5348, allocations: 77.11 kB / 1.35 GB, free: 11.92 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002025/0.535, allocations: 170.3 kB / 1.35 GB, free: 11.74 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.653e-05/0.5351, allocations: 29.7 kB / 1.35 GB, free: 11.7 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001048/0.5352, allocations: 112 kB / 1.35 GB, free: 11.59 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.931e-05/0.5352, allocations: 31.73 kB / 1.35 GB, free: 11.56 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.693e-05/0.5353, allocations: 25.7 kB / 1.35 GB, free: 11.53 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000163/0.5354, allocations: 326.8 kB / 1.35 GB, free: 11.2 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000147/0.5356, allocations: 39.97 kB / 1.35 GB, free: 11.16 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001526/0.5357, allocations: 57.69 kB / 1.35 GB, free: 11.1 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003013/0.536, allocations: 105.6 kB / 1.35 GB, free: 10.99 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.536, allocations: 0 / 1.35 GB, free: 10.99 MB / 1.045 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003767/0.5364, allocations: 153.5 kB / 1.351 GB, free: 10.83 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/0.5364, allocations: 4 kB / 1.351 GB, free: 10.83 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.5364, allocations: 0 / 1.351 GB, free: 10.83 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.364e-05/0.5365, allocations: 4 kB / 1.351 GB, free: 10.82 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001548/0.5366, allocations: 19.98 kB / 1.351 GB, free: 10.8 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.5366, allocations: 0 / 1.351 GB, free: 10.8 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001281/0.5368, allocations: 23.88 kB / 1.351 GB, free: 10.78 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.048e-05/0.5368, allocations: 384 / 1.351 GB, free: 10.78 MB / 1.045 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 0.0001271/0.5369, allocations: 121.8 kB / 1.351 GB, free: 10.65 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.234e-05/0.5369, allocations: 7.953 kB / 1.351 GB, free: 10.64 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004579/0.5374, allocations: 166.8 kB / 1.351 GB, free: 10.48 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.5374, allocations: 0 / 1.351 GB, free: 10.48 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/0.5374, allocations: 7.938 kB / 1.351 GB, free: 10.47 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.5374, allocations: 3.938 kB / 1.351 GB, free: 10.46 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003127/0.5377, allocations: 196.6 kB / 1.351 GB, free: 10.23 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-06/0.5377, allocations: 4 kB / 1.351 GB, free: 10.23 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001362/0.5379, allocations: 23.92 kB / 1.351 GB, free: 10.2 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.5379, allocations: 3.938 kB / 1.351 GB, free: 10.2 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.415e-05/0.5379, allocations: 4 kB / 1.351 GB, free: 10.2 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.5379, allocations: 0 / 1.351 GB, free: 10.2 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.5379, allocations: 7.984 kB / 1.351 GB, free: 10.19 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004648/0.5384, allocations: 310.8 kB / 1.351 GB, free: 9.867 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.66e-05/0.5384, allocations: 11.91 kB / 1.351 GB, free: 9.855 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.18e-05/0.5384, allocations: 7.984 kB / 1.351 GB, free: 9.848 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001672/0.5386, allocations: 11.98 kB / 1.351 GB, free: 9.836 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.911e-05/0.5386, allocations: 11.92 kB / 1.351 GB, free: 9.824 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.053e-06/0.5387, allocations: 0 / 1.351 GB, free: 9.824 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.000119/0.5388, allocations: 136.2 kB / 1.352 GB, free: 9.691 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.5388, allocations: 0 / 1.352 GB, free: 9.691 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003016/0.5391, allocations: 24 kB / 1.352 GB, free: 9.668 MB / 1.045 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.0008343/0.5399, allocations: 0.8444 MB / 1.352 GB, free: 8.793 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.000375/0.5403, allocations: 103.9 kB / 1.353 GB, free: 8.691 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.5403, allocations: 0 / 1.353 GB, free: 8.691 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001651/0.5404, allocations: 51.91 kB / 1.353 GB, free: 8.641 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004627/0.5409, allocations: 48.48 kB / 1.353 GB, free: 8.594 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002514/0.5434, allocations: 1.828 MB / 1.354 GB, free: 6.676 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003932/0.5438, allocations: 0.7006 MB / 1.355 GB, free: 5.949 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 8.708e-05/0.5439, allocations: 16.64 kB / 1.355 GB, free: 5.934 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.341e-05/0.544, allocations: 35.44 kB / 1.355 GB, free: 5.898 MB / 1.045 GB Notification: Performance of SimCode: time 4.11e-07/0.544, allocations: 0 / 1.355 GB, free: 5.898 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03088/0.5749, allocations: 3.83 MB / 1.359 GB, free: 2.262 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/12.15, allocations: 11.47 kB / 1.359 GB, free: 2.254 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.fmu > Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 20.039603837009054] Failed to read output from testmodel.py, exit status != 0: 12.32174171198858 12.345790597 11.810228869 Calling exit ...