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.001223/0.001224, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001249/0.001249, allocations: 194.9 kB / 16.25 MB, free: 6.629 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.316/1.316, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7608/0.7608, allocations: 132.2 MB / 422.3 MB, free: 1.918 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 60.28 kB / 0.5013 GB, free: 4.191 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3864/0.3878, allocations: 80.21 MB / 0.5796 GB, free: 4.52 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.002732/0.3906, allocations: 1.868 MB / 0.5814 GB, free: 3.211 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002493/0.3909, allocations: 119.9 kB / 0.5815 GB, free: 3.125 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.393e-05/0.3909, allocations: 4 kB / 0.5815 GB, free: 3.121 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001043/0.3911, allocations: 17.14 kB / 0.5816 GB, free: 3.109 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 9.384e-05/0.3912, allocations: 41.09 kB / 0.5816 GB, free: 3.082 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001162/0.3913, allocations: 27.5 kB / 0.5816 GB, free: 3.066 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001864/0.3915, allocations: 168.4 kB / 0.5818 GB, free: 2.984 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.3916, allocations: 36.23 kB / 0.5818 GB, free: 2.965 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.796e-05/0.3917, allocations: 53 kB / 0.5819 GB, free: 2.945 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.885e-05/0.3918, allocations: 62.47 kB / 0.5819 GB, free: 2.922 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.988e-05/0.3918, allocations: 14.47 kB / 0.5819 GB, free: 2.918 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.684e-05/0.3918, allocations: 9.375 kB / 0.582 GB, free: 2.918 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.705e-05/0.3919, allocations: 24.17 kB / 0.582 GB, free: 2.902 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 6.557e-05/0.392, allocations: 61.41 kB / 0.582 GB, free: 2.871 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001591/0.3921, allocations: 129.8 kB / 0.5822 GB, free: 2.816 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.3921, allocations: 0.6094 kB / 0.5822 GB, free: 2.816 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.3921, allocations: 0 / 0.5822 GB, free: 2.816 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.66e-06/0.3921, allocations: 1.344 kB / 0.5822 GB, free: 2.816 MB / 430.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.0006911/0.3928, allocations: 448.6 kB / 0.5826 GB, free: 2.406 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.3929, allocations: 10.69 kB / 0.5826 GB, free: 2.406 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.228e-05/0.3929, allocations: 19.28 kB / 0.5826 GB, free: 2.395 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001687/0.3931, allocations: 214.4 kB / 0.5828 GB, free: 2.168 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.3931, allocations: 7.094 kB / 0.5828 GB, free: 2.164 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.06e-05/0.3932, allocations: 4.281 kB / 0.5828 GB, free: 2.164 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002702/0.3934, allocations: 115.9 kB / 0.5829 GB, free: 2.098 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.3934, allocations: 4.125 kB / 0.5829 GB, free: 2.094 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.52e-05/0.3935, allocations: 9.656 kB / 0.583 GB, free: 2.086 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.3935, allocations: 5.094 kB / 0.583 GB, free: 2.082 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002955/0.3938, allocations: 94.58 kB / 0.583 GB, free: 2.059 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000639/0.3944, allocations: 479.7 kB / 0.5835 GB, free: 1.641 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003603/0.3948, allocations: 127.6 kB / 0.5836 GB, free: 1.562 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001528/0.395, allocations: 58.7 kB / 0.5837 GB, free: 1.535 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.452e-05/0.395, allocations: 10.09 kB / 0.5837 GB, free: 1.527 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.735e-05/0.395, allocations: 40.55 kB / 0.5837 GB, free: 1.48 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.152e-06/0.395, allocations: 0 / 0.5837 GB, free: 1.48 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005626/0.3956, allocations: 182.2 kB / 0.5839 GB, free: 1.402 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.04e-05/0.3956, allocations: 79.34 kB / 0.584 GB, free: 1.309 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001358/0.3958, allocations: 178.3 kB / 0.5842 GB, free: 1.18 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.242e-05/0.3958, allocations: 26.41 kB / 0.5842 GB, free: 1.148 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.625e-05/0.3959, allocations: 109.3 kB / 0.5843 GB, free: 1.047 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.629e-05/0.3959, allocations: 30.45 kB / 0.5843 GB, free: 1.023 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.879e-05/0.3959, allocations: 20.56 kB / 0.5843 GB, free: 1.004 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.529e-05/0.396, allocations: 330 kB / 0.5846 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001412/0.3962, allocations: 44.3 kB / 0.5847 GB, free: 0.668 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001335/0.3963, allocations: 59.67 kB / 0.5847 GB, free: 0.6367 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002549/0.3966, allocations: 105 kB / 0.5848 GB, free: 0.5898 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.3966, allocations: 0 / 0.5848 GB, free: 0.5898 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000331/0.3969, allocations: 142.5 kB / 0.585 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.3969, allocations: 11.25 kB / 0.585 GB, free: 0.5195 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.3969, allocations: 1.922 kB / 0.585 GB, free: 0.5195 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.397, allocations: 0 / 0.585 GB, free: 0.5195 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001574/0.3971, allocations: 22.55 kB / 0.585 GB, free: 0.5195 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.3971, allocations: 1.531 kB / 0.585 GB, free: 0.5195 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001227/0.3973, allocations: 17.52 kB / 0.585 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.285e-05/0.3973, allocations: 11.12 kB / 0.585 GB, free: 0.5039 MB / 430.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.653e-05/0.3974, allocations: 119 kB / 0.5852 GB, free: 392 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.015e-05/0.3974, allocations: 10.66 kB / 0.5852 GB, free: 388 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004076/0.3978, allocations: 159.7 kB / 0.5853 GB, free: 300 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.3978, allocations: 5.719 kB / 0.5853 GB, free: 296 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.3978, allocations: 1.156 kB / 0.5853 GB, free: 296 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.3979, allocations: 2.078 kB / 0.5853 GB, free: 296 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002616/0.3981, allocations: 227.3 kB / 0.5855 GB, free: 68 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.3981, allocations: 5.516 kB / 0.5855 GB, free: 64 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001476/0.3983, allocations: 25.47 kB / 0.5856 GB, free: 60 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.3983, allocations: 1.281 kB / 0.5856 GB, free: 60 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.548e-05/0.3983, allocations: 1.922 kB / 0.5856 GB, free: 60 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.3983, allocations: 0 / 0.5856 GB, free: 60 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.3983, allocations: 1.344 kB / 0.5856 GB, free: 60 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004889/0.3988, allocations: 318.7 kB / 0.5859 GB, free: 15.81 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.927e-05/0.3989, allocations: 93.48 kB / 0.586 GB, free: 15.7 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.657e-05/0.3989, allocations: 1.844 kB / 0.586 GB, free: 15.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001737/0.3991, allocations: 9.125 kB / 0.586 GB, free: 15.7 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.211e-05/0.3992, allocations: 10.34 kB / 0.586 GB, free: 15.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.305e-05/0.3992, allocations: 6.5 kB / 0.586 GB, free: 15.7 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000115/0.3993, allocations: 131.6 kB / 0.5861 GB, free: 15.6 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3993, allocations: 1.375 kB / 0.5861 GB, free: 15.6 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002933/0.3996, allocations: 32.5 kB / 0.5862 GB, free: 15.59 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 0.0001046/0.3998, allocations: 94.66 kB / 0.5862 GB, free: 15.51 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000368/0.4001, allocations: 104.8 kB / 0.5863 GB, free: 15.48 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.4001, allocations: 4 kB / 0.5863 GB, free: 15.48 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001713/0.4003, allocations: 56.91 kB / 0.5864 GB, free: 15.46 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004837/0.4008, allocations: 48.97 kB / 0.5864 GB, free: 15.44 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005154/0.4013, allocations: 270.4 kB / 0.5867 GB, free: 15.22 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002827/0.4016, allocations: 0.7066 MB / 0.5874 GB, free: 14.52 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.797e-05/0.4017, allocations: 9.594 kB / 0.5874 GB, free: 14.52 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.933e-05/0.4018, allocations: 17.81 kB / 0.5874 GB, free: 14.51 MB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4018, allocations: 0 / 0.5874 GB, free: 14.51 MB / 446.1 MB Notification: Performance of Templates: time 0.005107/0.4069, allocations: 2.007 MB / 0.5894 GB, free: 14.38 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 -lv LOG_STATS > IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1)