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.001789/0.001789, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.002224/0.002224, allocations: 220.5 kB / 23.03 MB, free: 4.945 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.603/1.603, allocations: 230.6 MB / 256.8 MB, free: 7.816 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/3, allocations: 476.8 MB / 0.7715 GB, free: 3.918 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.001925/0.001925, allocations: 65.66 kB / 1.118 GB, free: 39.62 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3452/0.3472, allocations: 170 MB / 1.284 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.003511/0.3507, allocations: 1.787 MB / 1.286 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0004467/0.3511, allocations: 129.3 kB / 1.286 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000143/0.3513, allocations: 0 / 1.286 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001409/0.3514, allocations: 15.8 kB / 1.286 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001331/0.3515, allocations: 51.55 kB / 1.286 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001754/0.3517, allocations: 35.95 kB / 1.286 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003103/0.352, allocations: 171.1 kB / 1.286 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001436/0.3522, allocations: 21.28 kB / 1.286 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001361/0.3523, allocations: 51.86 kB / 1.286 GB, free: 8.414 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001483/0.3524, allocations: 71.69 kB / 1.286 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.979e-05/0.3525, allocations: 8 kB / 1.286 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 3.486e-05/0.3525, allocations: 12 kB / 1.286 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.258e-05/0.3526, allocations: 23.91 kB / 1.286 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 9.213e-05/0.3527, allocations: 55.73 kB / 1.286 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002408/0.3529, allocations: 127 kB / 1.287 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3529, allocations: 4 kB / 1.287 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3529, allocations: 0 / 1.287 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.015e-06/0.3529, allocations: 0 / 1.287 GB, free: 8.121 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.001002/0.3539, allocations: 377.7 kB / 1.287 GB, free: 7.719 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 6.116e-05/0.354, allocations: 12.02 kB / 1.287 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.327e-05/0.354, allocations: 4.188 kB / 1.287 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.718e-05/0.3541, allocations: 38.69 kB / 1.287 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.172e-05/0.3541, allocations: 20.84 kB / 1.287 GB, free: 7.637 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003848/0.3545, allocations: 147.7 kB / 1.287 GB, free: 7.469 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.636e-05/0.3545, allocations: 4.375 kB / 1.287 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.468e-05/0.3545, allocations: 8.375 kB / 1.287 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003504/0.3549, allocations: 127.5 kB / 1.287 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.3549, allocations: 0 / 1.287 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.576e-05/0.3549, allocations: 0 / 1.287 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.147e-06/0.3549, allocations: 4 kB / 1.287 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000333/0.3553, allocations: 91.94 kB / 1.287 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008911/0.3562, allocations: 427.8 kB / 1.288 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004022/0.3566, allocations: 121.2 kB / 1.288 GB, free: 6.625 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001738/0.3567, allocations: 61.78 kB / 1.288 GB, free: 6.559 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.156e-05/0.3568, allocations: 3.984 kB / 1.288 GB, free: 6.555 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.005e-05/0.3568, allocations: 34.56 kB / 1.288 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.643e-06/0.3568, allocations: 0 / 1.288 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0006321/0.3574, allocations: 185.5 kB / 1.288 GB, free: 6.324 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.495e-05/0.3575, allocations: 77.11 kB / 1.288 GB, free: 6.23 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002042/0.3577, allocations: 175.5 kB / 1.288 GB, free: 6.051 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.525e-05/0.3577, allocations: 37.7 kB / 1.288 GB, free: 6.008 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.429e-05/0.3578, allocations: 108 kB / 1.289 GB, free: 5.898 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.13e-05/0.3579, allocations: 31.73 kB / 1.289 GB, free: 5.867 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.055e-05/0.3579, allocations: 25.72 kB / 1.289 GB, free: 5.836 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000166/0.3581, allocations: 322.8 kB / 1.289 GB, free: 5.512 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001636/0.3583, allocations: 43.97 kB / 1.289 GB, free: 5.469 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001588/0.3584, allocations: 61.62 kB / 1.289 GB, free: 5.402 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002869/0.3587, allocations: 97.67 kB / 1.289 GB, free: 5.301 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.3587, allocations: 3.938 kB / 1.289 GB, free: 5.297 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000373/0.3591, allocations: 153.5 kB / 1.289 GB, free: 5.141 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.3591, allocations: 8 kB / 1.289 GB, free: 5.133 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.3591, allocations: 0 / 1.289 GB, free: 5.133 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.3591, allocations: 0 / 1.289 GB, free: 5.133 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001651/0.3593, allocations: 23.98 kB / 1.289 GB, free: 5.109 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.3593, allocations: 4 kB / 1.289 GB, free: 5.105 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001216/0.3594, allocations: 11.92 kB / 1.289 GB, free: 5.094 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.573e-05/0.3594, allocations: 4 kB / 1.289 GB, free: 5.09 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.0001239/0.3596, allocations: 121.8 kB / 1.289 GB, free: 4.961 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.465e-05/0.3596, allocations: 15.91 kB / 1.289 GB, free: 4.945 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004705/0.3601, allocations: 162.9 kB / 1.29 GB, free: 4.777 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.3601, allocations: 4.234 kB / 1.29 GB, free: 4.773 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.3601, allocations: 64 / 1.29 GB, free: 4.773 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.987e-06/0.3601, allocations: 7.938 kB / 1.29 GB, free: 4.766 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002987/0.3604, allocations: 180.8 kB / 1.29 GB, free: 4.547 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.3604, allocations: 0 / 1.29 GB, free: 4.547 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001445/0.3606, allocations: 19.98 kB / 1.29 GB, free: 4.527 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.3606, allocations: 0 / 1.29 GB, free: 4.527 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.471e-05/0.3606, allocations: 4 kB / 1.29 GB, free: 4.523 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.3606, allocations: 0 / 1.29 GB, free: 4.523 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.3606, allocations: 0 / 1.29 GB, free: 4.523 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004672/0.361, allocations: 322.5 kB / 1.29 GB, free: 4.191 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.176e-05/0.3611, allocations: 12.19 kB / 1.29 GB, free: 4.18 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.033e-05/0.3611, allocations: 4 kB / 1.29 GB, free: 4.176 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001765/0.3613, allocations: 11.98 kB / 1.29 GB, free: 4.164 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.593e-05/0.3613, allocations: 15.86 kB / 1.29 GB, free: 4.148 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.077e-06/0.3613, allocations: 0 / 1.29 GB, free: 4.148 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001138/0.3615, allocations: 127.2 kB / 1.29 GB, free: 4.023 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3615, allocations: 4 kB / 1.29 GB, free: 4.02 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003075/0.3618, allocations: 28 kB / 1.29 GB, free: 3.992 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.0008627/0.3626, allocations: 0.8444 MB / 1.291 GB, free: 3.117 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003623/0.363, allocations: 103.9 kB / 1.291 GB, free: 3.016 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.363, allocations: 0 / 1.291 GB, free: 3.016 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001543/0.3631, allocations: 51.95 kB / 1.291 GB, free: 2.965 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004597/0.3636, allocations: 44.23 kB / 1.291 GB, free: 2.922 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002626/0.3662, allocations: 1.839 MB / 1.293 GB, free: 0.9961 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001099/0.3663, allocations: 93.48 kB / 1.293 GB, free: 0.8828 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 9.741e-05/0.3664, allocations: 12.64 kB / 1.293 GB, free: 0.8711 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.662e-05/0.3665, allocations: 31.44 kB / 1.293 GB, free: 0.8398 MB / 0.9825 GB Notification: Performance of SimCode: time 5.61e-07/0.3665, allocations: 0 / 1.293 GB, free: 0.8398 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.029/0.3955, allocations: 4.157 MB / 1.297 GB, free: 12.92 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/11.94, allocations: 8.047 kB / 1.297 GB, free: 12.91 MB / 0.9981 GB " [Timeout remaining time 288] (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.22060868702829] Failed to read output from testmodel.py, exit status != 0: 12.69723920407705 12.131945981 11.774108011 Calling exit ...