Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001739/0.001739, 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.00164/0.00164, allocations: 217.6 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.58/1.58, allocations: 230.6 MB / 256.8 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.964/2.964, allocations: 476.7 MB / 0.7715 GB, free: 4.312 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_11_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.002367/0.002367, allocations: 66 kB / 1.118 GB, free: 39.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4404/0.4428, allocations: 170 MB / 1.284 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.003454/0.4463, allocations: 1.858 MB / 1.286 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0003816/0.4466, allocations: 117.4 kB / 1.286 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001194/0.4468, allocations: 4 kB / 1.286 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001812/0.4469, allocations: 15.8 kB / 1.286 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001328/0.4471, allocations: 51.55 kB / 1.286 GB, free: 9.637 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002525/0.4473, allocations: 31.95 kB / 1.286 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003603/0.4477, allocations: 175.1 kB / 1.286 GB, free: 9.434 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002174/0.4479, allocations: 32.73 kB / 1.286 GB, free: 9.406 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000138/0.448, allocations: 51.86 kB / 1.286 GB, free: 9.355 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001841/0.4482, allocations: 71.69 kB / 1.286 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.198e-05/0.4483, allocations: 8 kB / 1.286 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 3.083e-05/0.4483, allocations: 8 kB / 1.286 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.957e-05/0.4484, allocations: 23.92 kB / 1.286 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001131/0.4485, allocations: 63.72 kB / 1.287 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000338/0.4488, allocations: 127.4 kB / 1.287 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 1.21e-05/0.4488, allocations: 0 / 1.287 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.677e-06/0.4488, allocations: 0 / 1.287 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.383e-05/0.4488, allocations: 0 / 1.287 GB, free: 9.059 MB / 0.9825 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.001142/0.45, allocations: 381.7 kB / 1.287 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 7.922e-05/0.4501, allocations: 8.031 kB / 1.287 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.81e-05/0.4501, allocations: 8.125 kB / 1.287 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.963e-05/0.4501, allocations: 38.73 kB / 1.287 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.605e-05/0.4502, allocations: 16.84 kB / 1.287 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004999/0.4507, allocations: 159.3 kB / 1.287 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.86e-05/0.4507, allocations: 4.375 kB / 1.287 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.304e-05/0.4508, allocations: 8.375 kB / 1.287 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003769/0.4511, allocations: 119.7 kB / 1.287 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.575e-05/0.4512, allocations: 0 / 1.287 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.994e-05/0.4512, allocations: 4 kB / 1.287 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.4512, allocations: 0 / 1.287 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003508/0.4515, allocations: 99.88 kB / 1.287 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008765/0.4524, allocations: 443.8 kB / 1.288 GB, free: 7.672 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004467/0.4529, allocations: 129.2 kB / 1.288 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001814/0.453, allocations: 57.78 kB / 1.288 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.623e-05/0.4531, allocations: 0 / 1.288 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.532e-05/0.4531, allocations: 38.5 kB / 1.288 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.073e-06/0.4531, allocations: 0 / 1.288 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0006339/0.4537, allocations: 177.5 kB / 1.288 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.184e-05/0.4538, allocations: 89.03 kB / 1.288 GB, free: 7.133 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002196/0.454, allocations: 171.6 kB / 1.289 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.318e-05/0.4541, allocations: 29.7 kB / 1.289 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.743e-05/0.4541, allocations: 112 kB / 1.289 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.36e-05/0.4542, allocations: 31.73 kB / 1.289 GB, free: 6.777 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.329e-05/0.4542, allocations: 21.72 kB / 1.289 GB, free: 6.75 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001667/0.4544, allocations: 318.8 kB / 1.289 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001489/0.4546, allocations: 43.97 kB / 1.289 GB, free: 6.387 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000158/0.4547, allocations: 65.62 kB / 1.289 GB, free: 6.316 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002997/0.455, allocations: 105.6 kB / 1.289 GB, free: 6.207 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.455, allocations: 0 / 1.289 GB, free: 6.207 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003642/0.4554, allocations: 141.5 kB / 1.289 GB, free: 6.062 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.4554, allocations: 8 kB / 1.289 GB, free: 6.055 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.846e-06/0.4554, allocations: 4 kB / 1.289 GB, free: 6.051 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.4554, allocations: 0 / 1.289 GB, free: 6.051 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000153/0.4556, allocations: 24.3 kB / 1.289 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.4556, allocations: 0 / 1.289 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001141/0.4557, allocations: 19.92 kB / 1.289 GB, free: 6.008 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.362e-05/0.4557, allocations: 11.92 kB / 1.289 GB, free: 5.996 MB / 0.9825 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.000124/0.4558, allocations: 125.8 kB / 1.29 GB, free: 5.863 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.64e-05/0.4559, allocations: 19.91 kB / 1.29 GB, free: 5.844 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004734/0.4564, allocations: 150.6 kB / 1.29 GB, free: 5.688 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.4564, allocations: 4.234 kB / 1.29 GB, free: 5.684 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.4564, allocations: 0 / 1.29 GB, free: 5.684 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/0.4564, allocations: 3.938 kB / 1.29 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003341/0.4567, allocations: 200.7 kB / 1.29 GB, free: 5.441 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.4567, allocations: 0 / 1.29 GB, free: 5.441 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001389/0.4569, allocations: 27.92 kB / 1.29 GB, free: 5.414 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.4569, allocations: 0 / 1.29 GB, free: 5.414 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/0.4569, allocations: 0 / 1.29 GB, free: 5.414 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.4569, allocations: 4 kB / 1.29 GB, free: 5.41 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.4569, allocations: 0 / 1.29 GB, free: 5.41 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004616/0.4573, allocations: 314.6 kB / 1.29 GB, free: 5.086 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.194e-05/0.4574, allocations: 23.89 kB / 1.29 GB, free: 5.062 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.666e-05/0.4574, allocations: 0 / 1.29 GB, free: 5.062 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001636/0.4576, allocations: 7.984 kB / 1.29 GB, free: 5.055 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.248e-05/0.4576, allocations: 15.92 kB / 1.29 GB, free: 5.039 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.007e-05/0.4576, allocations: 4 kB / 1.29 GB, free: 5.035 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000104/0.4577, allocations: 119.2 kB / 1.29 GB, free: 4.918 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.4577, allocations: 288 / 1.29 GB, free: 4.918 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002911/0.458, allocations: 32 kB / 1.29 GB, free: 4.887 MB / 0.9825 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.0008524/0.4589, allocations: 0.8444 MB / 1.291 GB, free: 4.012 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003795/0.4593, allocations: 103.9 kB / 1.291 GB, free: 3.91 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.4593, allocations: 4 kB / 1.291 GB, free: 3.906 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001601/0.4594, allocations: 51.91 kB / 1.291 GB, free: 3.855 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004645/0.4599, allocations: 42.41 kB / 1.291 GB, free: 3.816 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00267/0.4626, allocations: 1.833 MB / 1.293 GB, free: 1.895 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003596/0.4629, allocations: 0.7122 MB / 1.294 GB, free: 1.156 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.627e-05/0.463, allocations: 12.66 kB / 1.294 GB, free: 1.145 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.076e-05/0.4631, allocations: 35.52 kB / 1.294 GB, free: 1.113 MB / 0.9825 GB Notification: Performance of SimCode: time 1.031e-06/0.4631, allocations: 3.938 kB / 1.294 GB, free: 1.109 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02587/0.489, allocations: 3.82 MB / 1.298 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.56/12.05, allocations: 3.984 kB / 1.298 GB, free: 13.48 MB / 0.9981 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.fmu > Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 19.734691655961797] Failed to read output from testmodel.py, exit status != 0: 13.050356362015009 12.253151265 11.798810068 Calling exit ...