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 1.778/1.778, allocations: 287.5 MB / 302.6 MB, free: 8.184 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.001762/0.001762, allocations: 176.7 kB / 371.2 MB, free: 10.74 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.217/2.217, allocations: 205.4 MB / 0.6298 GB, free: 10.55 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.001034/0.001034, allocations: 96.8 kB / 0.7432 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004303/0.0004303, allocations: 11.5 kB / 0.8661 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2928/0.2932, allocations: 115.3 MB / 0.9787 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.002948/0.2963, allocations: 1.507 MB / 0.9801 GB, free: 26.67 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0005198/0.2968, allocations: 111.6 kB / 0.9802 GB, free: 26.56 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001969/0.2971, allocations: 4 kB / 0.9802 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001864/0.2973, allocations: 15.86 kB / 0.9803 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002242/0.2975, allocations: 43.61 kB / 0.9803 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002169/0.2977, allocations: 23.97 kB / 0.9803 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003009/0.2981, allocations: 163.1 kB / 0.9805 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001834/0.2982, allocations: 17.12 kB / 0.9805 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001586/0.2984, allocations: 51.83 kB / 0.9805 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001431/0.2986, allocations: 63.75 kB / 0.9806 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.12e-05/0.2986, allocations: 4 kB / 0.9806 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 3.22e-05/0.2986, allocations: 4 kB / 0.9806 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.943e-05/0.2987, allocations: 15.92 kB / 0.9806 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.065e-05/0.2987, allocations: 45.64 kB / 0.9807 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001645/0.2989, allocations: 84.06 kB / 0.9808 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 1.251e-05/0.2989, allocations: 0 / 0.9808 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.707e-06/0.299, allocations: 4 kB / 0.9808 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.395e-05/0.299, allocations: 0 / 0.9808 GB, free: 26.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.000979/0.3, allocations: 450.8 kB / 0.9812 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.629e-05/0.3, allocations: 12.03 kB / 0.9812 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.695e-05/0.3001, allocations: 16.84 kB / 0.9812 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003222/0.3005, allocations: 213.2 kB / 0.9814 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.753e-05/0.3005, allocations: 384 / 0.9814 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.295e-05/0.3005, allocations: 8.375 kB / 0.9814 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003285/0.3009, allocations: 127.8 kB / 0.9815 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/0.3009, allocations: 4.188 kB / 0.9816 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.065e-05/0.3009, allocations: 7.938 kB / 0.9816 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.3009, allocations: 0 / 0.9816 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003034/0.3012, allocations: 107.9 kB / 0.9817 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007512/0.302, allocations: 468.8 kB / 0.9821 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003929/0.3024, allocations: 137.2 kB / 0.9822 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001587/0.3026, allocations: 73.78 kB / 0.9823 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.436e-05/0.3026, allocations: 8 kB / 0.9823 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.213e-05/0.3027, allocations: 38.5 kB / 0.9824 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 1.523e-06/0.3027, allocations: 0 / 0.9824 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.0005815/0.3033, allocations: 205.3 kB / 0.9826 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.22e-05/0.3033, allocations: 81.11 kB / 0.9826 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00015/0.3035, allocations: 170.9 kB / 0.9828 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.083e-05/0.3035, allocations: 29.7 kB / 0.9828 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.434e-05/0.3036, allocations: 108 kB / 0.9829 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.282e-05/0.3036, allocations: 31.55 kB / 0.983 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.394e-06/0.3036, allocations: 4 kB / 0.983 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.3037, allocations: 326.8 kB / 0.9833 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001453/0.3039, allocations: 51.97 kB / 0.9833 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001363/0.3041, allocations: 61.69 kB / 0.9834 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002754/0.3043, allocations: 121.6 kB / 0.9835 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.3044, allocations: 0 / 0.9835 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000347/0.3047, allocations: 153.5 kB / 0.9836 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.45e-05/0.3047, allocations: 8 kB / 0.9836 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.186e-06/0.3048, allocations: 384 / 0.9836 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.371e-05/0.3048, allocations: 0 / 0.9836 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001523/0.3049, allocations: 31.92 kB / 0.9837 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.305, allocations: 0 / 0.9837 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001293/0.3051, allocations: 27.89 kB / 0.9837 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.486e-05/0.3051, allocations: 11.88 kB / 0.9837 GB, free: 22.73 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 8.397e-05/0.3052, allocations: 117.8 kB / 0.9838 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.92e-05/0.3053, allocations: 7.906 kB / 0.9838 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004171/0.3057, allocations: 174.5 kB / 0.984 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.3057, allocations: 4 kB / 0.984 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.3057, allocations: 0 / 0.984 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.3057, allocations: 0 / 0.984 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002513/0.306, allocations: 229.4 kB / 0.9842 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.306, allocations: 4 kB / 0.9842 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001341/0.3061, allocations: 31.91 kB / 0.9843 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.3061, allocations: 0 / 0.9843 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.3062, allocations: 0 / 0.9843 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.3062, allocations: 4 kB / 0.9843 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.3062, allocations: 0 / 0.9843 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003681/0.3066, allocations: 330.7 kB / 0.9846 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.261e-05/0.3066, allocations: 88.91 kB / 0.9847 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.737e-05/0.3066, allocations: 4 kB / 0.9847 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00016/0.3068, allocations: 19.98 kB / 0.9847 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.006e-05/0.3069, allocations: 4 kB / 0.9847 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.608e-06/0.3069, allocations: 7.938 kB / 0.9847 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.285e-05/0.307, allocations: 127.2 kB / 0.9848 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.307, allocations: 0 / 0.9848 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002659/0.3073, allocations: 24 kB / 0.9848 GB, free: 21.48 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.0001176/0.3074, allocations: 103.2 kB / 0.9849 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003558/0.3077, allocations: 115.9 kB / 0.985 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3078, allocations: 0 / 0.985 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001463/0.3079, allocations: 63.91 kB / 0.9851 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004739/0.3084, allocations: 38.7 kB / 0.9851 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004878/0.3089, allocations: 256.1 kB / 0.9854 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001727/0.3091, allocations: 0.7087 MB / 0.9861 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001033/0.3092, allocations: 12.73 kB / 0.9861 GB, free: 20.13 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.689e-05/0.3092, allocations: 19.38 kB / 0.9861 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of SimCode: time 4.81e-07/0.3093, allocations: 0 / 0.9861 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of Templates: time 0.004758/0.314, allocations: 1.846 MB / 0.9879 GB, free: 18.31 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)