Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.63/1.63, allocations: 288.4 MB / 303.6 MB, free: 8.066 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.0009506/0.0009506, allocations: 179 kB / 372.3 MB, free: 10.09 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.524/1.524, allocations: 205.4 MB / 0.631 GB, free: 9.879 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.0009286/0.0009286, allocations: 90.3 kB / 0.7444 GB, free: 5.777 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003884/0.0003884, allocations: 11.56 kB / 0.8675 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2304/0.2308, allocations: 115.3 MB / 0.9802 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.001769/0.2326, allocations: 1.5 MB / 0.9816 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0003207/0.233, allocations: 119.6 kB / 0.9818 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001086/0.2331, allocations: 0 / 0.9818 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001066/0.2332, allocations: 15.86 kB / 0.9818 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.976e-05/0.2333, allocations: 39.62 kB / 0.9818 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001251/0.2335, allocations: 27.95 kB / 0.9818 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001828/0.2337, allocations: 159.1 kB / 0.982 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001176/0.2338, allocations: 25.38 kB / 0.982 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.608e-05/0.2339, allocations: 43.86 kB / 0.9821 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.383e-05/0.234, allocations: 63.75 kB / 0.9821 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.762e-05/0.234, allocations: 4 kB / 0.9821 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 2.565e-05/0.234, allocations: 7.938 kB / 0.9821 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.257e-05/0.2341, allocations: 19.91 kB / 0.9821 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.654e-05/0.2341, allocations: 89.42 kB / 0.9822 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001034/0.2342, allocations: 83.73 kB / 0.9823 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.2343, allocations: 0 / 0.9823 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.704e-06/0.2343, allocations: 0 / 0.9823 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.2343, allocations: 0 / 0.9823 GB, free: 25.02 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.0007046/0.235, allocations: 447 kB / 0.9827 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.235, allocations: 11.97 kB / 0.9827 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.927e-05/0.2351, allocations: 42.73 kB / 0.9828 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.147e-05/0.2351, allocations: 16.75 kB / 0.9828 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000185/0.2353, allocations: 196.1 kB / 0.983 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.2353, allocations: 4.375 kB / 0.983 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.807e-05/0.2354, allocations: 8.375 kB / 0.983 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002706/0.2356, allocations: 131.8 kB / 0.9831 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.2357, allocations: 7.938 kB / 0.9831 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.2357, allocations: 0 / 0.9831 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.2357, allocations: 0 / 0.9831 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002756/0.236, allocations: 107.9 kB / 0.9832 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006077/0.2366, allocations: 476.7 kB / 0.9837 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003224/0.2369, allocations: 137.2 kB / 0.9838 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001442/0.2371, allocations: 69.78 kB / 0.9839 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.142e-05/0.2371, allocations: 0 / 0.9839 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.644e-05/0.2371, allocations: 42.55 kB / 0.9839 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 8.62e-07/0.2371, allocations: 0 / 0.9839 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.0005274/0.2377, allocations: 209.5 kB / 0.9841 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/0.2377, allocations: 77.11 kB / 0.9842 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.2378, allocations: 166.9 kB / 0.9844 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.166e-05/0.2378, allocations: 25.7 kB / 0.9844 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.521e-05/0.2379, allocations: 112 kB / 0.9845 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.035e-05/0.2379, allocations: 35.62 kB / 0.9845 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.362e-06/0.2379, allocations: 0 / 0.9845 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.984e-05/0.238, allocations: 330.8 kB / 0.9848 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001291/0.2381, allocations: 47.97 kB / 0.9849 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001244/0.2383, allocations: 65.64 kB / 0.985 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002529/0.2385, allocations: 125.7 kB / 0.9851 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.2385, allocations: 3.938 kB / 0.9851 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003162/0.2389, allocations: 157.5 kB / 0.9852 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.2389, allocations: 8 kB / 0.9852 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.2389, allocations: 0 / 0.9852 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.2389, allocations: 0 / 0.9852 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000138/0.2391, allocations: 27.98 kB / 0.9853 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.2391, allocations: 4 kB / 0.9853 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001122/0.2392, allocations: 24.02 kB / 0.9853 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.129e-05/0.2392, allocations: 4 kB / 0.9853 GB, free: 21.7 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 6.726e-05/0.2393, allocations: 122.6 kB / 0.9854 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.626e-05/0.2393, allocations: 11.89 kB / 0.9854 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003677/0.2397, allocations: 174.5 kB / 0.9856 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.2397, allocations: 4 kB / 0.9856 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.2397, allocations: 4 kB / 0.9856 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.2397, allocations: 3.938 kB / 0.9856 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000215/0.24, allocations: 225.4 kB / 0.9858 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.24, allocations: 0 / 0.9858 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001298/0.2401, allocations: 24.17 kB / 0.9858 GB, free: 21.08 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.2401, allocations: 0 / 0.9858 GB, free: 21.08 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.2401, allocations: 8 kB / 0.9858 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.2401, allocations: 4.188 kB / 0.9858 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.2401, allocations: 0 / 0.9858 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003319/0.2405, allocations: 338.5 kB / 0.9862 GB, free: 20.72 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.185e-05/0.2405, allocations: 92.91 kB / 0.9863 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.229e-05/0.2406, allocations: 0 / 0.9863 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001573/0.2407, allocations: 11.98 kB / 0.9863 GB, free: 20.6 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.683e-05/0.2408, allocations: 11.94 kB / 0.9863 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.626e-06/0.2408, allocations: 7.984 kB / 0.9863 GB, free: 20.58 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.111e-05/0.2409, allocations: 119.2 kB / 0.9864 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2409, allocations: 4 kB / 0.9864 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002537/0.2411, allocations: 28 kB / 0.9864 GB, free: 20.43 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.0004991/0.2416, allocations: 0.8599 MB / 0.9873 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003129/0.2419, allocations: 115.9 kB / 0.9874 GB, free: 19.43 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.242, allocations: 0 / 0.9874 GB, free: 19.43 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001401/0.2421, allocations: 59.97 kB / 0.9874 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004374/0.2425, allocations: 52.72 kB / 0.9875 GB, free: 19.32 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001251/0.2438, allocations: 0.8323 MB / 0.9883 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001286/0.2439, allocations: 0.7126 MB / 0.989 GB, free: 17.71 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.664e-05/0.244, allocations: 4.656 kB / 0.989 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.746e-05/0.2441, allocations: 39.42 kB / 0.989 GB, free: 17.66 MB / 0.6198 GB Notification: Performance of SimCode: time 3.5e-07/0.2441, allocations: 4 kB / 0.989 GB, free: 17.66 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5644/0.8085, allocations: 3.252 MB / 0.9922 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001451/0.8087, allocations: 218.4 kB / 0.9924 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.51/3.318, allocations: 0 / 0.9924 GB, free: 14.37 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.fmu > Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1)