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.714/1.714, allocations: 288.4 MB / 303.3 MB, free: 8.121 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.0008854/0.0008854, allocations: 178.9 kB / 372 MB, free: 10.26 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.522/1.522, allocations: 205.4 MB / 0.6307 GB, free: 10.01 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.0008934/0.0008935, allocations: 101.3 kB / 0.7441 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003869/0.0003869, allocations: 15.09 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2396/0.24, allocations: 115.3 MB / 0.9796 GB, free: 27.56 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.001936/0.242, allocations: 1.5 MB / 0.9811 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0003948/0.2424, allocations: 111.6 kB / 0.9812 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001436/0.2426, allocations: 0 / 0.9812 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000124/0.2427, allocations: 11.92 kB / 0.9812 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001157/0.2428, allocations: 47.61 kB / 0.9813 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001406/0.243, allocations: 19.97 kB / 0.9813 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001671/0.2431, allocations: 159.1 kB / 0.9814 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.2433, allocations: 25.38 kB / 0.9815 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.356e-05/0.2433, allocations: 47.86 kB / 0.9815 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.754e-05/0.2434, allocations: 59.75 kB / 0.9816 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.321e-05/0.2435, allocations: 4 kB / 0.9816 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 2.336e-05/0.2435, allocations: 7.938 kB / 0.9816 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.898e-05/0.2435, allocations: 15.92 kB / 0.9816 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.691e-05/0.2436, allocations: 49.64 kB / 0.9816 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001046/0.2437, allocations: 83.78 kB / 0.9817 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.2437, allocations: 7.938 kB / 0.9817 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.355e-06/0.2437, allocations: 0 / 0.9817 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.659e-06/0.2437, allocations: 4 kB / 0.9817 GB, free: 25.39 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.0006753/0.2444, allocations: 442.7 kB / 0.9822 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.2444, allocations: 12.03 kB / 0.9822 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.36e-05/0.2445, allocations: 42.56 kB / 0.9822 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.444e-05/0.2445, allocations: 11.81 kB / 0.9822 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001885/0.2447, allocations: 200.4 kB / 0.9824 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.706e-06/0.2447, allocations: 8 kB / 0.9824 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.741e-05/0.2448, allocations: 4 kB / 0.9824 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002554/0.245, allocations: 135.2 kB / 0.9825 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.245, allocations: 0 / 0.9825 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.403e-05/0.2451, allocations: 4 kB / 0.9826 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.2451, allocations: 3.984 kB / 0.9826 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002803/0.2454, allocations: 111.9 kB / 0.9827 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006017/0.246, allocations: 472.7 kB / 0.9831 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003172/0.2463, allocations: 137.2 kB / 0.9832 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001482/0.2465, allocations: 69.78 kB / 0.9833 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.464e-05/0.2465, allocations: 0 / 0.9833 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.882e-05/0.2465, allocations: 34.56 kB / 0.9833 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 9.71e-07/0.2465, allocations: 4 kB / 0.9833 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.0005355/0.2471, allocations: 205.2 kB / 0.9835 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.515e-05/0.2471, allocations: 85.11 kB / 0.9836 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001104/0.2472, allocations: 170.9 kB / 0.9838 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.214e-05/0.2472, allocations: 29.7 kB / 0.9838 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.576e-05/0.2473, allocations: 112.2 kB / 0.9839 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.036e-05/0.2473, allocations: 27.56 kB / 0.9839 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.192e-06/0.2473, allocations: 0 / 0.9839 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.908e-05/0.2474, allocations: 326.8 kB / 0.9843 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001377/0.2475, allocations: 55.91 kB / 0.9843 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001303/0.2477, allocations: 61.69 kB / 0.9844 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001385/0.2478, allocations: 55.97 kB / 0.9844 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.2478, allocations: 3.938 kB / 0.9844 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003077/0.2481, allocations: 153.9 kB / 0.9846 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.2482, allocations: 8 kB / 0.9846 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.2482, allocations: 4 kB / 0.9846 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.2482, allocations: 0 / 0.9846 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001467/0.2483, allocations: 31.98 kB / 0.9846 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.2483, allocations: 3.953 kB / 0.9846 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000119/0.2485, allocations: 19.89 kB / 0.9846 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.969e-06/0.2485, allocations: 0 / 0.9846 GB, free: 22.15 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 7.025e-05/0.2486, allocations: 125.8 kB / 0.9848 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.508e-05/0.2486, allocations: 11.84 kB / 0.9848 GB, free: 22 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003704/0.249, allocations: 170.6 kB / 0.9849 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.249, allocations: 4 kB / 0.9849 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.249, allocations: 0 / 0.9849 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.249, allocations: 7.891 kB / 0.9849 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000208/0.2492, allocations: 225.4 kB / 0.9852 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.2492, allocations: 0 / 0.9852 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001353/0.2494, allocations: 23.98 kB / 0.9852 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.2494, allocations: 7.984 kB / 0.9852 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.839e-06/0.2494, allocations: 0 / 0.9852 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.2494, allocations: 0 / 0.9852 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.2494, allocations: 4 kB / 0.9852 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000363/0.2498, allocations: 326.7 kB / 0.9855 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.201e-05/0.2498, allocations: 88.92 kB / 0.9856 GB, free: 21.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.321e-05/0.2499, allocations: 7.984 kB / 0.9856 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001669/0.25, allocations: 12 kB / 0.9856 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.16e-05/0.2501, allocations: 12.22 kB / 0.9856 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.332e-06/0.2501, allocations: 0 / 0.9856 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.981e-05/0.2502, allocations: 127.2 kB / 0.9857 GB, free: 20.92 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2502, allocations: 0 / 0.9857 GB, free: 20.92 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002467/0.2504, allocations: 27.95 kB / 0.9858 GB, free: 20.89 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.0005223/0.251, allocations: 0.8599 MB / 0.9866 GB, free: 20.01 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003144/0.2513, allocations: 123.9 kB / 0.9867 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.2513, allocations: 0 / 0.9867 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001422/0.2514, allocations: 67.91 kB / 0.9868 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004409/0.2519, allocations: 35.39 kB / 0.9868 GB, free: 19.79 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001233/0.2531, allocations: 0.844 MB / 0.9877 GB, free: 18.89 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001286/0.2533, allocations: 0.7087 MB / 0.9883 GB, free: 18.16 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.965e-05/0.2534, allocations: 12.64 kB / 0.9884 GB, free: 18.14 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.622e-05/0.2534, allocations: 35.42 kB / 0.9884 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of SimCode: time 2.4e-07/0.2534, allocations: 3.938 kB / 0.9884 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0131/0.2665, allocations: 3.235 MB / 0.9916 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001472/0.2667, allocations: 213.3 kB / 0.9918 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.926/2.193, allocations: 0 / 0.9918 GB, free: 14.84 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)