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.00132/0.00132, allocations: 116.8 kB / 17.17 MB, free: 5.977 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.001487/0.001487, allocations: 209.6 kB / 20.13 MB, free: 3.035 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.57/1.57, allocations: 230.6 MB / 253.5 MB, free: 15.11 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 3.023/3.023, allocations: 476.7 MB / 0.7679 GB, free: 9.379 MB / 0.6075 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.002445/0.002445, allocations: 63.91 kB / 1.113 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.412/1.415, allocations: 169.9 MB / 1.279 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.004564/1.419, allocations: 1.859 MB / 1.281 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0004127/1.42, allocations: 120.3 kB / 1.281 GB, free: 10.31 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001186/1.42, allocations: 5 kB / 1.281 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001554/1.42, allocations: 12.84 kB / 1.281 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001286/1.42, allocations: 49.45 kB / 1.281 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001757/1.42, allocations: 39.12 kB / 1.281 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0003192/1.42, allocations: 169.4 kB / 1.281 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001483/1.421, allocations: 20.61 kB / 1.281 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001136/1.421, allocations: 54.92 kB / 1.281 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001477/1.421, allocations: 67.36 kB / 1.281 GB, free: 10.1 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.391e-05/1.421, allocations: 9.656 kB / 1.281 GB, free: 10.1 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 3.208e-05/1.421, allocations: 9.781 kB / 1.281 GB, free: 10.1 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 5.154e-05/1.421, allocations: 28.88 kB / 1.281 GB, free: 10.08 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001075/1.421, allocations: 68.62 kB / 1.281 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000261/1.421, allocations: 128.4 kB / 1.281 GB, free: 9.984 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/1.421, allocations: 0.7969 kB / 1.281 GB, free: 9.984 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.064e-06/1.421, allocations: 0 / 1.281 GB, free: 9.984 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.877e-06/1.421, allocations: 5.062 kB / 1.281 GB, free: 9.98 MB / 0.9981 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.001039/1.422, allocations: 448.3 kB / 1.282 GB, free: 9.57 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 6.727e-05/1.422, allocations: 9.781 kB / 1.282 GB, free: 9.57 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.744e-05/1.423, allocations: 2.25 kB / 1.282 GB, free: 9.57 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.681e-05/1.423, allocations: 38.3 kB / 1.282 GB, free: 9.527 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.43e-05/1.423, allocations: 21.19 kB / 1.282 GB, free: 9.516 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004056/1.423, allocations: 209.5 kB / 1.282 GB, free: 9.293 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.25e-05/1.423, allocations: 7.094 kB / 1.282 GB, free: 9.289 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.656e-05/1.423, allocations: 5.25 kB / 1.282 GB, free: 9.289 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004232/1.423, allocations: 116.8 kB / 1.282 GB, free: 9.219 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/1.424, allocations: 0 / 1.282 GB, free: 9.219 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.01e-05/1.424, allocations: 13.06 kB / 1.282 GB, free: 9.207 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.35e-05/1.424, allocations: 2.094 kB / 1.282 GB, free: 9.207 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004403/1.424, allocations: 93.7 kB / 1.282 GB, free: 9.184 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000986/1.425, allocations: 483.5 kB / 1.283 GB, free: 8.762 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004623/1.425, allocations: 121.4 kB / 1.283 GB, free: 8.688 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002099/1.426, allocations: 55.64 kB / 1.283 GB, free: 8.66 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.387e-05/1.426, allocations: 6.062 kB / 1.283 GB, free: 8.656 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.564e-05/1.426, allocations: 40.38 kB / 1.283 GB, free: 8.609 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=9): time 1.633e-06/1.426, allocations: 0 / 1.283 GB, free: 8.609 MB / 0.9981 GB Notification: Performance of matching and sorting (n=9): time 0.0007367/1.426, allocations: 182.9 kB / 1.283 GB, free: 8.531 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.779e-05/1.427, allocations: 78.94 kB / 1.283 GB, free: 8.438 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002444/1.427, allocations: 173.6 kB / 1.283 GB, free: 8.312 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.567e-05/1.427, allocations: 25.7 kB / 1.284 GB, free: 8.281 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001126/1.427, allocations: 113.6 kB / 1.284 GB, free: 8.176 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.862e-05/1.427, allocations: 34.84 kB / 1.284 GB, free: 8.148 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.344e-05/1.427, allocations: 20.58 kB / 1.284 GB, free: 8.129 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002105/1.427, allocations: 325.9 kB / 1.284 GB, free: 7.809 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001773/1.427, allocations: 39.67 kB / 1.284 GB, free: 7.801 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000184/1.428, allocations: 60.23 kB / 1.284 GB, free: 7.77 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003629/1.428, allocations: 108.9 kB / 1.284 GB, free: 7.719 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/1.428, allocations: 1.469 kB / 1.284 GB, free: 7.719 MB / 0.9981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004486/1.428, allocations: 149.3 kB / 1.284 GB, free: 7.645 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/1.428, allocations: 5.859 kB / 1.284 GB, free: 7.645 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/1.428, allocations: 5.328 kB / 1.284 GB, free: 7.641 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.104e-05/1.428, allocations: 0 / 1.284 GB, free: 7.641 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001656/1.429, allocations: 22.45 kB / 1.284 GB, free: 7.641 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.848e-06/1.429, allocations: 2.062 kB / 1.284 GB, free: 7.641 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001307/1.429, allocations: 22.06 kB / 1.284 GB, free: 7.629 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.366e-05/1.429, allocations: 2.625 kB / 1.284 GB, free: 7.629 MB / 0.9981 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.0001232/1.429, allocations: 118.6 kB / 1.285 GB, free: 7.508 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.71e-05/1.429, allocations: 14.75 kB / 1.285 GB, free: 7.5 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005526/1.43, allocations: 158.8 kB / 1.285 GB, free: 7.418 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/1.43, allocations: 3.234 kB / 1.285 GB, free: 7.418 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/1.43, allocations: 0 / 1.285 GB, free: 7.418 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.999e-06/1.43, allocations: 6.062 kB / 1.285 GB, free: 7.414 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003979/1.43, allocations: 216.1 kB / 1.285 GB, free: 7.203 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/1.43, allocations: 1.375 kB / 1.285 GB, free: 7.203 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001588/1.43, allocations: 29.12 kB / 1.285 GB, free: 7.195 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/1.43, allocations: 0 / 1.285 GB, free: 7.195 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.716e-05/1.43, allocations: 10 kB / 1.285 GB, free: 7.188 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/1.43, allocations: 5.312 kB / 1.285 GB, free: 7.184 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/1.43, allocations: 1.375 kB / 1.285 GB, free: 7.184 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005296/1.431, allocations: 319.3 kB / 1.285 GB, free: 6.934 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.431e-05/1.431, allocations: 92.31 kB / 1.285 GB, free: 6.828 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.129e-05/1.431, allocations: 3.516 kB / 1.285 GB, free: 6.828 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000173/1.431, allocations: 7.938 kB / 1.285 GB, free: 6.828 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.582e-05/1.431, allocations: 14.84 kB / 1.285 GB, free: 6.82 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.815e-06/1.431, allocations: 1.438 kB / 1.285 GB, free: 6.82 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001505/1.431, allocations: 127.5 kB / 1.285 GB, free: 6.73 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/1.431, allocations: 0 / 1.285 GB, free: 6.73 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003035/1.431, allocations: 28.66 kB / 1.285 GB, free: 6.727 MB / 0.9981 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.0009988/1.432, allocations: 0.8405 MB / 1.286 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004422/1.433, allocations: 102.1 kB / 1.286 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/1.433, allocations: 0 / 1.286 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002063/1.433, allocations: 53.8 kB / 1.286 GB, free: 5.91 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005276/1.434, allocations: 51.52 kB / 1.287 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002819/1.436, allocations: 1.817 MB / 1.288 GB, free: 4.418 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004226/1.437, allocations: 0.7112 MB / 1.289 GB, free: 3.715 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001198/1.437, allocations: 17.06 kB / 1.289 GB, free: 3.707 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.093e-05/1.437, allocations: 36.92 kB / 1.289 GB, free: 3.68 MB / 0.9981 GB Notification: Performance of SimCode: time 2.91e-07/1.437, allocations: 0 / 1.289 GB, free: 3.68 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02364/1.461, allocations: 3.696 MB / 1.293 GB, free: 3.195 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.984/10.45, allocations: 13.16 kB / 1.293 GB, free: 3.188 MB / 0.9981 GB " [Timeout remaining time 289] (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: 17.462473540974315] Failed to read output from testmodel.py, exit status != 0: 10.57930091599701 10.603827942 9.177344793 Calling exit ...