Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") translateModel(IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001267/0.001267, allocations: 102.2 kB / 16.35 MB, free: 5.875 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.001368/0.001369, allocations: 194.3 kB / 17.3 MB, free: 5.516 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.404/1.404, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7996/0.7996, allocations: 132.2 MB / 423.3 MB, free: 6.531 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 67.89 kB / 0.5032 GB, free: 10.87 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3471/0.3485, allocations: 80.19 MB / 0.5815 GB, free: 27.58 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.002789/0.3514, allocations: 1.817 MB / 0.5833 GB, free: 26.16 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002375/0.3516, allocations: 125.7 kB / 0.5834 GB, free: 26.06 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.481e-05/0.3517, allocations: 2.406 kB / 0.5834 GB, free: 26.06 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 9.099e-05/0.3518, allocations: 17.41 kB / 0.5834 GB, free: 26.04 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.267e-05/0.3519, allocations: 49.81 kB / 0.5834 GB, free: 26 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001054/0.352, allocations: 36.5 kB / 0.5835 GB, free: 25.97 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001699/0.3522, allocations: 168.9 kB / 0.5836 GB, free: 25.87 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001296/0.3523, allocations: 26.27 kB / 0.5837 GB, free: 25.86 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.46e-05/0.3524, allocations: 55.66 kB / 0.5837 GB, free: 25.83 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001011/0.3525, allocations: 72.31 kB / 0.5838 GB, free: 25.79 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.84e-05/0.3525, allocations: 9.031 kB / 0.5838 GB, free: 25.79 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.779e-05/0.3526, allocations: 11.56 kB / 0.5838 GB, free: 25.79 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.802e-05/0.3526, allocations: 26.38 kB / 0.5838 GB, free: 25.76 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.727e-05/0.3527, allocations: 64.09 kB / 0.5839 GB, free: 25.72 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001436/0.3528, allocations: 126.7 kB / 0.584 GB, free: 25.64 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.3528, allocations: 0 / 0.584 GB, free: 25.64 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.3528, allocations: 0 / 0.584 GB, free: 25.64 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.3529, allocations: 1.094 kB / 0.584 GB, free: 25.64 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.0006904/0.3535, allocations: 450.7 kB / 0.5844 GB, free: 25.21 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.3536, allocations: 13.75 kB / 0.5845 GB, free: 25.21 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.159e-05/0.3536, allocations: 16.22 kB / 0.5845 GB, free: 25.2 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000192/0.3538, allocations: 217.2 kB / 0.5847 GB, free: 24.96 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.3539, allocations: 8.844 kB / 0.5847 GB, free: 24.96 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.844e-05/0.3539, allocations: 4.219 kB / 0.5847 GB, free: 24.96 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002536/0.3541, allocations: 115.4 kB / 0.5848 GB, free: 24.87 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.936e-06/0.3542, allocations: 7.953 kB / 0.5848 GB, free: 24.87 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.3542, allocations: 3.938 kB / 0.5848 GB, free: 24.86 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.157e-06/0.3542, allocations: 0.625 kB / 0.5848 GB, free: 24.86 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002498/0.3544, allocations: 99.89 kB / 0.5849 GB, free: 24.82 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000567/0.355, allocations: 474.1 kB / 0.5854 GB, free: 24.36 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000325/0.3554, allocations: 124.1 kB / 0.5855 GB, free: 24.28 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001447/0.3555, allocations: 60.78 kB / 0.5855 GB, free: 24.24 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.051e-05/0.3555, allocations: 5.062 kB / 0.5855 GB, free: 24.24 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.259e-05/0.3556, allocations: 39.59 kB / 0.5856 GB, free: 24.19 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.263e-06/0.3556, allocations: 1.812 kB / 0.5856 GB, free: 24.19 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.000511/0.3561, allocations: 187.5 kB / 0.5858 GB, free: 24.09 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.692e-05/0.3561, allocations: 78.27 kB / 0.5858 GB, free: 23.99 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000115/0.3562, allocations: 166.5 kB / 0.586 GB, free: 23.86 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.184e-05/0.3563, allocations: 27.05 kB / 0.586 GB, free: 23.83 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.156e-05/0.3563, allocations: 109.3 kB / 0.5861 GB, free: 23.72 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.019e-05/0.3563, allocations: 35.17 kB / 0.5862 GB, free: 23.69 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.281e-05/0.3564, allocations: 21.47 kB / 0.5862 GB, free: 23.67 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.525e-05/0.3564, allocations: 330.5 kB / 0.5865 GB, free: 23.34 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001303/0.3566, allocations: 40.44 kB / 0.5865 GB, free: 23.33 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001253/0.3567, allocations: 55.53 kB / 0.5866 GB, free: 23.29 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002424/0.357, allocations: 108.1 kB / 0.5867 GB, free: 23.23 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.357, allocations: 2.156 kB / 0.5867 GB, free: 23.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003107/0.3573, allocations: 142.9 kB / 0.5868 GB, free: 23.15 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.3573, allocations: 5.844 kB / 0.5868 GB, free: 23.15 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.3573, allocations: 3.938 kB / 0.5868 GB, free: 23.14 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.3573, allocations: 3.562 kB / 0.5868 GB, free: 23.14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001708/0.3575, allocations: 25.53 kB / 0.5869 GB, free: 23.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.3575, allocations: 0.875 kB / 0.5869 GB, free: 23.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001135/0.3576, allocations: 18.06 kB / 0.5869 GB, free: 23.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.346e-05/0.3577, allocations: 7.594 kB / 0.5869 GB, free: 23.12 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 7.41e-05/0.3578, allocations: 123.3 kB / 0.587 GB, free: 23 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.421e-05/0.3578, allocations: 15.97 kB / 0.587 GB, free: 22.99 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003992/0.3582, allocations: 158.5 kB / 0.5872 GB, free: 22.88 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.3582, allocations: 5.969 kB / 0.5872 GB, free: 22.88 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.3582, allocations: 1.719 kB / 0.5872 GB, free: 22.88 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.3583, allocations: 1.938 kB / 0.5872 GB, free: 22.88 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002327/0.3585, allocations: 220.5 kB / 0.5874 GB, free: 22.64 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.3585, allocations: 0 / 0.5874 GB, free: 22.64 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001436/0.3586, allocations: 24.86 kB / 0.5874 GB, free: 22.63 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.624e-06/0.3587, allocations: 0.625 kB / 0.5874 GB, free: 22.63 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.407e-05/0.3587, allocations: 5.312 kB / 0.5874 GB, free: 22.62 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.3587, allocations: 2.969 kB / 0.5874 GB, free: 22.62 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.3587, allocations: 1.25 kB / 0.5874 GB, free: 22.62 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003588/0.3591, allocations: 318.1 kB / 0.5877 GB, free: 22.36 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.685e-05/0.3591, allocations: 84.77 kB / 0.5878 GB, free: 22.26 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.611e-05/0.3591, allocations: 2.312 kB / 0.5878 GB, free: 22.26 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000172/0.3593, allocations: 11.58 kB / 0.5878 GB, free: 22.26 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.019e-05/0.3594, allocations: 7.375 kB / 0.5878 GB, free: 22.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.073e-05/0.3594, allocations: 13.52 kB / 0.5878 GB, free: 22.24 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.007e-05/0.3595, allocations: 126.2 kB / 0.588 GB, free: 22.15 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3595, allocations: 0 / 0.588 GB, free: 22.15 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002935/0.3598, allocations: 33.38 kB / 0.588 GB, free: 22.14 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 8.136e-05/0.3599, allocations: 94.28 kB / 0.5881 GB, free: 22.05 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003184/0.3602, allocations: 107.3 kB / 0.5882 GB, free: 22.01 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3602, allocations: 0.5938 kB / 0.5882 GB, free: 22.01 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001421/0.3604, allocations: 62.48 kB / 0.5882 GB, free: 21.98 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004091/0.3608, allocations: 29.39 kB / 0.5883 GB, free: 21.97 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000452/0.3612, allocations: 233.5 kB / 0.5885 GB, free: 21.78 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001424/0.3614, allocations: 0.711 MB / 0.5892 GB, free: 21.06 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.595e-05/0.3615, allocations: 13.59 kB / 0.5892 GB, free: 21.06 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.697e-05/0.3615, allocations: 13.47 kB / 0.5892 GB, free: 21.05 MB / 446.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3615, allocations: 2.906 kB / 0.5892 GB, free: 21.05 MB / 446.1 MB Notification: Performance of Templates: time 0.004378/0.3659, allocations: 2.104 MB / 0.5913 GB, free: 19.85 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.makefile (rm -f IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & ./IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1)