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.001024/0.001024, allocations: 98.88 kB / 16.02 MB, free: 76 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: 186.2 kB / 16.92 MB, free: 6.684 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.372/1.372, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.029/1.029, allocations: 135.3 MB / 427.4 MB, free: 14.18 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004737/0.0004737, allocations: 8 kB / 0.5082 GB, free: 4.789 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1809/0.1814, allocations: 82.3 MB / 0.5886 GB, free: 2.656 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.001904/0.1833, allocations: 1.526 MB / 0.5901 GB, free: 1.117 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002602/0.1836, allocations: 119.6 kB / 0.5902 GB, free: 1 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.686e-05/0.1837, allocations: 4 kB / 0.5902 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.244e-05/0.1838, allocations: 7.922 kB / 0.5902 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001012/0.1839, allocations: 47.61 kB / 0.5903 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001209/0.184, allocations: 31.97 kB / 0.5903 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002057/0.1842, allocations: 175.1 kB / 0.5905 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.1844, allocations: 13.12 kB / 0.5905 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.437e-05/0.1844, allocations: 51.84 kB / 0.5905 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001117/0.1846, allocations: 63.7 kB / 0.5906 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.572e-05/0.1846, allocations: 4 kB / 0.5906 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.151e-05/0.1846, allocations: 7.938 kB / 0.5906 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.174e-05/0.1847, allocations: 23.89 kB / 0.5906 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.828e-05/0.1847, allocations: 89.31 kB / 0.5907 GB, free: 492 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001089/0.1849, allocations: 80.06 kB / 0.5908 GB, free: 412 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1849, allocations: 0 / 0.5908 GB, free: 412 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1849, allocations: 0 / 0.5908 GB, free: 412 kB / 494.1 MB Notification: Performance of Transformations before backend: time 4.027e-06/0.1849, allocations: 4 kB / 0.5908 GB, free: 408 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.0007501/0.1856, allocations: 446.9 kB / 0.5912 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.1857, allocations: 8.031 kB / 0.5912 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.138e-05/0.1857, allocations: 16.75 kB / 0.5912 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002041/0.1859, allocations: 196.1 kB / 0.5914 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.186, allocations: 12.38 kB / 0.5914 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.142e-05/0.186, allocations: 4.375 kB / 0.5914 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002887/0.1863, allocations: 127.8 kB / 0.5916 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.176e-06/0.1863, allocations: 192 / 0.5916 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.678e-05/0.1863, allocations: 7.938 kB / 0.5916 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.1863, allocations: 8 kB / 0.5916 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003198/0.1867, allocations: 103.9 kB / 0.5917 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006887/0.1874, allocations: 480.6 kB / 0.5921 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003784/0.1878, allocations: 137.2 kB / 0.5923 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000172/0.1879, allocations: 65.78 kB / 0.5923 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.768e-05/0.188, allocations: 7.984 kB / 0.5923 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.24e-05/0.188, allocations: 38.56 kB / 0.5924 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.262e-06/0.188, allocations: 0 / 0.5924 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0006041/0.1886, allocations: 209.3 kB / 0.5926 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.228e-05/0.1887, allocations: 77.11 kB / 0.5926 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001468/0.1888, allocations: 164.6 kB / 0.5928 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.828e-05/0.1889, allocations: 25.7 kB / 0.5928 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.814e-05/0.1889, allocations: 116 kB / 0.5929 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.956e-05/0.189, allocations: 35.55 kB / 0.593 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.058e-05/0.189, allocations: 13.72 kB / 0.593 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001121/0.1891, allocations: 326.8 kB / 0.5933 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001698/0.1893, allocations: 51.91 kB / 0.5933 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000156/0.1895, allocations: 69.67 kB / 0.5934 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003055/0.1898, allocations: 117.7 kB / 0.5935 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1898, allocations: 192 / 0.5935 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003656/0.1902, allocations: 157.5 kB / 0.5937 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.1902, allocations: 13.81 kB / 0.5937 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.1902, allocations: 3.938 kB / 0.5937 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.1902, allocations: 0 / 0.5937 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001537/0.1904, allocations: 31.97 kB / 0.5937 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.1904, allocations: 0 / 0.5937 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001292/0.1905, allocations: 11.91 kB / 0.5937 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.356e-05/0.1906, allocations: 8.312 kB / 0.5937 GB, free: 13.11 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.206e-05/0.1907, allocations: 129.8 kB / 0.5939 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.003e-05/0.1907, allocations: 11.91 kB / 0.5939 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004395/0.1912, allocations: 174.5 kB / 0.594 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.1912, allocations: 0 / 0.594 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.1912, allocations: 0 / 0.594 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.195e-06/0.1912, allocations: 7.984 kB / 0.594 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000294/0.1915, allocations: 229.4 kB / 0.5943 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.1915, allocations: 0 / 0.5943 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001418/0.1916, allocations: 23.98 kB / 0.5943 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.1917, allocations: 4 kB / 0.5943 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.1917, allocations: 4 kB / 0.5943 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.1917, allocations: 0 / 0.5943 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.1917, allocations: 0 / 0.5943 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004513/0.1921, allocations: 330.6 kB / 0.5946 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.72e-05/0.1922, allocations: 88.92 kB / 0.5947 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.303e-05/0.1922, allocations: 0 / 0.5947 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001741/0.1924, allocations: 19.98 kB / 0.5947 GB, free: 12 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.983e-05/0.1925, allocations: 7.984 kB / 0.5947 GB, free: 12 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.408e-06/0.1925, allocations: 7.938 kB / 0.5947 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001021/0.1926, allocations: 140.2 kB / 0.5949 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1926, allocations: 0 / 0.5949 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002811/0.1929, allocations: 24 kB / 0.5949 GB, free: 11.83 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.0001038/0.193, allocations: 99.25 kB / 0.595 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003622/0.1934, allocations: 119.9 kB / 0.5951 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.1934, allocations: 0 / 0.5951 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001613/0.1935, allocations: 59.95 kB / 0.5951 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004634/0.194, allocations: 44 kB / 0.5952 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005083/0.1945, allocations: 302 kB / 0.5955 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002793/0.1948, allocations: 0.7009 MB / 0.5962 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.842e-05/0.1949, allocations: 19.44 kB / 0.5962 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of SimCode: time 3.91e-07/0.1949, allocations: 0 / 0.5962 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of Templates: time 0.003246/0.1982, allocations: 1.746 MB / 0.5979 GB, free: 8.715 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)