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.0009746/0.0009747, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.007301/0.007301, allocations: 172.2 kB / 16.27 MB, free: 6.66 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.503/1.503, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.135/1.135, allocations: 135.3 MB / 426.7 MB, free: 14.3 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006002/0.0006002, allocations: 9.094 kB / 0.5076 GB, free: 4.793 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2783/0.2789, allocations: 82.31 MB / 0.588 GB, free: 2.652 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.002671/0.2816, allocations: 1.524 MB / 0.5894 GB, free: 1.117 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004627/0.2821, allocations: 127.6 kB / 0.5896 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001413/0.2823, allocations: 0 / 0.5896 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001442/0.2824, allocations: 11.86 kB / 0.5896 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001623/0.2826, allocations: 47.61 kB / 0.5896 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001699/0.2828, allocations: 35.97 kB / 0.5897 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000274/0.2831, allocations: 159.1 kB / 0.5898 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001478/0.2832, allocations: 29.05 kB / 0.5898 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001092/0.2833, allocations: 43.84 kB / 0.5899 GB, free: 0.668 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001194/0.2835, allocations: 67.69 kB / 0.5899 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.911e-05/0.2835, allocations: 4 kB / 0.5899 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.532e-05/0.2835, allocations: 8 kB / 0.59 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.357e-05/0.2836, allocations: 15.92 kB / 0.59 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.609e-05/0.2837, allocations: 81.42 kB / 0.59 GB, free: 500 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001722/0.2839, allocations: 115.8 kB / 0.5902 GB, free: 384 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.2839, allocations: 0 / 0.5902 GB, free: 384 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.2839, allocations: 0 / 0.5902 GB, free: 384 kB / 494.1 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.2839, allocations: 4 kB / 0.5902 GB, free: 380 kB / 494.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.0008905/0.2848, allocations: 446.9 kB / 0.5906 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.359e-05/0.2849, allocations: 8.031 kB / 0.5906 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.851e-05/0.2849, allocations: 16.75 kB / 0.5906 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004275/0.2854, allocations: 208 kB / 0.5908 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.846e-05/0.2854, allocations: 12.36 kB / 0.5908 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.16e-05/0.2854, allocations: 8.375 kB / 0.5908 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004163/0.2858, allocations: 123.6 kB / 0.5909 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.2859, allocations: 192 / 0.5909 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.892e-05/0.2859, allocations: 7.938 kB / 0.591 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.2859, allocations: 4 kB / 0.591 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003246/0.2862, allocations: 107.9 kB / 0.5911 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008294/0.2871, allocations: 484.7 kB / 0.5915 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004744/0.2876, allocations: 133.2 kB / 0.5917 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001748/0.2877, allocations: 65.78 kB / 0.5917 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.068e-05/0.2878, allocations: 3.938 kB / 0.5917 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.476e-05/0.2878, allocations: 46.5 kB / 0.5918 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.803e-06/0.2878, allocations: 0 / 0.5918 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0006376/0.2885, allocations: 205.5 kB / 0.592 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.893e-05/0.2885, allocations: 77.11 kB / 0.592 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001873/0.2887, allocations: 172.6 kB / 0.5922 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.351e-05/0.2888, allocations: 25.7 kB / 0.5922 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.19e-05/0.2889, allocations: 116 kB / 0.5923 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.917e-05/0.2889, allocations: 35.55 kB / 0.5924 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.596e-05/0.289, allocations: 9.719 kB / 0.5924 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001673/0.2891, allocations: 330.8 kB / 0.5927 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001504/0.2893, allocations: 43.97 kB / 0.5927 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00016/0.2895, allocations: 69.67 kB / 0.5928 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003568/0.2898, allocations: 125.7 kB / 0.5929 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.2898, allocations: 0 / 0.5929 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000456/0.2903, allocations: 157.5 kB / 0.5931 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.2903, allocations: 8 kB / 0.5931 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.2903, allocations: 0 / 0.5931 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.2903, allocations: 0 / 0.5931 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001609/0.2905, allocations: 31.97 kB / 0.5931 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.2905, allocations: 0 / 0.5931 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001276/0.2907, allocations: 15.91 kB / 0.5931 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.601e-05/0.2907, allocations: 7.938 kB / 0.5931 GB, free: 13.07 MB / 0.4981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.577e-05/0.2908, allocations: 121.8 kB / 0.5932 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.548e-05/0.2908, allocations: 11.91 kB / 0.5933 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004448/0.2913, allocations: 174.5 kB / 0.5934 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.2913, allocations: 0 / 0.5934 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/0.2913, allocations: 0 / 0.5934 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.623e-06/0.2913, allocations: 7.984 kB / 0.5934 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003759/0.2917, allocations: 221.4 kB / 0.5936 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.2917, allocations: 0 / 0.5936 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001416/0.2919, allocations: 27.92 kB / 0.5937 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.534e-06/0.2919, allocations: 4.188 kB / 0.5937 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.679e-05/0.2919, allocations: 12.23 kB / 0.5937 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.2919, allocations: 0 / 0.5937 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.2919, allocations: 0 / 0.5937 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004671/0.2924, allocations: 334.8 kB / 0.594 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.03e-05/0.2925, allocations: 92.95 kB / 0.5941 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.428e-05/0.2925, allocations: 3.938 kB / 0.5941 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001822/0.2927, allocations: 15.98 kB / 0.5941 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.806e-05/0.2928, allocations: 11.98 kB / 0.5941 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.157e-06/0.2928, allocations: 7.938 kB / 0.5941 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 9.835e-05/0.2929, allocations: 132.2 kB / 0.5943 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.6e-07/0.2929, allocations: 0 / 0.5943 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002883/0.2932, allocations: 28 kB / 0.5943 GB, free: 11.79 MB / 0.4981 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 (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.0001199/0.2933, allocations: 95.25 kB / 0.5944 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003867/0.2937, allocations: 119.9 kB / 0.5945 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.2937, allocations: 0 / 0.5945 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001723/0.2939, allocations: 63.89 kB / 0.5945 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004936/0.2944, allocations: 35.98 kB / 0.5946 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005843/0.295, allocations: 272.1 kB / 0.5948 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003633/0.2954, allocations: 0.7009 MB / 0.5955 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001048/0.2955, allocations: 16.64 kB / 0.5955 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.947e-05/0.2955, allocations: 11.44 kB / 0.5956 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of SimCode: time 4.2e-07/0.2955, allocations: 0 / 0.5956 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of Templates: time 0.005567/0.3011, allocations: 1.916 MB / 0.5974 GB, free: 8.562 MB / 0.4981 GB 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)