Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001856/0.001856, allocations: 117.1 kB / 17.16 MB, free: 5.895 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.002429/0.002429, allocations: 215 kB / 20.13 MB, free: 2.949 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.482/1.482, 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/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002504/0.002504, allocations: 284 kB / 309.8 MB, free: 3.562 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.077/1.077, allocations: 180.6 MB / 0.5338 GB, free: 12.43 MB / 398.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002857/0.002857, allocations: 99.86 kB / 0.7346 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4768/0.4797, allocations: 95.34 MB / 0.8277 GB, free: 3.062 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.002486/0.4822, allocations: 1.85 MB / 0.8295 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0002411/0.4824, allocations: 120.3 kB / 0.8297 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.397e-05/0.4825, allocations: 3.938 kB / 0.8297 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001032/0.4826, allocations: 18.61 kB / 0.8297 GB, free: 1.664 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 7.69e-05/0.4827, allocations: 51 kB / 0.8297 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001153/0.4828, allocations: 36.25 kB / 0.8298 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001674/0.4829, allocations: 174 kB / 0.8299 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.483, allocations: 18.16 kB / 0.8299 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 6.701e-05/0.4831, allocations: 52.11 kB / 0.83 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 9.224e-05/0.4832, allocations: 70.09 kB / 0.8301 GB, free: 1.465 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.301e-05/0.4832, allocations: 9.094 kB / 0.8301 GB, free: 1.465 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 2.108e-05/0.4832, allocations: 10.66 kB / 0.8301 GB, free: 1.465 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.795e-05/0.4833, allocations: 23.34 kB / 0.8301 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 5.352e-05/0.4833, allocations: 71.91 kB / 0.8302 GB, free: 1.41 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001483/0.4835, allocations: 130.2 kB / 0.8303 GB, free: 1.355 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.4835, allocations: 0 / 0.8303 GB, free: 1.355 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.283e-06/0.4835, allocations: 0 / 0.8303 GB, free: 1.355 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.4835, allocations: 0 / 0.8303 GB, free: 1.355 MB / 0.5762 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.0006393/0.4841, allocations: 455.1 kB / 0.8307 GB, free: 0.9414 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.4842, allocations: 11.81 kB / 0.8307 GB, free: 0.9375 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.272e-05/0.4842, allocations: 11.55 kB / 0.8308 GB, free: 0.9297 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.467e-05/0.4842, allocations: 38.64 kB / 0.8308 GB, free: 0.8867 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.064e-05/0.4842, allocations: 15.44 kB / 0.8308 GB, free: 0.8789 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001802/0.4844, allocations: 205.6 kB / 0.831 GB, free: 0.6641 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/0.4844, allocations: 7 kB / 0.831 GB, free: 0.6602 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.51e-05/0.4844, allocations: 6.234 kB / 0.831 GB, free: 0.6602 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002622/0.4847, allocations: 123.3 kB / 0.8311 GB, free: 0.582 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.729e-06/0.4847, allocations: 1.219 kB / 0.8311 GB, free: 0.582 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.4847, allocations: 4 kB / 0.8311 GB, free: 0.5781 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.4847, allocations: 4.875 kB / 0.8311 GB, free: 0.5781 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002911/0.485, allocations: 88.77 kB / 0.8312 GB, free: 0.5586 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005802/0.4856, allocations: 486 kB / 0.8317 GB, free: 136 kB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003414/0.4859, allocations: 126.9 kB / 0.8318 GB, free: 56 kB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001531/0.4861, allocations: 59.22 kB / 0.8319 GB, free: 24 kB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.348e-05/0.4861, allocations: 0.7031 kB / 0.8319 GB, free: 24 kB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.541e-05/0.4862, allocations: 38.08 kB / 0.8319 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=9): time 1.213e-06/0.4862, allocations: 0 / 0.8319 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of matching and sorting (n=9): time 0.0005849/0.4868, allocations: 182.4 kB / 0.8321 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.793e-05/0.4868, allocations: 77.67 kB / 0.8322 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001507/0.487, allocations: 167.7 kB / 0.8323 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.474e-05/0.487, allocations: 25.7 kB / 0.8323 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 7.438e-05/0.4871, allocations: 112.8 kB / 0.8324 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.34e-05/0.4871, allocations: 35.69 kB / 0.8325 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.142e-05/0.4871, allocations: 20.02 kB / 0.8325 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001456/0.4873, allocations: 325.6 kB / 0.8328 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001484/0.4874, allocations: 47.11 kB / 0.8329 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000148/0.4876, allocations: 63.33 kB / 0.8329 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002903/0.4879, allocations: 98.47 kB / 0.833 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.4879, allocations: 4 kB / 0.833 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000358/0.4882, allocations: 148.7 kB / 0.8332 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.4882, allocations: 5.281 kB / 0.8332 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.4883, allocations: 4.5 kB / 0.8332 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.4883, allocations: 0 / 0.8332 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001502/0.4884, allocations: 22.55 kB / 0.8332 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.4884, allocations: 1.125 kB / 0.8332 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001238/0.4885, allocations: 30.22 kB / 0.8332 GB, free: 15 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.026e-05/0.4886, allocations: 7.844 kB / 0.8332 GB, free: 15 MB / 0.5919 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.0001031/0.4887, allocations: 118.7 kB / 0.8333 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.379e-05/0.4887, allocations: 14.16 kB / 0.8333 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004291/0.4891, allocations: 163.5 kB / 0.8335 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.4891, allocations: 5.469 kB / 0.8335 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.4892, allocations: 1.562 kB / 0.8335 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.782e-06/0.4892, allocations: 4.5 kB / 0.8335 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003055/0.4895, allocations: 213.5 kB / 0.8337 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.4895, allocations: 0 / 0.8337 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001392/0.4896, allocations: 22.98 kB / 0.8337 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.4896, allocations: 0 / 0.8337 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.649e-05/0.4896, allocations: 4.75 kB / 0.8337 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.4896, allocations: 1.094 kB / 0.8337 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.4896, allocations: 2.906 kB / 0.8337 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004436/0.4901, allocations: 318.3 kB / 0.8341 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.819e-05/0.4901, allocations: 87.86 kB / 0.8341 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.326e-05/0.4902, allocations: 3.25 kB / 0.8341 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001693/0.4903, allocations: 8.047 kB / 0.8341 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.361e-05/0.4904, allocations: 19.59 kB / 0.8342 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.216e-06/0.4904, allocations: 3.203 kB / 0.8342 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001058/0.4905, allocations: 127.4 kB / 0.8343 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.4905, allocations: 0 / 0.8343 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002871/0.4908, allocations: 33.34 kB / 0.8343 GB, free: 14.11 MB / 0.5919 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.0007687/0.4916, allocations: 0.8391 MB / 0.8351 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003706/0.4919, allocations: 102.4 kB / 0.8352 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.4919, allocations: 0 / 0.8352 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001598/0.4921, allocations: 57.48 kB / 0.8353 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004383/0.4925, allocations: 51.44 kB / 0.8353 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002379/0.4949, allocations: 1.82 MB / 0.8371 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003185/0.4952, allocations: 0.702 MB / 0.8378 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 7.6e-05/0.4953, allocations: 18.2 kB / 0.8378 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.098e-05/0.4954, allocations: 41.02 kB / 0.8379 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of SimCode: time 3.81e-07/0.4954, allocations: 0 / 0.8379 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02162/0.517, allocations: 3.722 MB / 0.8415 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.568/9.085, allocations: 10.8 kB / 0.8415 GB, free: 10.56 MB / 0.5919 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Controls_SetPoints_Examples_SupplyReturnTemperatureReset_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.fmu > BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.024578148964792] Failed to read output from testmodel.py, exit status != 0: 9.212689945008606 9.231792635 8.744953764 Calling exit ...