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.001217/0.001217, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 195.8 kB / 16.53 MB, free: 6.699 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.304/1.304, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7397/0.7397, allocations: 132.2 MB / 422.6 MB, free: 1.758 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001448/0.001448, allocations: 67.39 kB / 0.5018 GB, free: 3.871 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3838/0.3853, allocations: 80.2 MB / 0.5801 GB, free: 4.535 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.002974/0.3883, allocations: 1.811 MB / 0.5818 GB, free: 3.258 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002558/0.3886, allocations: 119.5 kB / 0.582 GB, free: 3.172 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.699e-05/0.3887, allocations: 5.938 kB / 0.582 GB, free: 3.168 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 9.838e-05/0.3888, allocations: 16.27 kB / 0.582 GB, free: 3.156 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 7.981e-05/0.3889, allocations: 49.34 kB / 0.582 GB, free: 3.121 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001176/0.389, allocations: 35.88 kB / 0.5821 GB, free: 3.102 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001896/0.3892, allocations: 172.1 kB / 0.5822 GB, free: 3.016 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.3893, allocations: 27.67 kB / 0.5823 GB, free: 3.004 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.2e-05/0.3894, allocations: 49.17 kB / 0.5823 GB, free: 2.988 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001051/0.3895, allocations: 76.05 kB / 0.5824 GB, free: 2.953 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.11e-05/0.3895, allocations: 9.25 kB / 0.5824 GB, free: 2.953 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.249e-05/0.3896, allocations: 9.562 kB / 0.5824 GB, free: 2.953 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.461e-05/0.3896, allocations: 24.66 kB / 0.5824 GB, free: 2.938 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 8.738e-05/0.3897, allocations: 65.88 kB / 0.5825 GB, free: 2.902 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001983/0.3899, allocations: 120.4 kB / 0.5826 GB, free: 2.855 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.3899, allocations: 5.562 kB / 0.5826 GB, free: 2.852 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.3899, allocations: 0 / 0.5826 GB, free: 2.852 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.072e-06/0.3899, allocations: 0.875 kB / 0.5826 GB, free: 2.852 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.000744/0.3907, allocations: 445.7 kB / 0.583 GB, free: 2.445 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.3907, allocations: 8.656 kB / 0.583 GB, free: 2.445 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.875e-05/0.3908, allocations: 24.75 kB / 0.5831 GB, free: 2.43 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000194/0.391, allocations: 221.3 kB / 0.5833 GB, free: 2.195 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.996e-06/0.391, allocations: 3.25 kB / 0.5833 GB, free: 2.195 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.956e-05/0.391, allocations: 9.125 kB / 0.5833 GB, free: 2.191 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000277/0.3913, allocations: 119.7 kB / 0.5834 GB, free: 2.121 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.3913, allocations: 192 / 0.5834 GB, free: 2.121 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.541e-05/0.3913, allocations: 9.625 kB / 0.5834 GB, free: 2.113 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.3913, allocations: 2.906 kB / 0.5834 GB, free: 2.113 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002907/0.3916, allocations: 100.8 kB / 0.5835 GB, free: 2.082 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006255/0.3923, allocations: 479.5 kB / 0.584 GB, free: 1.664 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003544/0.3926, allocations: 124.7 kB / 0.5841 GB, free: 1.59 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001573/0.3928, allocations: 57.98 kB / 0.5841 GB, free: 1.562 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.295e-05/0.3928, allocations: 1.969 kB / 0.5841 GB, free: 1.562 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.641e-05/0.3929, allocations: 40.02 kB / 0.5842 GB, free: 1.516 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.072e-06/0.3929, allocations: 1.094 kB / 0.5842 GB, free: 1.516 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005443/0.3934, allocations: 182 kB / 0.5843 GB, free: 1.438 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.58e-05/0.3934, allocations: 78.7 kB / 0.5844 GB, free: 1.344 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001366/0.3936, allocations: 174.5 kB / 0.5846 GB, free: 1.219 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.233e-05/0.3936, allocations: 30.98 kB / 0.5846 GB, free: 1.184 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.424e-05/0.3937, allocations: 103.9 kB / 0.5847 GB, free: 1.086 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.495e-05/0.3937, allocations: 30.23 kB / 0.5847 GB, free: 1.062 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.658e-05/0.3937, allocations: 25.97 kB / 0.5848 GB, free: 1.039 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.675e-05/0.3938, allocations: 326.2 kB / 0.5851 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000142/0.3939, allocations: 43.22 kB / 0.5851 GB, free: 0.707 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001347/0.3941, allocations: 60.44 kB / 0.5852 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002712/0.3944, allocations: 104.7 kB / 0.5853 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.3944, allocations: 0 / 0.5853 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003244/0.3947, allocations: 147.3 kB / 0.5854 GB, free: 0.5586 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.3947, allocations: 8.094 kB / 0.5854 GB, free: 0.5586 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.3947, allocations: 0 / 0.5854 GB, free: 0.5586 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/0.3948, allocations: 2.234 kB / 0.5854 GB, free: 0.5586 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001458/0.3949, allocations: 25.73 kB / 0.5855 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.3949, allocations: 1.031 kB / 0.5855 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001087/0.395, allocations: 17.83 kB / 0.5855 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.051e-05/0.3951, allocations: 6.25 kB / 0.5855 GB, free: 0.543 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.699e-05/0.3951, allocations: 122.5 kB / 0.5856 GB, free: 428 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.13e-05/0.3952, allocations: 12.69 kB / 0.5856 GB, free: 424 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004033/0.3956, allocations: 158 kB / 0.5858 GB, free: 336 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.3956, allocations: 6.203 kB / 0.5858 GB, free: 332 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.3956, allocations: 1.219 kB / 0.5858 GB, free: 332 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.3956, allocations: 0.7031 kB / 0.5858 GB, free: 332 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002408/0.3959, allocations: 225.5 kB / 0.586 GB, free: 108 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.3959, allocations: 0.75 kB / 0.586 GB, free: 108 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001358/0.396, allocations: 23.84 kB / 0.586 GB, free: 104 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.396, allocations: 5.797 kB / 0.586 GB, free: 100 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.396, allocations: 1.625 kB / 0.586 GB, free: 100 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.3961, allocations: 4.859 kB / 0.586 GB, free: 96 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.3961, allocations: 1.656 kB / 0.586 GB, free: 96 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004079/0.3965, allocations: 315 kB / 0.5863 GB, free: 15.85 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.127e-05/0.3965, allocations: 92.69 kB / 0.5864 GB, free: 15.74 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.749e-05/0.3966, allocations: 6.031 kB / 0.5864 GB, free: 15.74 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001592/0.3967, allocations: 8.484 kB / 0.5864 GB, free: 15.74 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.13e-05/0.3968, allocations: 6.828 kB / 0.5864 GB, free: 15.74 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.098e-05/0.3968, allocations: 7.281 kB / 0.5864 GB, free: 15.73 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000101/0.3969, allocations: 132.3 kB / 0.5866 GB, free: 15.64 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3969, allocations: 0 / 0.5866 GB, free: 15.64 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000277/0.3972, allocations: 33.28 kB / 0.5866 GB, free: 15.63 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 9.07e-05/0.3973, allocations: 95.48 kB / 0.5867 GB, free: 15.55 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003663/0.3977, allocations: 104.7 kB / 0.5868 GB, free: 15.52 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3977, allocations: 0 / 0.5868 GB, free: 15.52 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001612/0.3979, allocations: 60.59 kB / 0.5868 GB, free: 15.5 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004626/0.3983, allocations: 40.27 kB / 0.5869 GB, free: 15.48 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000483/0.3988, allocations: 243.1 kB / 0.5871 GB, free: 15.3 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002639/0.3991, allocations: 0.7075 MB / 0.5878 GB, free: 14.6 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.005e-05/0.3992, allocations: 12.08 kB / 0.5878 GB, free: 14.59 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.472e-05/0.3992, allocations: 19.16 kB / 0.5878 GB, free: 14.59 MB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3992, allocations: 0 / 0.5878 GB, free: 14.59 MB / 446.1 MB Notification: Performance of Templates: time 0.00535/0.4046, allocations: 2.084 MB / 0.5899 GB, free: 14.45 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)