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.001482/0.001483, allocations: 107.7 kB / 16.41 MB, free: 6.492 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.001479/0.001479, allocations: 189.5 kB / 17.34 MB, free: 5.766 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: 222.9 MB / 241 MB, free: 14.97 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7987/0.7987, allocations: 135.1 MB / 426.3 MB, free: 4.113 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 66.92 kB / 0.5862 GB, free: 21.59 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1743/0.1756, allocations: 80.92 MB / 0.6653 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.003432/0.1791, allocations: 1.822 MB / 0.667 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000374/0.1795, allocations: 119.6 kB / 0.6672 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001198/0.1796, allocations: 0 / 0.6672 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001172/0.1797, allocations: 19.78 kB / 0.6672 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001269/0.1799, allocations: 55.56 kB / 0.6672 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001603/0.1801, allocations: 31.95 kB / 0.6673 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002358/0.1803, allocations: 167.2 kB / 0.6674 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001184/0.1804, allocations: 25.11 kB / 0.6674 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001535/0.1806, allocations: 59.78 kB / 0.6675 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001242/0.1807, allocations: 71.69 kB / 0.6676 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.946e-05/0.1808, allocations: 8 kB / 0.6676 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.784e-05/0.1808, allocations: 12 kB / 0.6676 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.413e-05/0.1808, allocations: 27.91 kB / 0.6676 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.459e-05/0.1809, allocations: 71.66 kB / 0.6677 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001688/0.1811, allocations: 123.5 kB / 0.6678 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.1811, allocations: 0 / 0.6678 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.162e-06/0.1811, allocations: 0 / 0.6678 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.08e-05/0.1811, allocations: 0 / 0.6678 GB, free: 3.25 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.0008249/0.182, allocations: 450.8 kB / 0.6682 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.182, allocations: 13.11 kB / 0.6682 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.023e-05/0.1821, allocations: 12.75 kB / 0.6683 GB, free: 2.734 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005203/0.1826, allocations: 212 kB / 0.6685 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.1826, allocations: 384 / 0.6685 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.67e-05/0.1826, allocations: 16.38 kB / 0.6685 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003219/0.183, allocations: 111.9 kB / 0.6686 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.183, allocations: 192 / 0.6686 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.646e-05/0.183, allocations: 7.938 kB / 0.6686 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/0.183, allocations: 7.984 kB / 0.6686 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003209/0.1833, allocations: 99.86 kB / 0.6687 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008656/0.1842, allocations: 472.7 kB / 0.6691 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003881/0.1846, allocations: 125.2 kB / 0.6693 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001765/0.1848, allocations: 61.72 kB / 0.6693 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.763e-05/0.1848, allocations: 4 kB / 0.6693 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.455e-05/0.1849, allocations: 30.56 kB / 0.6694 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.342e-06/0.1849, allocations: 0 / 0.6694 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0005743/0.1855, allocations: 185.4 kB / 0.6695 GB, free: 1.285 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.558e-05/0.1855, allocations: 77.11 kB / 0.6696 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001598/0.1857, allocations: 170.9 kB / 0.6698 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.183e-05/0.1857, allocations: 29.7 kB / 0.6698 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.531e-05/0.1858, allocations: 112 kB / 0.6699 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.379e-05/0.1858, allocations: 43.55 kB / 0.6699 GB, free: 0.8242 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.117e-05/0.1859, allocations: 17.72 kB / 0.67 GB, free: 0.8008 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.186, allocations: 326.8 kB / 0.6703 GB, free: 484 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001402/0.1862, allocations: 43.97 kB / 0.6703 GB, free: 440 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001383/0.1863, allocations: 53.69 kB / 0.6704 GB, free: 380 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002825/0.1866, allocations: 113.6 kB / 0.6705 GB, free: 260 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1866, allocations: 0 / 0.6705 GB, free: 260 kB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005039/0.1871, allocations: 149.6 kB / 0.6706 GB, free: 104 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.1872, allocations: 6.344 kB / 0.6706 GB, free: 100 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.1872, allocations: 0 / 0.6706 GB, free: 100 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.034e-05/0.1872, allocations: 4 kB / 0.6706 GB, free: 96 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000152/0.1874, allocations: 23.98 kB / 0.6706 GB, free: 72 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/0.1874, allocations: 3.984 kB / 0.6706 GB, free: 68 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001171/0.1875, allocations: 8.188 kB / 0.6707 GB, free: 60 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.174e-05/0.1875, allocations: 3.938 kB / 0.6707 GB, free: 56 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.1877, allocations: 129.8 kB / 0.6708 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.797e-05/0.1877, allocations: 11.81 kB / 0.6708 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005002/0.1882, allocations: 158.5 kB / 0.6709 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.1882, allocations: 0 / 0.6709 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.1882, allocations: 4.234 kB / 0.671 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.1883, allocations: 0 / 0.671 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003986/0.1887, allocations: 225.5 kB / 0.6712 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.1887, allocations: 3.984 kB / 0.6712 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001423/0.1888, allocations: 27.92 kB / 0.6712 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.1888, allocations: 0 / 0.6712 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.1888, allocations: 4 kB / 0.6712 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.1889, allocations: 0 / 0.6712 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.1889, allocations: 4 kB / 0.6712 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005645/0.1894, allocations: 310.5 kB / 0.6715 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.288e-05/0.1895, allocations: 89 kB / 0.6716 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.783e-05/0.1895, allocations: 8 kB / 0.6716 GB, free: 15 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001811/0.1897, allocations: 11.98 kB / 0.6716 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.17e-05/0.1898, allocations: 4 kB / 0.6716 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.005e-05/0.1898, allocations: 8.125 kB / 0.6716 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001676/0.19, allocations: 129.2 kB / 0.6717 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.134e-06/0.19, allocations: 0 / 0.6717 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002929/0.1903, allocations: 31.94 kB / 0.6718 GB, free: 14.82 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.0001253/0.1904, allocations: 99.25 kB / 0.6719 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003393/0.1908, allocations: 107.9 kB / 0.672 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.1908, allocations: 0 / 0.672 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001486/0.1909, allocations: 59.89 kB / 0.672 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004137/0.1913, allocations: 36.02 kB / 0.6721 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005268/0.1919, allocations: 256.1 kB / 0.6723 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005057/0.1924, allocations: 0.7122 MB / 0.673 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.454e-05/0.1925, allocations: 19.44 kB / 0.673 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of SimCode: time 5.31e-07/0.1925, allocations: 0 / 0.673 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of Templates: time 0.00413/0.1966, allocations: 1.767 MB / 0.6747 GB, free: 11.72 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)