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.001477/0.001477, allocations: 119.3 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.001545/0.001545, allocations: 209.5 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.66/1.66, allocations: 230.6 MB / 253.5 MB, free: 15.12 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.13/3.13, allocations: 0.5003 GB / 0.8026 GB, free: 6.723 MB / 0.6387 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.00205/0.00205, allocations: 59.91 kB / 1.165 GB, free: 0.5469 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.342/1.344, allocations: 178.9 MB / 1.34 GB, free: 16.25 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.004108/1.348, allocations: 1.858 MB / 1.342 GB, free: 14.93 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.000436/1.348, allocations: 119 kB / 1.342 GB, free: 14.84 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001195/1.349, allocations: 1.812 kB / 1.342 GB, free: 14.84 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001755/1.349, allocations: 16.59 kB / 1.342 GB, free: 14.83 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001179/1.349, allocations: 56.8 kB / 1.342 GB, free: 14.79 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002015/1.349, allocations: 33.16 kB / 1.342 GB, free: 14.77 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003527/1.349, allocations: 172.1 kB / 1.342 GB, free: 14.69 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001857/1.35, allocations: 20.12 kB / 1.342 GB, free: 14.68 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001308/1.35, allocations: 50.62 kB / 1.342 GB, free: 14.66 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001773/1.35, allocations: 71.39 kB / 1.342 GB, free: 14.63 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.412e-05/1.35, allocations: 10.09 kB / 1.342 GB, free: 14.63 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 4.039e-05/1.35, allocations: 10.34 kB / 1.342 GB, free: 14.63 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 5.283e-05/1.35, allocations: 27.92 kB / 1.342 GB, free: 14.61 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001208/1.35, allocations: 69.61 kB / 1.343 GB, free: 14.57 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002928/1.35, allocations: 127.6 kB / 1.343 GB, free: 14.52 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.752e-06/1.35, allocations: 1.312 kB / 1.343 GB, free: 14.52 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.415e-06/1.35, allocations: 0 / 1.343 GB, free: 14.52 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.012e-05/1.35, allocations: 0 / 1.343 GB, free: 14.52 MB / 1.061 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.0009872/1.351, allocations: 450.2 kB / 1.343 GB, free: 14.11 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 6.614e-05/1.352, allocations: 14.14 kB / 1.343 GB, free: 14.1 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.763e-05/1.352, allocations: 1.906 kB / 1.343 GB, free: 14.1 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.611e-05/1.352, allocations: 41.98 kB / 1.343 GB, free: 14.05 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.723e-05/1.352, allocations: 16.16 kB / 1.343 GB, free: 14.05 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003857/1.352, allocations: 207.9 kB / 1.343 GB, free: 13.83 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.938e-05/1.352, allocations: 7.969 kB / 1.343 GB, free: 13.82 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.126e-05/1.352, allocations: 4 kB / 1.343 GB, free: 13.82 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003528/1.352, allocations: 129.6 kB / 1.343 GB, free: 13.74 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/1.352, allocations: 3.938 kB / 1.343 GB, free: 13.74 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.741e-05/1.352, allocations: 4 kB / 1.344 GB, free: 13.73 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.086e-06/1.352, allocations: 2.688 kB / 1.344 GB, free: 13.73 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003556/1.353, allocations: 89.12 kB / 1.344 GB, free: 13.71 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008118/1.354, allocations: 476.3 kB / 1.344 GB, free: 13.3 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004368/1.354, allocations: 121.3 kB / 1.344 GB, free: 13.23 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001823/1.354, allocations: 60.2 kB / 1.344 GB, free: 13.2 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.019e-05/1.354, allocations: 2.031 kB / 1.344 GB, free: 13.2 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.154e-05/1.354, allocations: 36.48 kB / 1.344 GB, free: 13.15 MB / 1.061 GB Notification: Performance of pre-optimization done (n=9): time 2.114e-06/1.354, allocations: 3.984 kB / 1.344 GB, free: 13.15 MB / 1.061 GB Notification: Performance of matching and sorting (n=9): time 0.0006646/1.355, allocations: 186.4 kB / 1.344 GB, free: 13.07 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.599e-05/1.355, allocations: 78.88 kB / 1.345 GB, free: 12.97 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001744/1.355, allocations: 164.7 kB / 1.345 GB, free: 12.86 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.557e-05/1.355, allocations: 26.5 kB / 1.345 GB, free: 12.82 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.884e-05/1.355, allocations: 113.1 kB / 1.345 GB, free: 12.72 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.693e-05/1.355, allocations: 33.23 kB / 1.345 GB, free: 12.69 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.735e-05/1.355, allocations: 21.66 kB / 1.345 GB, free: 12.67 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 9.928e-05/1.355, allocations: 329.8 kB / 1.345 GB, free: 12.35 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001641/1.356, allocations: 39.23 kB / 1.345 GB, free: 12.34 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001654/1.356, allocations: 61.7 kB / 1.345 GB, free: 12.31 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003204/1.356, allocations: 108.8 kB / 1.345 GB, free: 12.26 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/1.356, allocations: 0 / 1.345 GB, free: 12.26 MB / 1.061 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004084/1.357, allocations: 147 kB / 1.346 GB, free: 12.19 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/1.357, allocations: 9.312 kB / 1.346 GB, free: 12.18 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/1.357, allocations: 0 / 1.346 GB, free: 12.18 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.806e-05/1.357, allocations: 2.234 kB / 1.346 GB, free: 12.18 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00017/1.357, allocations: 21.78 kB / 1.346 GB, free: 12.18 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.999e-06/1.357, allocations: 1.531 kB / 1.346 GB, free: 12.18 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001251/1.357, allocations: 28.89 kB / 1.346 GB, free: 12.16 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.477e-05/1.357, allocations: 3.266 kB / 1.346 GB, free: 12.16 MB / 1.061 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 9.457e-05/1.357, allocations: 118.6 kB / 1.346 GB, free: 12.04 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.669e-05/1.357, allocations: 11.73 kB / 1.346 GB, free: 12.04 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005104/1.358, allocations: 162.7 kB / 1.346 GB, free: 11.96 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/1.358, allocations: 1.375 kB / 1.346 GB, free: 11.96 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.497e-06/1.358, allocations: 1.891 kB / 1.346 GB, free: 11.96 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/1.358, allocations: 4.781 kB / 1.346 GB, free: 11.96 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003188/1.358, allocations: 215.9 kB / 1.346 GB, free: 11.75 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/1.358, allocations: 6.109 kB / 1.346 GB, free: 11.74 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001483/1.358, allocations: 21.09 kB / 1.346 GB, free: 11.74 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/1.358, allocations: 0 / 1.346 GB, free: 11.74 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.498e-05/1.358, allocations: 5.375 kB / 1.346 GB, free: 11.74 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/1.358, allocations: 2.312 kB / 1.346 GB, free: 11.74 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/1.358, allocations: 1.375 kB / 1.346 GB, free: 11.74 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004563/1.359, allocations: 318 kB / 1.346 GB, free: 11.49 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.862e-05/1.359, allocations: 94.39 kB / 1.346 GB, free: 11.38 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.032e-05/1.359, allocations: 2.125 kB / 1.346 GB, free: 11.38 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001709/1.359, allocations: 8.125 kB / 1.347 GB, free: 11.38 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.014e-05/1.359, allocations: 18.25 kB / 1.347 GB, free: 11.37 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.128e-06/1.359, allocations: 2.75 kB / 1.347 GB, free: 11.37 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001047/1.359, allocations: 131.5 kB / 1.347 GB, free: 11.28 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/1.359, allocations: 0 / 1.347 GB, free: 11.28 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002947/1.359, allocations: 24.75 kB / 1.347 GB, free: 11.28 MB / 1.061 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.0006941/1.36, allocations: 0.8503 MB / 1.347 GB, free: 10.5 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000401/1.36, allocations: 94.14 kB / 1.348 GB, free: 10.48 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/1.36, allocations: 5.312 kB / 1.348 GB, free: 10.47 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001697/1.361, allocations: 53.27 kB / 1.348 GB, free: 10.46 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004787/1.361, allocations: 45.44 kB / 1.348 GB, free: 10.44 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002405/1.363, allocations: 1.839 MB / 1.349 GB, free: 8.949 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002052/1.364, allocations: 0.7069 MB / 1.35 GB, free: 8.25 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001239/1.364, allocations: 13.83 kB / 1.35 GB, free: 8.246 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.069e-05/1.364, allocations: 36.94 kB / 1.35 GB, free: 8.219 MB / 1.061 GB Notification: Performance of SimCode: time 2.81e-07/1.364, allocations: 4 kB / 1.35 GB, free: 8.215 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02396/1.388, allocations: 3.71 MB / 1.354 GB, free: 7.723 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.769/10.16, allocations: 3.141 kB / 1.354 GB, free: 7.723 MB / 1.061 GB " [Timeout remaining time 290] (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: 17.400968169036787] Failed to read output from testmodel.py, exit status != 0: 10.299681902048178 10.313594133 8.960171826 Calling exit ...