Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00194/0.00194, 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.002371/0.002371, allocations: 209.5 kB / 23.04 MB, free: 5.07 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.689/1.689, allocations: 230.6 MB / 256.8 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.457/3.457, allocations: 0.49 GB / 0.7959 GB, free: 33.38 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_12_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.002774/0.002774, allocations: 73.92 kB / 1.155 GB, free: 25.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4973/0.5001, allocations: 176.1 MB / 1.327 GB, free: 1.957 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.003437/0.5036, allocations: 1.852 MB / 1.328 GB, free: 100 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0003608/0.5039, allocations: 119.9 kB / 1.329 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.957e-05/0.504, allocations: 3.938 kB / 1.329 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001242/0.5041, allocations: 11.86 kB / 1.329 GB, free: 15.96 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001068/0.5042, allocations: 51.56 kB / 1.329 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001647/0.5044, allocations: 35.95 kB / 1.329 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000264/0.5047, allocations: 167.1 kB / 1.329 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001372/0.5048, allocations: 29.22 kB / 1.329 GB, free: 15.68 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 9.192e-05/0.5049, allocations: 55.8 kB / 1.329 GB, free: 15.63 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001313/0.505, allocations: 63.75 kB / 1.329 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.014e-05/0.5051, allocations: 15.94 kB / 1.329 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 2.525e-05/0.5051, allocations: 8 kB / 1.329 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.83e-05/0.5051, allocations: 35.84 kB / 1.329 GB, free: 15.51 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.975e-05/0.5052, allocations: 63.67 kB / 1.329 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002096/0.5054, allocations: 119.5 kB / 1.329 GB, free: 15.33 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.5054, allocations: 4 kB / 1.329 GB, free: 15.32 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.833e-06/0.5054, allocations: 0 / 1.329 GB, free: 15.32 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.672e-06/0.5054, allocations: 0 / 1.329 GB, free: 15.32 MB / 1.029 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.0007981/0.5062, allocations: 381.6 kB / 1.33 GB, free: 14.92 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.056e-05/0.5063, allocations: 16.02 kB / 1.33 GB, free: 14.9 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.68e-05/0.5063, allocations: 192 / 1.33 GB, free: 14.9 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.32e-05/0.5063, allocations: 38.75 kB / 1.33 GB, free: 14.86 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.298e-05/0.5064, allocations: 16.84 kB / 1.33 GB, free: 14.84 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002828/0.5067, allocations: 142.3 kB / 1.33 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.5067, allocations: 12.31 kB / 1.33 GB, free: 14.66 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.672e-05/0.5067, allocations: 4.375 kB / 1.33 GB, free: 14.66 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003188/0.507, allocations: 129.3 kB / 1.33 GB, free: 14.52 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.876e-06/0.507, allocations: 0 / 1.33 GB, free: 14.52 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.571e-05/0.507, allocations: 4 kB / 1.33 GB, free: 14.52 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.507, allocations: 0 / 1.33 GB, free: 14.52 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003085/0.5074, allocations: 95.88 kB / 1.33 GB, free: 14.43 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007826/0.5081, allocations: 447.9 kB / 1.33 GB, free: 13.94 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004047/0.5085, allocations: 121.2 kB / 1.331 GB, free: 13.8 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001694/0.5087, allocations: 57.78 kB / 1.331 GB, free: 13.74 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.666e-05/0.5087, allocations: 4 kB / 1.331 GB, free: 13.74 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.18e-05/0.5088, allocations: 34.5 kB / 1.331 GB, free: 13.7 MB / 1.029 GB Notification: Performance of pre-optimization done (n=9): time 1.182e-06/0.5088, allocations: 0 / 1.331 GB, free: 13.7 MB / 1.029 GB Notification: Performance of matching and sorting (n=9): time 0.000632/0.5094, allocations: 189.4 kB / 1.331 GB, free: 13.5 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.541e-05/0.5095, allocations: 77.11 kB / 1.331 GB, free: 13.41 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001847/0.5097, allocations: 174.8 kB / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.696e-05/0.5097, allocations: 29.7 kB / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.124e-05/0.5098, allocations: 112 kB / 1.331 GB, free: 13.08 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.218e-05/0.5098, allocations: 31.73 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.073e-05/0.5099, allocations: 25.72 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001488/0.51, allocations: 326.8 kB / 1.332 GB, free: 12.69 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001603/0.5102, allocations: 43.97 kB / 1.332 GB, free: 12.64 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001659/0.5103, allocations: 61.61 kB / 1.332 GB, free: 12.58 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003/0.5106, allocations: 113.9 kB / 1.332 GB, free: 12.46 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.5106, allocations: 0 / 1.332 GB, free: 12.46 MB / 1.029 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003648/0.511, allocations: 141.7 kB / 1.332 GB, free: 12.32 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.511, allocations: 6.031 kB / 1.332 GB, free: 12.31 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.511, allocations: 0 / 1.332 GB, free: 12.31 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.119e-05/0.511, allocations: 7.922 kB / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001611/0.5112, allocations: 27.97 kB / 1.332 GB, free: 12.28 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.5112, allocations: 0 / 1.332 GB, free: 12.28 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001189/0.5113, allocations: 15.94 kB / 1.332 GB, free: 12.26 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.939e-06/0.5113, allocations: 0 / 1.332 GB, free: 12.26 MB / 1.029 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.0001142/0.5115, allocations: 122.4 kB / 1.332 GB, free: 12.13 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.697e-05/0.5115, allocations: 15.91 kB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004552/0.512, allocations: 162.6 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.512, allocations: 3.938 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.512, allocations: 0 / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.718e-06/0.512, allocations: 11.92 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003297/0.5123, allocations: 188.7 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.5123, allocations: 0 / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001445/0.5125, allocations: 23.92 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.5125, allocations: 4.188 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.318e-05/0.5125, allocations: 4 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.5125, allocations: 0 / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.5125, allocations: 4 kB / 1.332 GB, free: 11.67 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004652/0.5129, allocations: 318.5 kB / 1.333 GB, free: 11.34 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.386e-05/0.513, allocations: 11.91 kB / 1.333 GB, free: 11.33 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.923e-05/0.513, allocations: 4 kB / 1.333 GB, free: 11.33 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001715/0.5132, allocations: 15.98 kB / 1.333 GB, free: 11.31 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.296e-05/0.5132, allocations: 11.92 kB / 1.333 GB, free: 11.3 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-06/0.5132, allocations: 0 / 1.333 GB, free: 11.3 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001104/0.5134, allocations: 127.2 kB / 1.333 GB, free: 11.18 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.5134, allocations: 0 / 1.333 GB, free: 11.18 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002989/0.5137, allocations: 28 kB / 1.333 GB, free: 11.15 MB / 1.029 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.0007844/0.5144, allocations: 0.8446 MB / 1.334 GB, free: 10.27 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003744/0.5148, allocations: 99.88 kB / 1.334 GB, free: 10.18 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.5148, allocations: 0 / 1.334 GB, free: 10.18 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000162/0.515, allocations: 55.91 kB / 1.334 GB, free: 10.12 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004637/0.5154, allocations: 44.27 kB / 1.334 GB, free: 10.08 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002553/0.518, allocations: 1.829 MB / 1.336 GB, free: 8.16 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003497/0.5183, allocations: 0.7084 MB / 1.336 GB, free: 7.426 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.436e-05/0.5184, allocations: 8.781 kB / 1.336 GB, free: 7.418 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.603e-05/0.5185, allocations: 43.42 kB / 1.336 GB, free: 7.375 MB / 1.029 GB Notification: Performance of SimCode: time 1.723e-06/0.5185, allocations: 0 / 1.336 GB, free: 7.375 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02643/0.545, allocations: 3.831 MB / 1.34 GB, free: 3.746 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.64/12.18, allocations: 10.45 kB / 1.34 GB, free: 3.738 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.fmu > Buildings_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 19.87429626402445] Failed to read output from testmodel.py, exit status != 0: 12.349022509006318 12.374500709 11.864113625 Calling exit ...