Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") translateModel(IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.008144/0.008144, allocations: 101.8 kB / 15.73 MB, free: 5.992 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.001634/0.001634, allocations: 198.8 kB / 16.68 MB, free: 5.918 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.366/1.366, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7812/0.7812, allocations: 132.2 MB / 422.7 MB, free: 6.547 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 67.72 kB / 0.5813 GB, free: 23.77 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1747/0.1759, allocations: 80.2 MB / 0.6596 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.002883/0.1788, allocations: 1.821 MB / 0.6614 GB, free: 8.449 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003188/0.1792, allocations: 119.6 kB / 0.6615 GB, free: 8.332 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.026e-05/0.1792, allocations: 0 / 0.6615 GB, free: 8.332 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001144/0.1794, allocations: 19.8 kB / 0.6615 GB, free: 8.312 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 9.306e-05/0.1795, allocations: 51.55 kB / 0.6616 GB, free: 8.262 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001282/0.1796, allocations: 31.95 kB / 0.6616 GB, free: 8.23 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002199/0.1798, allocations: 171.1 kB / 0.6618 GB, free: 8.062 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001224/0.18, allocations: 33.08 kB / 0.6618 GB, free: 8.027 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.924e-05/0.1801, allocations: 59.83 kB / 0.6619 GB, free: 7.969 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001011/0.1802, allocations: 63.7 kB / 0.6619 GB, free: 7.906 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.888e-05/0.1802, allocations: 8 kB / 0.6619 GB, free: 7.898 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.385e-05/0.1802, allocations: 16 kB / 0.662 GB, free: 7.883 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.127e-05/0.1803, allocations: 23.91 kB / 0.662 GB, free: 7.859 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.632e-05/0.1804, allocations: 67.67 kB / 0.662 GB, free: 7.793 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001598/0.1805, allocations: 127.5 kB / 0.6622 GB, free: 7.668 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.478e-05/0.1805, allocations: 4 kB / 0.6622 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.953e-06/0.1805, allocations: 0 / 0.6622 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.368e-06/0.1806, allocations: 0 / 0.6622 GB, free: 7.664 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.0007839/0.1813, allocations: 454.7 kB / 0.6626 GB, free: 7.168 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.1814, allocations: 12.03 kB / 0.6626 GB, free: 7.156 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.398e-05/0.1814, allocations: 12.84 kB / 0.6626 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002565/0.1817, allocations: 208.9 kB / 0.6628 GB, free: 6.902 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.1817, allocations: 4.375 kB / 0.6628 GB, free: 6.898 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.038e-05/0.1818, allocations: 4.375 kB / 0.6628 GB, free: 6.895 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002995/0.1821, allocations: 134.5 kB / 0.663 GB, free: 6.754 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.1821, allocations: 192 / 0.663 GB, free: 6.754 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.572e-05/0.1821, allocations: 3.938 kB / 0.663 GB, free: 6.75 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.794e-06/0.1821, allocations: 4 kB / 0.663 GB, free: 6.746 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003022/0.1824, allocations: 87.92 kB / 0.6631 GB, free: 6.66 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007157/0.1831, allocations: 484.6 kB / 0.6635 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003681/0.1835, allocations: 125.2 kB / 0.6636 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001653/0.1837, allocations: 65.77 kB / 0.6637 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.611e-05/0.1837, allocations: 4 kB / 0.6637 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.96e-05/0.1838, allocations: 34.56 kB / 0.6637 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.342e-06/0.1838, allocations: 0 / 0.6637 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0006089/0.1844, allocations: 181.4 kB / 0.6639 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.04e-05/0.1844, allocations: 81.11 kB / 0.664 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001752/0.1846, allocations: 174.4 kB / 0.6642 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.385e-05/0.1846, allocations: 25.7 kB / 0.6642 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000102/0.1848, allocations: 116 kB / 0.6643 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.628e-05/0.1848, allocations: 27.56 kB / 0.6643 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.153e-05/0.1849, allocations: 21.7 kB / 0.6643 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000179/0.185, allocations: 330.7 kB / 0.6646 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001696/0.1852, allocations: 47.97 kB / 0.6647 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001568/0.1854, allocations: 57.62 kB / 0.6648 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003036/0.1857, allocations: 105.7 kB / 0.6649 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.1857, allocations: 4 kB / 0.6649 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003845/0.1861, allocations: 145.4 kB / 0.665 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.1861, allocations: 4 kB / 0.665 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.1861, allocations: 0 / 0.665 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.1862, allocations: 0 / 0.665 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001592/0.1863, allocations: 23.98 kB / 0.665 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.29e-05/0.1864, allocations: 384 / 0.665 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001263/0.1865, allocations: 19.98 kB / 0.665 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.304e-05/0.1865, allocations: 3.938 kB / 0.665 GB, free: 4.457 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.0001291/0.1866, allocations: 121.7 kB / 0.6652 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.139e-05/0.1867, allocations: 19.81 kB / 0.6652 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004924/0.1872, allocations: 158.5 kB / 0.6653 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.848e-06/0.1872, allocations: 4 kB / 0.6653 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.1872, allocations: 0 / 0.6653 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.857e-06/0.1872, allocations: 4.234 kB / 0.6653 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003303/0.1876, allocations: 225.5 kB / 0.6656 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.1876, allocations: 0 / 0.6656 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001436/0.1877, allocations: 23.97 kB / 0.6656 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.344e-06/0.1878, allocations: 7.984 kB / 0.6656 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.397e-05/0.1878, allocations: 4 kB / 0.6656 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1878, allocations: 0 / 0.6656 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/0.1878, allocations: 0 / 0.6656 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004457/0.1882, allocations: 318.6 kB / 0.6659 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.661e-05/0.1883, allocations: 92.92 kB / 0.666 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.676e-05/0.1883, allocations: 3.984 kB / 0.666 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001655/0.1885, allocations: 8 kB / 0.666 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.898e-05/0.1886, allocations: 15.98 kB / 0.666 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.804e-06/0.1886, allocations: 3.938 kB / 0.666 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 9.703e-05/0.1887, allocations: 124.2 kB / 0.6661 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1887, allocations: 0 / 0.6661 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002908/0.189, allocations: 28 kB / 0.6662 GB, free: 3.219 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.0001203/0.1891, allocations: 103.2 kB / 0.6663 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003736/0.1895, allocations: 107.8 kB / 0.6664 GB, free: 3 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.1895, allocations: 0 / 0.6664 GB, free: 3 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001584/0.1897, allocations: 51.97 kB / 0.6664 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004415/0.1901, allocations: 42.64 kB / 0.6664 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00052/0.1907, allocations: 231.5 kB / 0.6667 GB, free: 2.652 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003204/0.191, allocations: 0.7006 MB / 0.6674 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.73e-05/0.1911, allocations: 20.52 kB / 0.6674 GB, free: 1.906 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.919e-05/0.1912, allocations: 15.38 kB / 0.6674 GB, free: 1.891 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.1912, allocations: 0 / 0.6674 GB, free: 1.891 MB / 0.4981 GB Notification: Performance of Templates: time 0.005225/0.1964, allocations: 2.096 MB / 0.6694 GB, free: 15.84 MB / 0.5137 GB make -j1 -f IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.makefile (rm -f IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & ./IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1)