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.00164/0.00164, allocations: 107.8 kB / 16.41 MB, free: 6.473 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.001451/0.001451, allocations: 185.6 kB / 17.34 MB, free: 5.75 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.451/1.451, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8296/0.8296, allocations: 135.2 MB / 426.4 MB, free: 4.066 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001913/0.001913, allocations: 64.52 kB / 0.5863 GB, free: 21.72 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1731/0.175, allocations: 80.93 MB / 0.6653 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.00322/0.1782, allocations: 1.827 MB / 0.6671 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003107/0.1785, allocations: 115.6 kB / 0.6672 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.8e-05/0.1786, allocations: 7.938 kB / 0.6672 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001181/0.1787, allocations: 15.86 kB / 0.6672 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 9.101e-05/0.1788, allocations: 43.56 kB / 0.6673 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001349/0.1789, allocations: 35.95 kB / 0.6673 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002414/0.1792, allocations: 167.1 kB / 0.6675 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001378/0.1793, allocations: 21.09 kB / 0.6675 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.681e-05/0.1794, allocations: 55.84 kB / 0.6675 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001211/0.1795, allocations: 71.7 kB / 0.6676 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.654e-05/0.1795, allocations: 8 kB / 0.6676 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.682e-05/0.1796, allocations: 15.94 kB / 0.6676 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.172e-05/0.1796, allocations: 23.91 kB / 0.6677 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.419e-05/0.1797, allocations: 67.61 kB / 0.6677 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002344/0.1799, allocations: 127.4 kB / 0.6678 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.131e-05/0.1799, allocations: 8 kB / 0.6679 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.274e-06/0.1799, allocations: 0 / 0.6679 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.498e-05/0.1799, allocations: 0 / 0.6679 GB, free: 3.168 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.0008527/0.1808, allocations: 454.8 kB / 0.6683 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.1808, allocations: 13.11 kB / 0.6683 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.619e-05/0.1809, allocations: 12.84 kB / 0.6683 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003245/0.1812, allocations: 212.1 kB / 0.6685 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.1812, allocations: 384 / 0.6685 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.278e-05/0.1812, allocations: 8.375 kB / 0.6685 GB, free: 2.395 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003188/0.1816, allocations: 127.2 kB / 0.6686 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.1816, allocations: 192 / 0.6686 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.989e-05/0.1816, allocations: 7.938 kB / 0.6687 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.573e-06/0.1816, allocations: 4 kB / 0.6687 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002983/0.1819, allocations: 91.86 kB / 0.6687 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007693/0.1827, allocations: 476.8 kB / 0.6692 GB, free: 1.641 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003928/0.1831, allocations: 121.2 kB / 0.6693 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001916/0.1832, allocations: 61.77 kB / 0.6694 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.084e-05/0.1833, allocations: 0 / 0.6694 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.886e-05/0.1833, allocations: 42.5 kB / 0.6694 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 9.52e-07/0.1833, allocations: 0 / 0.6694 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0006097/0.1839, allocations: 177.5 kB / 0.6696 GB, free: 1.207 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.214e-05/0.184, allocations: 81.05 kB / 0.6697 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00018/0.1842, allocations: 171.4 kB / 0.6698 GB, free: 0.9336 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.169e-05/0.1842, allocations: 25.7 kB / 0.6699 GB, free: 0.9023 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.131e-05/0.1843, allocations: 108.1 kB / 0.67 GB, free: 0.793 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.228e-05/0.1843, allocations: 31.7 kB / 0.67 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.547e-05/0.1844, allocations: 33.64 kB / 0.67 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001644/0.1845, allocations: 326.8 kB / 0.6703 GB, free: 404 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001442/0.1847, allocations: 39.97 kB / 0.6704 GB, free: 364 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001491/0.1848, allocations: 57.69 kB / 0.6704 GB, free: 300 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002987/0.1851, allocations: 109.6 kB / 0.6705 GB, free: 184 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.1851, allocations: 192 / 0.6705 GB, free: 184 kB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003546/0.1855, allocations: 145.9 kB / 0.6707 GB, free: 32 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.1855, allocations: 11.94 kB / 0.6707 GB, free: 20 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.1855, allocations: 0 / 0.6707 GB, free: 20 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.1855, allocations: 0 / 0.6707 GB, free: 20 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001664/0.1857, allocations: 23.97 kB / 0.6707 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.1857, allocations: 8 kB / 0.6707 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000104/0.1858, allocations: 7.938 kB / 0.6707 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.896e-05/0.1858, allocations: 11.94 kB / 0.6707 GB, free: 15.97 MB / 0.5137 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.0001113/0.1859, allocations: 113.8 kB / 0.6708 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.162e-05/0.186, allocations: 15.91 kB / 0.6708 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004431/0.1864, allocations: 158.5 kB / 0.671 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.1864, allocations: 4 kB / 0.671 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.1864, allocations: 0 / 0.671 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.1864, allocations: 0 / 0.671 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003161/0.1868, allocations: 229.5 kB / 0.6712 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1868, allocations: 240 / 0.6712 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001484/0.1869, allocations: 19.98 kB / 0.6712 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.1869, allocations: 7.922 kB / 0.6712 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.369e-05/0.1869, allocations: 4 kB / 0.6713 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1869, allocations: 4 kB / 0.6713 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.1869, allocations: 3.984 kB / 0.6713 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000435/0.1874, allocations: 314.6 kB / 0.6716 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.937e-05/0.1874, allocations: 93.02 kB / 0.6716 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.59e-05/0.1875, allocations: 3.984 kB / 0.6717 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001565/0.1876, allocations: 8 kB / 0.6717 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.725e-05/0.1877, allocations: 11.98 kB / 0.6717 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.08e-05/0.1877, allocations: 7.938 kB / 0.6717 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.000118/0.1878, allocations: 128.8 kB / 0.6718 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.1878, allocations: 0 / 0.6718 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002812/0.1881, allocations: 32 kB / 0.6718 GB, free: 14.73 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.000128/0.1882, allocations: 99.17 kB / 0.6719 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004586/0.1887, allocations: 112.1 kB / 0.672 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1887, allocations: 0 / 0.672 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001573/0.1888, allocations: 51.91 kB / 0.6721 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004199/0.1892, allocations: 41.72 kB / 0.6721 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005904/0.1898, allocations: 257 kB / 0.6724 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004341/0.1903, allocations: 0.7006 MB / 0.6731 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.809e-05/0.1903, allocations: 15.44 kB / 0.6731 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of SimCode: time 3.31e-07/0.1903, allocations: 4 kB / 0.6731 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of Templates: time 0.004006/0.1943, allocations: 1.771 MB / 0.6748 GB, free: 11.64 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)