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.001376/0.001376, allocations: 97.92 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.001547/0.001547, allocations: 219.8 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.542/1.542, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.359/3.359, allocations: 0.5003 GB / 0.8062 GB, free: 28.31 MB / 0.6231 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.002197/0.002197, allocations: 70.23 kB / 1.17 GB, free: 19.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4806/0.4828, allocations: 179 MB / 1.345 GB, free: 16 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.004266/0.487, allocations: 1.763 MB / 1.347 GB, free: 14.21 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0005558/0.4876, allocations: 123.8 kB / 1.347 GB, free: 14.09 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002036/0.4878, allocations: 4 kB / 1.347 GB, free: 14.09 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001637/0.4879, allocations: 15.8 kB / 1.347 GB, free: 14.07 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001816/0.4881, allocations: 47.56 kB / 1.347 GB, free: 14.03 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002236/0.4884, allocations: 35.94 kB / 1.347 GB, free: 13.99 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0004231/0.4888, allocations: 175.1 kB / 1.347 GB, free: 13.82 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001491/0.4889, allocations: 21.02 kB / 1.347 GB, free: 13.8 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001331/0.4891, allocations: 55.84 kB / 1.347 GB, free: 13.75 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000148/0.4892, allocations: 71.7 kB / 1.348 GB, free: 13.68 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 4.079e-05/0.4892, allocations: 8 kB / 1.348 GB, free: 13.67 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 3.452e-05/0.4893, allocations: 8 kB / 1.348 GB, free: 13.66 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.813e-05/0.4893, allocations: 23.91 kB / 1.348 GB, free: 13.64 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001072/0.4894, allocations: 59.72 kB / 1.348 GB, free: 13.58 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002642/0.4897, allocations: 135.4 kB / 1.348 GB, free: 13.45 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 7.203e-06/0.4897, allocations: 0 / 1.348 GB, free: 13.45 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.985e-06/0.4897, allocations: 0 / 1.348 GB, free: 13.45 MB / 1.045 GB Notification: Performance of Transformations before backend: time 9.418e-06/0.4897, allocations: 0 / 1.348 GB, free: 13.45 MB / 1.045 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.0009713/0.4907, allocations: 381.6 kB / 1.348 GB, free: 13.04 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.35e-05/0.4907, allocations: 12.03 kB / 1.348 GB, free: 13.03 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.248e-05/0.4908, allocations: 192 / 1.348 GB, free: 13.03 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.331e-05/0.4908, allocations: 42.75 kB / 1.348 GB, free: 12.98 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.921e-05/0.4909, allocations: 12.89 kB / 1.348 GB, free: 12.96 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003992/0.4913, allocations: 146.3 kB / 1.348 GB, free: 12.8 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.818e-05/0.4913, allocations: 4.375 kB / 1.348 GB, free: 12.79 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.154e-05/0.4913, allocations: 8.375 kB / 1.348 GB, free: 12.79 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000393/0.4917, allocations: 130.6 kB / 1.348 GB, free: 12.65 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.4917, allocations: 0 / 1.348 GB, free: 12.65 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.1e-05/0.4917, allocations: 8 kB / 1.348 GB, free: 12.64 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.231e-06/0.4917, allocations: 0 / 1.348 GB, free: 12.64 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003229/0.4921, allocations: 95.92 kB / 1.349 GB, free: 12.55 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009863/0.4931, allocations: 415.9 kB / 1.349 GB, free: 12.09 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000475/0.4935, allocations: 129.3 kB / 1.349 GB, free: 11.95 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001842/0.4937, allocations: 65.67 kB / 1.349 GB, free: 11.88 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.136e-05/0.4937, allocations: 0 / 1.349 GB, free: 11.88 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.458e-05/0.4938, allocations: 34.56 kB / 1.349 GB, free: 11.84 MB / 1.045 GB Notification: Performance of pre-optimization done (n=9): time 1.052e-06/0.4938, allocations: 0 / 1.349 GB, free: 11.84 MB / 1.045 GB Notification: Performance of matching and sorting (n=9): time 0.0006729/0.4945, allocations: 181.5 kB / 1.349 GB, free: 11.65 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.561e-05/0.4945, allocations: 77.11 kB / 1.349 GB, free: 11.56 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002026/0.4947, allocations: 174.2 kB / 1.35 GB, free: 11.38 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.332e-05/0.4947, allocations: 29.7 kB / 1.35 GB, free: 11.34 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.894e-05/0.4948, allocations: 116 kB / 1.35 GB, free: 11.22 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.704e-05/0.4949, allocations: 31.81 kB / 1.35 GB, free: 11.19 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.366e-05/0.4949, allocations: 25.7 kB / 1.35 GB, free: 11.16 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.00017/0.4951, allocations: 326.8 kB / 1.35 GB, free: 10.83 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001527/0.4953, allocations: 43.97 kB / 1.35 GB, free: 10.79 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001795/0.4954, allocations: 53.69 kB / 1.35 GB, free: 10.73 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002994/0.4957, allocations: 109.7 kB / 1.35 GB, free: 10.62 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.4957, allocations: 0 / 1.35 GB, free: 10.62 MB / 1.045 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004094/0.4962, allocations: 149.4 kB / 1.35 GB, free: 10.46 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.4962, allocations: 4 kB / 1.35 GB, free: 10.46 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.4962, allocations: 0 / 1.35 GB, free: 10.46 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.392e-05/0.4962, allocations: 4 kB / 1.35 GB, free: 10.46 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001676/0.4964, allocations: 27.92 kB / 1.35 GB, free: 10.43 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.4964, allocations: 0 / 1.35 GB, free: 10.43 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001272/0.4965, allocations: 20.25 kB / 1.35 GB, free: 10.41 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.259e-05/0.4965, allocations: 0 / 1.35 GB, free: 10.41 MB / 1.045 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.0001433/0.4967, allocations: 121.8 kB / 1.351 GB, free: 10.28 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.534e-05/0.4967, allocations: 7.953 kB / 1.351 GB, free: 10.27 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004703/0.4972, allocations: 170.6 kB / 1.351 GB, free: 10.1 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.389e-06/0.4972, allocations: 240 / 1.351 GB, free: 10.1 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.4972, allocations: 4.188 kB / 1.351 GB, free: 10.1 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.117e-06/0.4972, allocations: 7.922 kB / 1.351 GB, free: 10.09 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000305/0.4975, allocations: 180.6 kB / 1.351 GB, free: 9.871 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.4975, allocations: 0 / 1.351 GB, free: 9.871 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001512/0.4977, allocations: 19.98 kB / 1.351 GB, free: 9.852 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.4977, allocations: 0 / 1.351 GB, free: 9.852 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.31e-05/0.4977, allocations: 0 / 1.351 GB, free: 9.852 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.262e-06/0.4977, allocations: 7.984 kB / 1.351 GB, free: 9.844 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.4977, allocations: 4 kB / 1.351 GB, free: 9.84 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005556/0.4982, allocations: 314.6 kB / 1.351 GB, free: 9.516 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.608e-05/0.4983, allocations: 7.953 kB / 1.351 GB, free: 9.508 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.059e-05/0.4983, allocations: 4 kB / 1.351 GB, free: 9.504 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001717/0.4985, allocations: 7.984 kB / 1.351 GB, free: 9.496 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.537e-05/0.4985, allocations: 15.86 kB / 1.351 GB, free: 9.48 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.326e-05/0.4986, allocations: 8 kB / 1.351 GB, free: 9.473 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.000121/0.4987, allocations: 124.2 kB / 1.351 GB, free: 9.352 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4987, allocations: 4 kB / 1.351 GB, free: 9.348 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002973/0.499, allocations: 32 kB / 1.351 GB, free: 9.316 MB / 1.045 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.00079/0.4998, allocations: 0.8366 MB / 1.352 GB, free: 8.449 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003682/0.5001, allocations: 107.9 kB / 1.352 GB, free: 8.344 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.5001, allocations: 4 kB / 1.352 GB, free: 8.34 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.000155/0.5003, allocations: 47.91 kB / 1.352 GB, free: 8.293 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004656/0.5008, allocations: 46.38 kB / 1.352 GB, free: 8.25 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002593/0.5033, allocations: 1.829 MB / 1.354 GB, free: 6.328 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001088/0.5035, allocations: 89.62 kB / 1.354 GB, free: 6.223 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 8.698e-05/0.5035, allocations: 16.64 kB / 1.354 GB, free: 6.207 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.541e-05/0.5036, allocations: 35.42 kB / 1.354 GB, free: 6.172 MB / 1.045 GB Notification: Performance of SimCode: time 2.8e-07/0.5036, allocations: 0 / 1.354 GB, free: 6.172 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02665/0.5303, allocations: 4.134 MB / 1.358 GB, free: 2.258 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/12.07, allocations: 4.062 kB / 1.358 GB, free: 2.254 MB / 1.045 GB " [Timeout remaining time 288] (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: 19.441280847997405] Failed to read output from testmodel.py, exit status != 0: 12.23922065703664 12.254560046 11.76137183 Calling exit ...