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: translateModel(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") translateModel(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.735/2.735, allocations: 287.5 MB / 302.4 MB, free: 8.32 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.001378/0.001378, allocations: 195 kB / 371 MB, free: 10.88 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.118/2.118, 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.0009836/0.0009834, allocations: 95.11 kB / 0.743 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006827/0.000683, allocations: 12.06 kB / 0.8658 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2453/0.2461, allocations: 115.3 MB / 0.9783 GB, free: 28.42 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.002114/0.2482, allocations: 1.5 MB / 0.9798 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0003281/0.2486, allocations: 123.6 kB / 0.9799 GB, free: 26.78 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.348e-05/0.2487, allocations: 3.938 kB / 0.9799 GB, free: 26.78 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 9.59e-05/0.2488, allocations: 7.922 kB / 0.9799 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001224/0.2489, allocations: 47.62 kB / 0.98 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001314/0.2491, allocations: 27.95 kB / 0.98 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002069/0.2493, allocations: 151.1 kB / 0.9801 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.2494, allocations: 25.09 kB / 0.9802 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.403e-05/0.2495, allocations: 47.84 kB / 0.9802 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001125/0.2496, allocations: 59.77 kB / 0.9803 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.948e-05/0.2497, allocations: 4 kB / 0.9803 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.305e-05/0.2497, allocations: 4 kB / 0.9803 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.703e-05/0.2498, allocations: 23.89 kB / 0.9803 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.682e-05/0.2498, allocations: 49.64 kB / 0.9804 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001193/0.2499, allocations: 72.09 kB / 0.9804 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.25, allocations: 0 / 0.9804 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.567e-06/0.25, allocations: 0 / 0.9804 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.25, allocations: 3.938 kB / 0.9804 GB, free: 26.25 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.0008071/0.2508, allocations: 454.7 kB / 0.9809 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.2508, allocations: 8.031 kB / 0.9809 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.104e-05/0.2509, allocations: 11.91 kB / 0.9809 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001913/0.2511, allocations: 208 kB / 0.9811 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.2511, allocations: 12 kB / 0.9811 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.196e-05/0.2512, allocations: 4 kB / 0.9811 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003709/0.2515, allocations: 121.3 kB / 0.9812 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.2516, allocations: 0 / 0.9812 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.857e-05/0.2516, allocations: 7.938 kB / 0.9812 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.2516, allocations: 7.938 kB / 0.9812 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004772/0.2521, allocations: 107.9 kB / 0.9813 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008813/0.253, allocations: 476.7 kB / 0.9818 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005075/0.2535, allocations: 141.3 kB / 0.9819 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002589/0.2538, allocations: 65.72 kB / 0.982 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.12e-05/0.2538, allocations: 4 kB / 0.982 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.777e-05/0.2539, allocations: 38.56 kB / 0.982 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 2.044e-06/0.2539, allocations: 0 / 0.982 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.0008758/0.2548, allocations: 205.3 kB / 0.9822 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.222e-05/0.2548, allocations: 77.11 kB / 0.9823 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001711/0.255, allocations: 174.9 kB / 0.9825 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.724e-05/0.255, allocations: 25.7 kB / 0.9825 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.412e-05/0.2551, allocations: 112.2 kB / 0.9826 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.689e-05/0.2551, allocations: 27.66 kB / 0.9826 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.139e-05/0.2552, allocations: 4 kB / 0.9826 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.119e-05/0.2552, allocations: 318.8 kB / 0.9829 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002358/0.2555, allocations: 51.97 kB / 0.983 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002452/0.2557, allocations: 73.61 kB / 0.983 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002458/0.256, allocations: 48.23 kB / 0.9831 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.256, allocations: 0 / 0.9831 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006229/0.2567, allocations: 165.4 kB / 0.9832 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.2567, allocations: 4 kB / 0.9832 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.2567, allocations: 3.984 kB / 0.9832 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.2567, allocations: 0 / 0.9832 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002757/0.257, allocations: 43.88 kB / 0.9833 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.257, allocations: 0 / 0.9833 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002077/0.2573, allocations: 19.83 kB / 0.9833 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.71e-05/0.2573, allocations: 4 kB / 0.9833 GB, free: 23.04 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.0001019/0.2574, allocations: 117.8 kB / 0.9834 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.582e-05/0.2575, allocations: 11.91 kB / 0.9834 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006524/0.2581, allocations: 178.7 kB / 0.9836 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.2582, allocations: 0 / 0.9836 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.2582, allocations: 7.953 kB / 0.9836 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.2582, allocations: 0 / 0.9836 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003316/0.2585, allocations: 225.7 kB / 0.9838 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.2585, allocations: 0 / 0.9838 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002501/0.2588, allocations: 35.86 kB / 0.9839 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/0.2588, allocations: 0 / 0.9839 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.691e-05/0.2588, allocations: 7.984 kB / 0.9839 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.2589, allocations: 0 / 0.9839 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.2589, allocations: 0 / 0.9839 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005865/0.2595, allocations: 326.6 kB / 0.9842 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.626e-05/0.2595, allocations: 92.92 kB / 0.9843 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.621e-05/0.2596, allocations: 192 / 0.9843 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002657/0.2599, allocations: 19.98 kB / 0.9843 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.009e-05/0.2599, allocations: 7.984 kB / 0.9843 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.452e-05/0.26, allocations: 4 kB / 0.9843 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000114/0.2601, allocations: 127.2 kB / 0.9844 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.41e-07/0.2601, allocations: 0 / 0.9844 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004105/0.2605, allocations: 32 kB / 0.9845 GB, free: 21.77 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.0001034/0.2606, allocations: 99.23 kB / 0.9846 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005532/0.2612, allocations: 115.9 kB / 0.9847 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.2612, allocations: 0 / 0.9847 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002664/0.2615, allocations: 63.91 kB / 0.9847 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006469/0.2621, allocations: 46.06 kB / 0.9848 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000585/0.2627, allocations: 260.1 kB / 0.985 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001574/0.2629, allocations: 0.7009 MB / 0.9857 GB, free: 20.44 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001469/0.2631, allocations: 12.66 kB / 0.9857 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.623e-05/0.2632, allocations: 11.44 kB / 0.9857 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of SimCode: time 1.062e-06/0.2632, allocations: 0 / 0.9857 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of Templates: time 0.006091/0.2693, allocations: 1.839 MB / 0.9875 GB, free: 18.62 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.makefile (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 & ./Buildings_8.0.0_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1)