Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") translateModel(BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001247/0.001248, allocations: 107.3 kB / 15.99 MB, free: 6.348 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.001237/0.001237, allocations: 195.1 kB / 16.91 MB, free: 6.184 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.283/1.283, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00209/0.002089, allocations: 287.1 kB / 291 MB, free: 14.7 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9447/0.9447, allocations: 169.2 MB / 0.4985 GB, free: 4.742 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001662/0.001662, allocations: 89.61 kB / 0.5953 GB, free: 15.53 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1732/0.1749, allocations: 86.98 MB / 0.6803 GB, free: 8.57 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.002913/0.1779, allocations: 1.873 MB / 0.6821 GB, free: 6.68 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002562/0.1781, allocations: 127.8 kB / 0.6822 GB, free: 6.555 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.126e-05/0.1782, allocations: 0 / 0.6822 GB, free: 6.555 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001031/0.1783, allocations: 11.86 kB / 0.6822 GB, free: 6.543 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.759e-05/0.1784, allocations: 47.61 kB / 0.6823 GB, free: 6.496 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001369/0.1786, allocations: 35.97 kB / 0.6823 GB, free: 6.461 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001836/0.1788, allocations: 159.2 kB / 0.6825 GB, free: 6.305 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000117/0.1789, allocations: 29.03 kB / 0.6825 GB, free: 6.277 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.37e-05/0.179, allocations: 63.72 kB / 0.6825 GB, free: 6.215 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.375e-05/0.1791, allocations: 67.75 kB / 0.6826 GB, free: 6.148 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.767e-05/0.1791, allocations: 12 kB / 0.6826 GB, free: 6.137 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.213e-05/0.1791, allocations: 15.94 kB / 0.6826 GB, free: 6.121 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.094e-05/0.1792, allocations: 27.91 kB / 0.6827 GB, free: 6.094 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.404e-05/0.1792, allocations: 63.67 kB / 0.6827 GB, free: 6.031 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001261/0.1794, allocations: 83.8 kB / 0.6828 GB, free: 5.949 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.1794, allocations: 0 / 0.6828 GB, free: 5.949 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1794, allocations: 0 / 0.6828 GB, free: 5.949 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.58e-06/0.1794, allocations: 0 / 0.6828 GB, free: 5.949 MB / 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.0007423/0.1801, allocations: 446.9 kB / 0.6832 GB, free: 5.461 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/0.1802, allocations: 12.03 kB / 0.6832 GB, free: 5.449 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.025e-05/0.1802, allocations: 16.75 kB / 0.6833 GB, free: 5.434 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002101/0.1805, allocations: 204 kB / 0.6835 GB, free: 5.195 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.084e-05/0.1805, allocations: 384 / 0.6835 GB, free: 5.195 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.027e-05/0.1805, allocations: 8.375 kB / 0.6835 GB, free: 5.188 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002834/0.1808, allocations: 127.8 kB / 0.6836 GB, free: 5.051 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.1808, allocations: 192 / 0.6836 GB, free: 5.051 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.598e-05/0.1808, allocations: 7.938 kB / 0.6836 GB, free: 5.043 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.1808, allocations: 4 kB / 0.6836 GB, free: 5.039 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002803/0.1811, allocations: 91.88 kB / 0.6837 GB, free: 4.949 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006831/0.1818, allocations: 468.7 kB / 0.6841 GB, free: 4.438 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003672/0.1822, allocations: 129.2 kB / 0.6843 GB, free: 4.293 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001564/0.1824, allocations: 65.78 kB / 0.6843 GB, free: 4.223 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.93e-05/0.1824, allocations: 4 kB / 0.6843 GB, free: 4.219 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.378e-05/0.1824, allocations: 38.48 kB / 0.6844 GB, free: 4.172 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.102e-06/0.1824, allocations: 0 / 0.6844 GB, free: 4.172 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005499/0.183, allocations: 177.7 kB / 0.6845 GB, free: 3.992 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.775e-05/0.183, allocations: 81.05 kB / 0.6846 GB, free: 3.895 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001353/0.1832, allocations: 164.4 kB / 0.6848 GB, free: 3.727 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.654e-05/0.1832, allocations: 33.7 kB / 0.6848 GB, free: 3.688 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.027e-05/0.1833, allocations: 108 kB / 0.6849 GB, free: 3.578 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.887e-05/0.1833, allocations: 35.53 kB / 0.6849 GB, free: 3.543 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.777e-05/0.1834, allocations: 21.72 kB / 0.6849 GB, free: 3.516 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001172/0.1835, allocations: 330.8 kB / 0.6853 GB, free: 3.184 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001391/0.1836, allocations: 47.95 kB / 0.6853 GB, free: 3.137 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001341/0.1838, allocations: 53.94 kB / 0.6854 GB, free: 3.078 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002691/0.1841, allocations: 109.6 kB / 0.6855 GB, free: 2.965 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.1841, allocations: 4.188 kB / 0.6855 GB, free: 2.961 MB / 494.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003245/0.1844, allocations: 145.4 kB / 0.6856 GB, free: 2.812 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.1844, allocations: 11.92 kB / 0.6856 GB, free: 2.801 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.1844, allocations: 0 / 0.6856 GB, free: 2.801 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.1844, allocations: 4 kB / 0.6856 GB, free: 2.797 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001469/0.1846, allocations: 23.92 kB / 0.6856 GB, free: 2.773 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.1846, allocations: 3.984 kB / 0.6856 GB, free: 2.77 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001239/0.1847, allocations: 15.98 kB / 0.6857 GB, free: 2.754 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.106e-05/0.1848, allocations: 3.938 kB / 0.6857 GB, free: 2.75 MB / 494.1 MB 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 8.425e-05/0.1848, allocations: 121.8 kB / 0.6858 GB, free: 2.621 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.916e-05/0.1849, allocations: 11.81 kB / 0.6858 GB, free: 2.609 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003999/0.1853, allocations: 162.5 kB / 0.686 GB, free: 2.445 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.1853, allocations: 0 / 0.686 GB, free: 2.445 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.1853, allocations: 0 / 0.686 GB, free: 2.445 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.1853, allocations: 4 kB / 0.686 GB, free: 2.441 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002723/0.1856, allocations: 221.5 kB / 0.6862 GB, free: 2.176 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.1856, allocations: 192 / 0.6862 GB, free: 2.176 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001406/0.1858, allocations: 27.92 kB / 0.6862 GB, free: 2.148 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.1858, allocations: 4 kB / 0.6862 GB, free: 2.145 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/0.1858, allocations: 0 / 0.6862 GB, free: 2.145 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1858, allocations: 3.938 kB / 0.6862 GB, free: 2.141 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.1858, allocations: 4 kB / 0.6862 GB, free: 2.137 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003791/0.1862, allocations: 318.5 kB / 0.6865 GB, free: 1.809 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.285e-05/0.1862, allocations: 85.02 kB / 0.6866 GB, free: 1.707 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.479e-05/0.1863, allocations: 0 / 0.6866 GB, free: 1.707 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000173/0.1865, allocations: 19.98 kB / 0.6866 GB, free: 1.688 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.817e-05/0.1865, allocations: 7.984 kB / 0.6866 GB, free: 1.68 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.556e-06/0.1865, allocations: 3.938 kB / 0.6866 GB, free: 1.676 MB / 494.1 MB Notification: Performance of sorting global known variables: time 9.64e-05/0.1866, allocations: 133.2 kB / 0.6867 GB, free: 1.547 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1866, allocations: 0 / 0.6867 GB, free: 1.547 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002779/0.1869, allocations: 31.91 kB / 0.6868 GB, free: 1.516 MB / 494.1 MB 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 9.94e-05/0.187, allocations: 95.25 kB / 0.6869 GB, free: 1.41 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000344/0.1874, allocations: 115.9 kB / 0.687 GB, free: 1.297 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1874, allocations: 0 / 0.687 GB, free: 1.297 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001471/0.1875, allocations: 55.91 kB / 0.687 GB, free: 1.242 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004762/0.188, allocations: 45.69 kB / 0.6871 GB, free: 1.199 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004915/0.1885, allocations: 281.3 kB / 0.6873 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002618/0.1888, allocations: 0.7084 MB / 0.688 GB, free: 160 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.956e-05/0.1889, allocations: 15.44 kB / 0.688 GB, free: 144 kB / 494.1 MB Notification: Performance of SimCode: time 3.9e-07/0.1889, allocations: 4 kB / 0.6881 GB, free: 140 kB / 494.1 MB Notification: Performance of Templates: time 0.2569/0.4458, allocations: 1.74 MB / 0.6898 GB, free: 17.58 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.makefile (rm -f BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & ./BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1)