Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") translateModel(IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001503/0.001503, allocations: 104.4 kB / 16.27 MB, free: 6.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001471/0.001471, allocations: 190.3 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.317/1.317, allocations: 222.9 MB / 240.9 MB, free: 15.24 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8067/0.8067, allocations: 135.2 MB / 426.2 MB, free: 4.117 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001866/0.001866, allocations: 67.88 kB / 0.506 GB, free: 8.34 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3354/0.3373, allocations: 80.92 MB / 0.585 GB, free: 25.23 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.002986/0.3403, allocations: 1.817 MB / 0.5868 GB, free: 23.8 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002577/0.3406, allocations: 126.3 kB / 0.5869 GB, free: 23.7 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.68e-05/0.3407, allocations: 2.344 kB / 0.5869 GB, free: 23.7 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001065/0.3408, allocations: 15.8 kB / 0.587 GB, free: 23.68 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.295e-05/0.3409, allocations: 47.72 kB / 0.587 GB, free: 23.64 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000109/0.341, allocations: 35.72 kB / 0.587 GB, free: 23.61 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001719/0.3412, allocations: 174.7 kB / 0.5872 GB, free: 23.51 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001119/0.3413, allocations: 23.42 kB / 0.5872 GB, free: 23.5 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.024e-05/0.3414, allocations: 53.75 kB / 0.5873 GB, free: 23.48 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.272e-05/0.3415, allocations: 68.2 kB / 0.5873 GB, free: 23.43 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.634e-05/0.3415, allocations: 10.88 kB / 0.5874 GB, free: 23.43 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.796e-05/0.3416, allocations: 10.16 kB / 0.5874 GB, free: 23.43 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.608e-05/0.3416, allocations: 26.84 kB / 0.5874 GB, free: 23.41 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.536e-05/0.3417, allocations: 67.81 kB / 0.5875 GB, free: 23.37 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001428/0.3418, allocations: 120 kB / 0.5876 GB, free: 23.29 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.3418, allocations: 2.062 kB / 0.5876 GB, free: 23.29 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.3418, allocations: 0 / 0.5876 GB, free: 23.29 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.3418, allocations: 0 / 0.5876 GB, free: 23.29 MB / 446.1 MB 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.0006574/0.3425, allocations: 452.3 kB / 0.588 GB, free: 22.86 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.3425, allocations: 10.42 kB / 0.588 GB, free: 22.86 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.215e-05/0.3426, allocations: 16.72 kB / 0.588 GB, free: 22.85 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001643/0.3428, allocations: 209 kB / 0.5882 GB, free: 22.62 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/0.3428, allocations: 4.281 kB / 0.5882 GB, free: 22.62 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.857e-05/0.3428, allocations: 13.11 kB / 0.5882 GB, free: 22.61 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002504/0.3431, allocations: 117.7 kB / 0.5884 GB, free: 22.52 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.707e-06/0.3431, allocations: 192 / 0.5884 GB, free: 22.52 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.529e-05/0.3431, allocations: 9.25 kB / 0.5884 GB, free: 22.52 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.261e-06/0.3431, allocations: 3 kB / 0.5884 GB, free: 22.52 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002767/0.3434, allocations: 96.08 kB / 0.5885 GB, free: 22.47 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005998/0.344, allocations: 476 kB / 0.5889 GB, free: 22.02 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003523/0.3444, allocations: 125.9 kB / 0.589 GB, free: 21.93 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001518/0.3445, allocations: 64.25 kB / 0.5891 GB, free: 21.89 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.598e-05/0.3446, allocations: 5.297 kB / 0.5891 GB, free: 21.89 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.749e-05/0.3446, allocations: 36.5 kB / 0.5891 GB, free: 21.84 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.172e-06/0.3446, allocations: 1.188 kB / 0.5891 GB, free: 21.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005347/0.3451, allocations: 183.7 kB / 0.5893 GB, free: 21.74 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.981e-05/0.3452, allocations: 81.92 kB / 0.5894 GB, free: 21.64 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001231/0.3453, allocations: 168 kB / 0.5895 GB, free: 21.51 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.175e-05/0.3453, allocations: 29.7 kB / 0.5896 GB, free: 21.48 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.475e-05/0.3454, allocations: 105.8 kB / 0.5897 GB, free: 21.38 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.957e-05/0.3454, allocations: 34.25 kB / 0.5897 GB, free: 21.35 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.904e-05/0.3455, allocations: 27.2 kB / 0.5897 GB, free: 21.32 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.516e-05/0.3456, allocations: 327.1 kB / 0.59 GB, free: 21 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001384/0.3457, allocations: 42.28 kB / 0.5901 GB, free: 20.98 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000134/0.3458, allocations: 56.38 kB / 0.5901 GB, free: 20.94 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002688/0.3461, allocations: 109.4 kB / 0.5902 GB, free: 20.88 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.3461, allocations: 1.688 kB / 0.5902 GB, free: 20.88 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003239/0.3465, allocations: 141.5 kB / 0.5904 GB, free: 20.8 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.3465, allocations: 8.875 kB / 0.5904 GB, free: 20.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.3465, allocations: 0 / 0.5904 GB, free: 20.79 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.3465, allocations: 0 / 0.5904 GB, free: 20.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001405/0.3467, allocations: 28.67 kB / 0.5904 GB, free: 20.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.3467, allocations: 0.9688 kB / 0.5904 GB, free: 20.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001063/0.3468, allocations: 15.83 kB / 0.5904 GB, free: 20.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.065e-05/0.3468, allocations: 8.719 kB / 0.5904 GB, free: 20.74 MB / 446.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.349e-05/0.3469, allocations: 118.4 kB / 0.5906 GB, free: 20.62 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.842e-05/0.3469, allocations: 13.66 kB / 0.5906 GB, free: 20.61 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000357/0.3473, allocations: 159.8 kB / 0.5907 GB, free: 20.45 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.3473, allocations: 0 / 0.5907 GB, free: 20.45 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.3473, allocations: 0 / 0.5907 GB, free: 20.45 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.3473, allocations: 0.6875 kB / 0.5907 GB, free: 20.45 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002128/0.3475, allocations: 225.4 kB / 0.5909 GB, free: 20.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.3475, allocations: 0.5312 kB / 0.5909 GB, free: 20.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001254/0.3477, allocations: 26.11 kB / 0.591 GB, free: 20.15 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.3477, allocations: 0 / 0.591 GB, free: 20.15 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.3477, allocations: 11.94 kB / 0.591 GB, free: 20.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.3477, allocations: 3.984 kB / 0.591 GB, free: 20.14 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3477, allocations: 0 / 0.591 GB, free: 20.14 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003094/0.348, allocations: 317.6 kB / 0.5913 GB, free: 19.81 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.783e-05/0.3481, allocations: 93.41 kB / 0.5914 GB, free: 19.7 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.567e-05/0.3481, allocations: 4 kB / 0.5914 GB, free: 19.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001565/0.3483, allocations: 9.109 kB / 0.5914 GB, free: 19.69 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.483e-05/0.3483, allocations: 8.484 kB / 0.5914 GB, free: 19.68 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.604e-06/0.3483, allocations: 7.938 kB / 0.5914 GB, free: 19.68 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.436e-05/0.3484, allocations: 132.1 kB / 0.5915 GB, free: 19.55 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3484, allocations: 0 / 0.5915 GB, free: 19.55 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002823/0.3487, allocations: 35.94 kB / 0.5916 GB, free: 19.52 MB / 446.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.534e-05/0.3488, allocations: 95.25 kB / 0.5916 GB, free: 19.41 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003083/0.3491, allocations: 105.3 kB / 0.5917 GB, free: 19.31 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3491, allocations: 0.8125 kB / 0.5917 GB, free: 19.31 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001337/0.3492, allocations: 57.75 kB / 0.5918 GB, free: 19.26 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004704/0.3497, allocations: 47.42 kB / 0.5918 GB, free: 19.21 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004003/0.3501, allocations: 257.5 kB / 0.5921 GB, free: 18.93 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001178/0.3502, allocations: 0.7025 MB / 0.5928 GB, free: 18.21 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.716e-05/0.3503, allocations: 23.38 kB / 0.5928 GB, free: 18.18 MB / 446.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3503, allocations: 96 / 0.5928 GB, free: 18.18 MB / 446.1 MB Notification: Performance of Templates: time 0.002663/0.353, allocations: 1.753 MB / 0.5945 GB, free: 16.5 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.makefile (rm -f IDEAS_dev_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/IDEAS_dev_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & ./IDEAS_dev_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1)