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.001296/0.001296, 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.00132/0.00132, 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.329/1.329, allocations: 222.9 MB / 241 MB, free: 15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8058/0.8058, allocations: 135.1 MB / 426.3 MB, free: 4.129 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 56.14 kB / 0.5067 GB, free: 7.695 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3804/0.3816, allocations: 80.92 MB / 0.5857 GB, free: 25.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.002736/0.3844, allocations: 1.821 MB / 0.5875 GB, free: 24.21 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002914/0.3847, allocations: 113.5 kB / 0.5876 GB, free: 24.12 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000101/0.3848, allocations: 6.094 kB / 0.5876 GB, free: 24.12 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001097/0.3849, allocations: 11.86 kB / 0.5876 GB, free: 24.11 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 8.621e-05/0.3851, allocations: 51.62 kB / 0.5877 GB, free: 24.06 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001307/0.3852, allocations: 36.73 kB / 0.5877 GB, free: 24.03 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002373/0.3854, allocations: 176.1 kB / 0.5879 GB, free: 23.93 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001441/0.3856, allocations: 31.09 kB / 0.5879 GB, free: 23.91 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.949e-05/0.3857, allocations: 51.59 kB / 0.588 GB, free: 23.89 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000112/0.3858, allocations: 68.27 kB / 0.588 GB, free: 23.84 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.101e-05/0.3858, allocations: 9.719 kB / 0.5881 GB, free: 23.84 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.115e-05/0.3859, allocations: 14.94 kB / 0.5881 GB, free: 23.84 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.322e-05/0.3859, allocations: 26.38 kB / 0.5881 GB, free: 23.82 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.096e-05/0.386, allocations: 67.33 kB / 0.5882 GB, free: 23.77 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001564/0.3862, allocations: 125 kB / 0.5883 GB, free: 23.7 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.3862, allocations: 2.844 kB / 0.5883 GB, free: 23.7 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.325e-06/0.3862, allocations: 0 / 0.5883 GB, free: 23.7 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.3862, allocations: 3.938 kB / 0.5883 GB, free: 23.69 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.0006852/0.3869, allocations: 451.6 kB / 0.5887 GB, free: 23.26 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.3869, allocations: 10.23 kB / 0.5887 GB, free: 23.26 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.314e-05/0.387, allocations: 17.25 kB / 0.5887 GB, free: 23.25 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002154/0.3872, allocations: 209.8 kB / 0.5889 GB, free: 23.02 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.3872, allocations: 3.125 kB / 0.5889 GB, free: 23.02 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.079e-05/0.3872, allocations: 10.03 kB / 0.589 GB, free: 23.02 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002514/0.3875, allocations: 118.2 kB / 0.5891 GB, free: 22.93 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.3875, allocations: 1.312 kB / 0.5891 GB, free: 22.93 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.371e-05/0.3875, allocations: 7.938 kB / 0.5891 GB, free: 22.92 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.3875, allocations: 2.562 kB / 0.5891 GB, free: 22.92 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002563/0.3878, allocations: 98.67 kB / 0.5892 GB, free: 22.88 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006048/0.3884, allocations: 470.6 kB / 0.5896 GB, free: 22.41 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003139/0.3887, allocations: 135.2 kB / 0.5897 GB, free: 22.27 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001384/0.3889, allocations: 59.53 kB / 0.5898 GB, free: 22.2 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.155e-05/0.3889, allocations: 0.9375 kB / 0.5898 GB, free: 22.2 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.557e-05/0.3889, allocations: 35.47 kB / 0.5898 GB, free: 22.16 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.232e-06/0.389, allocations: 4 kB / 0.5898 GB, free: 22.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004729/0.3894, allocations: 175 kB / 0.59 GB, free: 21.98 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.186e-05/0.3895, allocations: 86.11 kB / 0.5901 GB, free: 21.88 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001106/0.3896, allocations: 175 kB / 0.5903 GB, free: 21.7 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.081e-05/0.3896, allocations: 25.7 kB / 0.5903 GB, free: 21.67 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.313e-05/0.3897, allocations: 106.5 kB / 0.5904 GB, free: 21.56 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.011e-05/0.3897, allocations: 27.56 kB / 0.5904 GB, free: 21.54 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.329e-05/0.3897, allocations: 29.7 kB / 0.5904 GB, free: 21.5 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.556e-05/0.3898, allocations: 326.8 kB / 0.5908 GB, free: 21.17 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000118/0.3899, allocations: 40.66 kB / 0.5908 GB, free: 21.13 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001107/0.39, allocations: 62.66 kB / 0.5909 GB, free: 21.07 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002154/0.3902, allocations: 108.2 kB / 0.591 GB, free: 20.96 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3903, allocations: 192 / 0.591 GB, free: 20.96 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000264/0.3905, allocations: 139.2 kB / 0.5911 GB, free: 20.82 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.3905, allocations: 7.938 kB / 0.5911 GB, free: 20.81 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.3906, allocations: 4 kB / 0.5911 GB, free: 20.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.3906, allocations: 2.844 kB / 0.5911 GB, free: 20.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001345/0.3907, allocations: 23.92 kB / 0.5911 GB, free: 20.78 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.3907, allocations: 4 kB / 0.5911 GB, free: 20.78 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000102/0.3908, allocations: 19.77 kB / 0.5911 GB, free: 20.76 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.196e-05/0.3909, allocations: 7.938 kB / 0.5912 GB, free: 20.75 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.437e-05/0.3909, allocations: 119.7 kB / 0.5913 GB, free: 20.62 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.698e-05/0.391, allocations: 11.91 kB / 0.5913 GB, free: 20.61 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003394/0.3913, allocations: 160.4 kB / 0.5914 GB, free: 20.45 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.3913, allocations: 4 kB / 0.5914 GB, free: 20.45 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.3914, allocations: 0 / 0.5914 GB, free: 20.45 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.3914, allocations: 0.75 kB / 0.5914 GB, free: 20.45 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002143/0.3916, allocations: 233.5 kB / 0.5917 GB, free: 20.17 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.3916, allocations: 2.312 kB / 0.5917 GB, free: 20.17 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001245/0.3917, allocations: 23.97 kB / 0.5917 GB, free: 20.15 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.3917, allocations: 3.938 kB / 0.5917 GB, free: 20.14 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.3917, allocations: 0 / 0.5917 GB, free: 20.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.3917, allocations: 4 kB / 0.5917 GB, free: 20.14 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3918, allocations: 0.75 kB / 0.5917 GB, free: 20.14 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002877/0.392, allocations: 309.9 kB / 0.592 GB, free: 19.82 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.234e-05/0.3921, allocations: 92.91 kB / 0.5921 GB, free: 19.71 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.417e-05/0.3921, allocations: 8 kB / 0.5921 GB, free: 19.71 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001551/0.3923, allocations: 5.094 kB / 0.5921 GB, free: 19.7 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.651e-05/0.3923, allocations: 7.984 kB / 0.5921 GB, free: 19.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.676e-06/0.3923, allocations: 11.94 kB / 0.5921 GB, free: 19.68 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.293e-05/0.3924, allocations: 124.1 kB / 0.5922 GB, free: 19.57 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3924, allocations: 0 / 0.5922 GB, free: 19.57 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000267/0.3927, allocations: 31.94 kB / 0.5923 GB, free: 19.54 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.388e-05/0.3928, allocations: 102.1 kB / 0.5924 GB, free: 19.43 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002904/0.3931, allocations: 105 kB / 0.5925 GB, free: 19.33 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.3931, allocations: 0 / 0.5925 GB, free: 19.33 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001221/0.3932, allocations: 58.22 kB / 0.5925 GB, free: 19.27 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003823/0.3936, allocations: 41.09 kB / 0.5925 GB, free: 19.23 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003879/0.394, allocations: 228.8 kB / 0.5928 GB, free: 18.98 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001284/0.3941, allocations: 0.706 MB / 0.5935 GB, free: 18.25 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.664e-05/0.3942, allocations: 15.48 kB / 0.5935 GB, free: 18.24 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.394e-05/0.3943, allocations: 21.56 kB / 0.5935 GB, free: 18.22 MB / 446.1 MB Notification: Performance of SimCode: time 7.81e-07/0.3943, allocations: 0 / 0.5935 GB, free: 18.22 MB / 446.1 MB Notification: Performance of Templates: time 0.003916/0.3982, allocations: 2.1 MB / 0.5955 GB, free: 16.22 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 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1)