Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.658/2.658, allocations: 287.5 MB / 302.4 MB, free: 8.258 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001287/0.001287, allocations: 195 kB / 371 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.06/2.06, allocations: 205.4 MB / 0.6297 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009473/0.0009467, allocations: 94.89 kB / 0.743 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006488/0.000649, allocations: 11.42 kB / 0.8659 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2509/0.2516, allocations: 115.3 MB / 0.9784 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.002056/0.2537, allocations: 1.496 MB / 0.9799 GB, free: 26.78 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0003117/0.2541, allocations: 123.6 kB / 0.98 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.251e-05/0.2542, allocations: 0 / 0.98 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 9.679e-05/0.2543, allocations: 7.922 kB / 0.98 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001595/0.2544, allocations: 59.55 kB / 0.9801 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001346/0.2546, allocations: 23.97 kB / 0.9801 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001978/0.2548, allocations: 147.2 kB / 0.9802 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/0.2549, allocations: 21.38 kB / 0.9803 GB, free: 26.4 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.474e-05/0.255, allocations: 47.84 kB / 0.9803 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001134/0.2551, allocations: 55.77 kB / 0.9804 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.878e-05/0.2552, allocations: 8 kB / 0.9804 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.397e-05/0.2552, allocations: 7.938 kB / 0.9804 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.988e-05/0.2553, allocations: 31.83 kB / 0.9804 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.756e-05/0.2553, allocations: 45.64 kB / 0.9804 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001258/0.2555, allocations: 83.8 kB / 0.9805 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.2555, allocations: 0 / 0.9805 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.795e-06/0.2555, allocations: 0 / 0.9805 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.2555, allocations: 3.938 kB / 0.9805 GB, free: 26.12 MB / 0.6198 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.0008785/0.2564, allocations: 450.7 kB / 0.981 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.2565, allocations: 12.02 kB / 0.981 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.079e-05/0.2565, allocations: 42.55 kB / 0.981 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.307e-05/0.2566, allocations: 11.81 kB / 0.981 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002144/0.2568, allocations: 204.2 kB / 0.9812 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.2568, allocations: 8 kB / 0.9812 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.583e-05/0.2568, allocations: 8 kB / 0.9812 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003956/0.2572, allocations: 128.9 kB / 0.9814 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.2573, allocations: 0 / 0.9814 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.773e-05/0.2573, allocations: 4 kB / 0.9814 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.2573, allocations: 4 kB / 0.9814 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004907/0.2578, allocations: 103.9 kB / 0.9815 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009062/0.2587, allocations: 476.7 kB / 0.9819 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000529/0.2593, allocations: 137.2 kB / 0.982 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002642/0.2596, allocations: 69.78 kB / 0.9821 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.427e-05/0.2596, allocations: 0 / 0.9821 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.845e-05/0.2596, allocations: 38.56 kB / 0.9822 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 1.603e-06/0.2597, allocations: 0 / 0.9822 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.0009164/0.2606, allocations: 209.3 kB / 0.9824 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.383e-05/0.2606, allocations: 81.11 kB / 0.9824 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001671/0.2608, allocations: 166.9 kB / 0.9826 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.781e-05/0.2608, allocations: 29.7 kB / 0.9826 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.23e-05/0.2609, allocations: 112.1 kB / 0.9827 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.934e-05/0.261, allocations: 35.55 kB / 0.9828 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.009e-05/0.261, allocations: 0 / 0.9828 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.364e-05/0.261, allocations: 326.8 kB / 0.9831 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002396/0.2613, allocations: 43.97 kB / 0.9831 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002482/0.2616, allocations: 65.69 kB / 0.9832 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002548/0.2618, allocations: 56.16 kB / 0.9832 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.2618, allocations: 0 / 0.9832 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006468/0.2625, allocations: 161.4 kB / 0.9834 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.2625, allocations: 4 kB / 0.9834 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.2626, allocations: 4 kB / 0.9834 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.149e-05/0.2626, allocations: 3.953 kB / 0.9834 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002747/0.2629, allocations: 28.17 kB / 0.9834 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.2629, allocations: 7.922 kB / 0.9834 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002053/0.2631, allocations: 15.91 kB / 0.9834 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.743e-05/0.2631, allocations: 7.984 kB / 0.9834 GB, free: 22.86 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001038/0.2632, allocations: 125.8 kB / 0.9836 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.721e-05/0.2633, allocations: 12.27 kB / 0.9836 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006681/0.264, allocations: 174.5 kB / 0.9837 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.481e-06/0.264, allocations: 4 kB / 0.9838 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.264, allocations: 7.953 kB / 0.9838 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.264, allocations: 0 / 0.9838 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003443/0.2644, allocations: 233.5 kB / 0.984 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.2644, allocations: 0 / 0.984 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002566/0.2647, allocations: 23.98 kB / 0.984 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/0.2647, allocations: 0 / 0.984 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.529e-05/0.2647, allocations: 0 / 0.984 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.2647, allocations: 0 / 0.984 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.2647, allocations: 4 kB / 0.984 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006139/0.2654, allocations: 330.6 kB / 0.9843 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.842e-05/0.2654, allocations: 92.92 kB / 0.9844 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.798e-05/0.2655, allocations: 4 kB / 0.9844 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002648/0.2658, allocations: 11.98 kB / 0.9844 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.724e-05/0.2658, allocations: 7.984 kB / 0.9844 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.652e-05/0.2659, allocations: 7.953 kB / 0.9844 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001097/0.266, allocations: 123.2 kB / 0.9846 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.8e-07/0.266, allocations: 0 / 0.9846 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000407/0.2664, allocations: 32 kB / 0.9846 GB, free: 21.6 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008244/0.2672, allocations: 0.8612 MB / 0.9854 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005666/0.2678, allocations: 115.9 kB / 0.9855 GB, free: 20.6 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.2679, allocations: 0 / 0.9855 GB, free: 20.6 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002689/0.2681, allocations: 59.91 kB / 0.9856 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006492/0.2688, allocations: 42.97 kB / 0.9856 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002048/0.2709, allocations: 0.8359 MB / 0.9865 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001689/0.2711, allocations: 0.7047 MB / 0.9871 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001582/0.2712, allocations: 12.66 kB / 0.9872 GB, free: 18.87 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001051/0.2714, allocations: 35.42 kB / 0.9872 GB, free: 18.83 MB / 0.6198 GB Notification: Performance of SimCode: time 1.062e-06/0.2714, allocations: 0 / 0.9872 GB, free: 18.83 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0269/0.2983, allocations: 3.238 MB / 0.9904 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002443/0.2986, allocations: 214.1 kB / 0.9906 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.584/2.883, allocations: 4.062 kB / 0.9906 GB, free: 15.55 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.fmu > Buildings_8.0.0_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1)