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.001478/0.001478, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001455/0.001455, allocations: 196 kB / 16.14 MB, free: 6.707 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.448/1.448, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.007/1.007, allocations: 135.6 MB / 425.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001972/0.001972, allocations: 76.34 kB / 0.5052 GB, free: 5.266 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1906/0.1926, allocations: 81.02 MB / 0.5843 GB, free: 4.387 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.003276/0.1959, allocations: 1.873 MB / 0.5861 GB, free: 2.496 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002982/0.1962, allocations: 119.6 kB / 0.5863 GB, free: 2.379 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.794e-05/0.1963, allocations: 0 / 0.5863 GB, free: 2.379 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001277/0.1965, allocations: 11.86 kB / 0.5863 GB, free: 2.367 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001209/0.1966, allocations: 51.61 kB / 0.5863 GB, free: 2.316 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001289/0.1967, allocations: 31.97 kB / 0.5863 GB, free: 2.285 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002358/0.197, allocations: 167.1 kB / 0.5865 GB, free: 2.121 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001303/0.1971, allocations: 21.11 kB / 0.5865 GB, free: 2.098 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.244e-05/0.1972, allocations: 55.78 kB / 0.5866 GB, free: 2.043 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001174/0.1973, allocations: 67.69 kB / 0.5866 GB, free: 1.977 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.806e-05/0.1974, allocations: 8 kB / 0.5866 GB, free: 1.969 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.758e-05/0.1974, allocations: 4 kB / 0.5867 GB, free: 1.965 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.744e-05/0.1974, allocations: 19.91 kB / 0.5867 GB, free: 1.945 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.005e-05/0.1975, allocations: 63.66 kB / 0.5867 GB, free: 1.883 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001793/0.1977, allocations: 111.9 kB / 0.5868 GB, free: 1.773 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.1977, allocations: 0 / 0.5868 GB, free: 1.773 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.92e-07/0.1977, allocations: 0 / 0.5868 GB, free: 1.773 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.1977, allocations: 0 / 0.5868 GB, free: 1.773 MB / 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.0009097/0.1987, allocations: 458.8 kB / 0.5873 GB, free: 1.273 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.1987, allocations: 8.031 kB / 0.5873 GB, free: 1.266 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.105e-05/0.1988, allocations: 20.69 kB / 0.5873 GB, free: 1.246 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002755/0.1991, allocations: 208.7 kB / 0.5875 GB, free: 1.004 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.1991, allocations: 4.375 kB / 0.5875 GB, free: 1 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.301e-05/0.1991, allocations: 8.375 kB / 0.5875 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003189/0.1994, allocations: 115.9 kB / 0.5876 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.1994, allocations: 192 / 0.5876 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.038e-05/0.1995, allocations: 7.938 kB / 0.5876 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/0.1995, allocations: 7.984 kB / 0.5876 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003033/0.1998, allocations: 95.86 kB / 0.5877 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008392/0.2006, allocations: 472.7 kB / 0.5882 GB, free: 248 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004123/0.2011, allocations: 133.2 kB / 0.5883 GB, free: 96 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001639/0.2012, allocations: 61.78 kB / 0.5884 GB, free: 28 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.953e-05/0.2013, allocations: 3.938 kB / 0.5884 GB, free: 24 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.102e-05/0.2013, allocations: 30.56 kB / 0.5884 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.222e-06/0.2013, allocations: 0 / 0.5884 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0005944/0.2019, allocations: 189.3 kB / 0.5886 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.485e-05/0.202, allocations: 81.11 kB / 0.5887 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001656/0.2022, allocations: 162.4 kB / 0.5888 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.34e-05/0.2022, allocations: 29.7 kB / 0.5888 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.799e-05/0.2023, allocations: 108 kB / 0.5889 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.643e-05/0.2023, allocations: 39.61 kB / 0.589 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.414e-05/0.2024, allocations: 25.72 kB / 0.589 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001649/0.2026, allocations: 322.8 kB / 0.5893 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001487/0.2027, allocations: 43.97 kB / 0.5894 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001454/0.2029, allocations: 61.62 kB / 0.5894 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002965/0.2032, allocations: 113.8 kB / 0.5895 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.2032, allocations: 0 / 0.5895 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003518/0.2036, allocations: 141.5 kB / 0.5897 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.2036, allocations: 4 kB / 0.5897 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.2036, allocations: 0 / 0.5897 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.2036, allocations: 4 kB / 0.5897 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001539/0.2038, allocations: 23.98 kB / 0.5897 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.248e-06/0.2038, allocations: 3.984 kB / 0.5897 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001199/0.2039, allocations: 11.91 kB / 0.5897 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.541e-05/0.2039, allocations: 7.938 kB / 0.5897 GB, free: 14.56 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 0.0001222/0.2041, allocations: 121.8 kB / 0.5898 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.963e-05/0.2041, allocations: 11.84 kB / 0.5898 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004478/0.2046, allocations: 158.5 kB / 0.59 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.2046, allocations: 4 kB / 0.59 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.2046, allocations: 0 / 0.59 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.2046, allocations: 0 / 0.59 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003272/0.2049, allocations: 229.4 kB / 0.5902 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.2049, allocations: 4 kB / 0.5902 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001435/0.2051, allocations: 23.92 kB / 0.5902 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.2051, allocations: 4 kB / 0.5902 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.184e-05/0.2051, allocations: 192 / 0.5902 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.781e-06/0.2051, allocations: 8 kB / 0.5903 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2051, allocations: 0 / 0.5903 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004627/0.2056, allocations: 306.6 kB / 0.5905 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.84e-05/0.2057, allocations: 96.91 kB / 0.5906 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.352e-05/0.2057, allocations: 8 kB / 0.5906 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001654/0.2059, allocations: 7.984 kB / 0.5907 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.142e-05/0.206, allocations: 7.984 kB / 0.5907 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.956e-06/0.206, allocations: 3.938 kB / 0.5907 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001191/0.2061, allocations: 133.5 kB / 0.5908 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2061, allocations: 0 / 0.5908 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002801/0.2064, allocations: 24 kB / 0.5908 GB, free: 13.33 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.0001081/0.2065, allocations: 103.2 kB / 0.5909 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003533/0.2069, allocations: 104.2 kB / 0.591 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.2069, allocations: 0 / 0.591 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001621/0.207, allocations: 63.83 kB / 0.5911 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000495/0.2075, allocations: 32.31 kB / 0.5911 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005697/0.2081, allocations: 265.2 kB / 0.5914 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005685/0.2087, allocations: 0.7048 MB / 0.592 GB, free: 12 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.625e-05/0.2088, allocations: 12.66 kB / 0.5921 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.873e-05/0.2088, allocations: 11.44 kB / 0.5921 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of SimCode: time 3.5e-07/0.2089, allocations: 4 kB / 0.5921 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of Templates: time 0.005188/0.214, allocations: 1.931 MB / 0.594 GB, free: 10.1 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)