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.785/2.785, allocations: 287.3 MB / 302.3 MB, free: 8.336 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.001487/0.001487, allocations: 179.2 kB / 370.8 MB, free: 10.87 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.098/2.098, allocations: 205.4 MB / 0.6295 GB, free: 10.63 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.001113/0.001112, allocations: 101.5 kB / 0.7428 GB, free: 6.633 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007228/0.0007229, allocations: 16.31 kB / 0.8656 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2422/0.243, allocations: 115.3 MB / 0.9782 GB, free: 28.43 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.002101/0.2451, allocations: 1.449 MB / 0.9796 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0003029/0.2455, allocations: 135.6 kB / 0.9797 GB, free: 26.83 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.673e-05/0.2456, allocations: 0 / 0.9797 GB, free: 26.83 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.274e-05/0.2456, allocations: 7.922 kB / 0.9797 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001831/0.2458, allocations: 67.73 kB / 0.9798 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001265/0.2459, allocations: 23.97 kB / 0.9798 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002181/0.2462, allocations: 119.7 kB / 0.9799 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.2463, allocations: 25.09 kB / 0.98 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.111e-05/0.2464, allocations: 39.86 kB / 0.98 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001965/0.2466, allocations: 67.75 kB / 0.9801 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.652e-05/0.2467, allocations: 4 kB / 0.9801 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 3.382e-05/0.2467, allocations: 8 kB / 0.9801 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.91e-05/0.2468, allocations: 19.84 kB / 0.9801 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.972e-05/0.2468, allocations: 49.64 kB / 0.9801 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001239/0.2469, allocations: 76.08 kB / 0.9802 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.2469, allocations: 0 / 0.9802 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.823e-06/0.247, allocations: 3.938 kB / 0.9802 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.247, allocations: 0 / 0.9802 GB, free: 26.32 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.0008831/0.2479, allocations: 454.7 kB / 0.9806 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.2479, allocations: 8.031 kB / 0.9807 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.746e-05/0.248, allocations: 15.91 kB / 0.9807 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002153/0.2482, allocations: 204.1 kB / 0.9809 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.2482, allocations: 8 kB / 0.9809 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.311e-05/0.2483, allocations: 8 kB / 0.9809 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003881/0.2487, allocations: 121.2 kB / 0.981 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.2487, allocations: 4 kB / 0.981 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.865e-05/0.2487, allocations: 4 kB / 0.981 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.2487, allocations: 4 kB / 0.981 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004852/0.2492, allocations: 99.94 kB / 0.9811 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008418/0.2501, allocations: 480.6 kB / 0.9816 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005204/0.2506, allocations: 137.3 kB / 0.9817 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.204e-05/0.2507, allocations: 4 kB / 0.9817 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.623e-05/0.2507, allocations: 34.56 kB / 0.9817 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 2.414e-06/0.2507, allocations: 0 / 0.9817 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.0009232/0.2516, allocations: 213.4 kB / 0.9819 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.124e-05/0.2517, allocations: 81.11 kB / 0.982 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001689/0.2519, allocations: 166.9 kB / 0.9822 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.703e-05/0.2519, allocations: 25.7 kB / 0.9822 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.229e-05/0.252, allocations: 116.2 kB / 0.9823 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.213e-05/0.252, allocations: 23.64 kB / 0.9823 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.069e-05/0.2521, allocations: 4 kB / 0.9823 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.415e-05/0.2521, allocations: 322.8 kB / 0.9826 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002382/0.2524, allocations: 51.97 kB / 0.9827 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002434/0.2527, allocations: 69.56 kB / 0.9828 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002488/0.2529, allocations: 55.97 kB / 0.9828 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.2529, allocations: 0 / 0.9828 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005645/0.2535, allocations: 161.5 kB / 0.983 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.171e-05/0.2535, allocations: 7.938 kB / 0.983 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.2536, allocations: 3.938 kB / 0.983 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/0.2536, allocations: 0 / 0.983 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002718/0.2539, allocations: 27.98 kB / 0.983 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.859e-06/0.2539, allocations: 7.938 kB / 0.983 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002062/0.2541, allocations: 15.91 kB / 0.983 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.739e-05/0.2541, allocations: 4 kB / 0.983 GB, free: 23.19 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 9.59e-05/0.2542, allocations: 121.8 kB / 0.9831 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.569e-05/0.2543, allocations: 12.28 kB / 0.9832 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006437/0.255, allocations: 174.7 kB / 0.9833 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.255, allocations: 4.031 kB / 0.9833 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.255, allocations: 0 / 0.9833 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.255, allocations: 3.953 kB / 0.9833 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003735/0.2554, allocations: 233.5 kB / 0.9836 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.2554, allocations: 0 / 0.9836 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000248/0.2557, allocations: 31.92 kB / 0.9836 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.2557, allocations: 0 / 0.9836 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.764e-05/0.2557, allocations: 4 kB / 0.9836 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.2557, allocations: 0 / 0.9836 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.2557, allocations: 0 / 0.9836 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005869/0.2563, allocations: 336.3 kB / 0.9839 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.7e-05/0.2564, allocations: 92.91 kB / 0.984 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.65e-05/0.2564, allocations: 4 kB / 0.984 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002861/0.2567, allocations: 15.98 kB / 0.984 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.835e-05/0.2568, allocations: 7.953 kB / 0.984 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.542e-05/0.2568, allocations: 7.984 kB / 0.984 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000115/0.257, allocations: 123.2 kB / 0.9841 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.61e-07/0.257, allocations: 0 / 0.9841 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003967/0.2574, allocations: 32.28 kB / 0.9842 GB, free: 21.91 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.0001121/0.2575, allocations: 91.25 kB / 0.9843 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000558/0.2581, allocations: 123.8 kB / 0.9844 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.2581, allocations: 0 / 0.9844 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002678/0.2584, allocations: 67.91 kB / 0.9844 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004813/0.2589, allocations: 31.97 kB / 0.9845 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006026/0.2595, allocations: 256.1 kB / 0.9847 GB, free: 21.31 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001835/0.2597, allocations: 0.7164 MB / 0.9854 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001334/0.2598, allocations: 8.656 kB / 0.9854 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.181e-05/0.2599, allocations: 15.44 kB / 0.9854 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of SimCode: time 1.272e-06/0.2599, allocations: 0 / 0.9854 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of Templates: time 0.006177/0.2661, allocations: 1.844 MB / 0.9872 GB, free: 18.74 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)