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.001175/0.001175, allocations: 103.9 kB / 16.4 MB, free: 6.469 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.001294/0.001294, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.435/1.435, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.881/0.881, allocations: 135.1 MB / 426.3 MB, free: 4.117 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001325, allocations: 60.75 kB / 0.5862 GB, free: 21.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1774/0.1788, allocations: 80.91 MB / 0.6653 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.00381/0.1826, allocations: 1.819 MB / 0.667 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003463/0.183, allocations: 131.5 kB / 0.6672 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.087e-05/0.1831, allocations: 0 / 0.6672 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001265/0.1832, allocations: 15.8 kB / 0.6672 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 9.311e-05/0.1834, allocations: 43.58 kB / 0.6672 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001591/0.1835, allocations: 39.94 kB / 0.6673 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002385/0.1838, allocations: 171.1 kB / 0.6674 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001483/0.1839, allocations: 21.11 kB / 0.6674 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.548e-05/0.184, allocations: 55.78 kB / 0.6675 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001282/0.1842, allocations: 75.69 kB / 0.6676 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.018e-05/0.1842, allocations: 8 kB / 0.6676 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 3.084e-05/0.1842, allocations: 16 kB / 0.6676 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.129e-05/0.1843, allocations: 15.92 kB / 0.6676 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.768e-05/0.1844, allocations: 67.66 kB / 0.6677 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002159/0.1846, allocations: 127.5 kB / 0.6678 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.1846, allocations: 0 / 0.6678 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of FrontEnd: time 4.227e-06/0.1846, allocations: 0 / 0.6678 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.602e-06/0.1846, allocations: 3.938 kB / 0.6678 GB, free: 3.297 MB / 0.4981 GB 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.000869/0.1855, allocations: 458.9 kB / 0.6682 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.1855, allocations: 9.109 kB / 0.6682 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.837e-05/0.1856, allocations: 16.75 kB / 0.6683 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003355/0.186, allocations: 200.1 kB / 0.6684 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.186, allocations: 12.38 kB / 0.6685 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.938e-05/0.186, allocations: 4.375 kB / 0.6685 GB, free: 2.523 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003055/0.1863, allocations: 135 kB / 0.6686 GB, free: 2.383 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.1863, allocations: 192 / 0.6686 GB, free: 2.383 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.635e-05/0.1863, allocations: 3.938 kB / 0.6686 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.401e-06/0.1864, allocations: 0 / 0.6686 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002912/0.1867, allocations: 91.94 kB / 0.6687 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007575/0.1874, allocations: 476.6 kB / 0.6691 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003843/0.1878, allocations: 129.2 kB / 0.6693 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001681/0.188, allocations: 65.78 kB / 0.6693 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.931e-05/0.188, allocations: 0 / 0.6693 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.14e-05/0.1881, allocations: 34.56 kB / 0.6694 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.042e-06/0.1881, allocations: 0 / 0.6694 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0006151/0.1887, allocations: 185.4 kB / 0.6695 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.691e-05/0.1888, allocations: 77.11 kB / 0.6696 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001577/0.1889, allocations: 166.9 kB / 0.6698 GB, free: 1.059 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.819e-05/0.189, allocations: 25.7 kB / 0.6698 GB, free: 1.027 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.426e-05/0.189, allocations: 116 kB / 0.6699 GB, free: 0.9102 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.035e-05/0.1891, allocations: 27.55 kB / 0.6699 GB, free: 0.8828 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.767e-05/0.1891, allocations: 25.66 kB / 0.6699 GB, free: 0.8516 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001508/0.1893, allocations: 334.8 kB / 0.6703 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001425/0.1894, allocations: 39.97 kB / 0.6703 GB, free: 488 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001547/0.1896, allocations: 65.55 kB / 0.6704 GB, free: 416 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002772/0.1899, allocations: 97.67 kB / 0.6705 GB, free: 312 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.1899, allocations: 4 kB / 0.6705 GB, free: 308 kB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000353/0.1903, allocations: 145.7 kB / 0.6706 GB, free: 156 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.1903, allocations: 10.19 kB / 0.6706 GB, free: 148 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.73e-06/0.1903, allocations: 192 / 0.6706 GB, free: 148 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.1903, allocations: 64 / 0.6706 GB, free: 148 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001595/0.1905, allocations: 31.97 kB / 0.6706 GB, free: 116 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.1905, allocations: 0 / 0.6706 GB, free: 116 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001152/0.1906, allocations: 15.98 kB / 0.6707 GB, free: 100 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.61e-05/0.1907, allocations: 11.92 kB / 0.6707 GB, free: 88 kB / 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.0001269/0.1908, allocations: 119.3 kB / 0.6708 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.743e-05/0.1908, allocations: 15.81 kB / 0.6708 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004333/0.1913, allocations: 158.5 kB / 0.6709 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.1913, allocations: 4 kB / 0.671 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.1913, allocations: 0 / 0.671 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.002e-06/0.1913, allocations: 3.984 kB / 0.671 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003036/0.1916, allocations: 225.4 kB / 0.6712 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.1916, allocations: 0 / 0.6712 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000138/0.1918, allocations: 23.98 kB / 0.6712 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.1918, allocations: 0 / 0.6712 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.357e-05/0.1918, allocations: 4 kB / 0.6712 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.1918, allocations: 0 / 0.6712 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1918, allocations: 0 / 0.6712 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004321/0.1923, allocations: 322.5 kB / 0.6715 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.273e-05/0.1923, allocations: 85.02 kB / 0.6716 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.561e-05/0.1924, allocations: 0 / 0.6716 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001717/0.1925, allocations: 11.98 kB / 0.6716 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.005e-05/0.1926, allocations: 11.98 kB / 0.6716 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.169e-05/0.1926, allocations: 7.938 kB / 0.6716 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.00012/0.1928, allocations: 125.8 kB / 0.6717 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1928, allocations: 0 / 0.6717 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002939/0.1931, allocations: 28 kB / 0.6718 GB, free: 14.87 MB / 0.5137 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.0001173/0.1932, allocations: 107.1 kB / 0.6719 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003755/0.1936, allocations: 100.2 kB / 0.672 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1936, allocations: 0 / 0.672 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001592/0.1938, allocations: 59.89 kB / 0.672 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004501/0.1942, allocations: 40.41 kB / 0.6721 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006235/0.1949, allocations: 269 kB / 0.6723 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003466/0.1952, allocations: 0.7006 MB / 0.673 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.251e-05/0.1953, allocations: 15.44 kB / 0.673 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of SimCode: time 3.6e-07/0.1953, allocations: 0 / 0.673 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of Templates: time 0.004128/0.1994, allocations: 1.764 MB / 0.6747 GB, free: 11.77 MB / 0.5137 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)