Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 194.9 kB / 16.53 MB, free: 6.391 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.288/1.288, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001961/0.001961, allocations: 282.8 kB / 290.7 MB, free: 1.996 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9326/0.9326, allocations: 169.3 MB / 0.4982 GB, free: 13.93 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001802/0.001802, allocations: 99.44 kB / 0.5952 GB, free: 27.9 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1629/0.1648, allocations: 86.99 MB / 0.6802 GB, free: 0.6914 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.005301/0.1701, allocations: 3.263 MB / 0.6834 GB, free: 13.43 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001138/0.1702, allocations: 64.78 kB / 0.6834 GB, free: 13.36 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.252e-05/0.1703, allocations: 1 kB / 0.6834 GB, free: 13.36 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 8.455e-05/0.1704, allocations: 0 / 0.6834 GB, free: 13.36 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.238e-05/0.1705, allocations: 19.86 kB / 0.6834 GB, free: 13.34 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006068/0.1711, allocations: 189.7 kB / 0.6836 GB, free: 13.16 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.766e-05/0.1712, allocations: 31.92 kB / 0.6837 GB, free: 13.13 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.299e-05/0.1712, allocations: 7.938 kB / 0.6837 GB, free: 13.12 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.727e-05/0.1713, allocations: 15.97 kB / 0.6837 GB, free: 13.11 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.785e-05/0.1713, allocations: 7.938 kB / 0.6837 GB, free: 13.1 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.899e-06/0.1714, allocations: 8 kB / 0.6837 GB, free: 13.09 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003802/0.1718, allocations: 171.5 kB / 0.6839 GB, free: 12.92 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.171e-05/0.1718, allocations: 4 kB / 0.6839 GB, free: 12.92 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.646e-05/0.1718, allocations: 11.98 kB / 0.6839 GB, free: 12.91 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002984/0.1721, allocations: 135.9 kB / 0.684 GB, free: 12.77 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.1722, allocations: 0 / 0.684 GB, free: 12.77 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1722, allocations: 0 / 0.684 GB, free: 12.77 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.848e-06/0.1722, allocations: 0 / 0.684 GB, free: 12.77 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003853/0.1726, allocations: 355.5 kB / 0.6843 GB, free: 12.38 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.231e-05/0.1726, allocations: 16.03 kB / 0.6844 GB, free: 12.36 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.908e-05/0.1726, allocations: 0.9375 kB / 0.6844 GB, free: 12.36 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.719e-05/0.1728, allocations: 168.3 kB / 0.6845 GB, free: 12.16 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.489e-05/0.1728, allocations: 30.27 kB / 0.6845 GB, free: 12.12 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.404e-06/0.1728, allocations: 384 / 0.6845 GB, free: 12.12 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001157/0.173, allocations: 41.62 kB / 0.6846 GB, free: 12.08 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.173, allocations: 0 / 0.6846 GB, free: 12.08 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.173, allocations: 3.938 kB / 0.6846 GB, free: 12.07 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.074e-05/0.173, allocations: 11.94 kB / 0.6846 GB, free: 12.06 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.617e-05/0.1731, allocations: 15.98 kB / 0.6846 GB, free: 12.05 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006072/0.1737, allocations: 0.5794 MB / 0.6852 GB, free: 11.34 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.478e-05/0.1737, allocations: 18.58 kB / 0.6852 GB, free: 11.32 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.401e-05/0.1738, allocations: 4.859 kB / 0.6852 GB, free: 11.31 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002303/0.174, allocations: 340.5 kB / 0.6855 GB, free: 10.9 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.866e-05/0.174, allocations: 46.48 kB / 0.6856 GB, free: 10.85 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.142e-06/0.174, allocations: 0 / 0.6856 GB, free: 10.85 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001286/0.1742, allocations: 29.7 kB / 0.6856 GB, free: 10.81 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.4e-05/0.1742, allocations: 55.41 kB / 0.6857 GB, free: 10.75 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.675e-05/0.1743, allocations: 101.8 kB / 0.6858 GB, free: 10.64 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.328e-05/0.1743, allocations: 25.7 kB / 0.6858 GB, free: 10.61 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.912e-05/0.1744, allocations: 84.05 kB / 0.6859 GB, free: 10.52 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.55e-06/0.1744, allocations: 7.938 kB / 0.6859 GB, free: 10.51 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.935e-05/0.1744, allocations: 25.75 kB / 0.6859 GB, free: 10.48 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.702e-05/0.1745, allocations: 318.8 kB / 0.6862 GB, free: 10.16 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.585e-05/0.1745, allocations: 4 kB / 0.6862 GB, free: 10.16 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.552e-05/0.1746, allocations: 13.72 kB / 0.6862 GB, free: 10.14 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.32e-05/0.1746, allocations: 25.64 kB / 0.6862 GB, free: 10.11 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.1746, allocations: 3.938 kB / 0.6862 GB, free: 10.1 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.859e-05/0.1747, allocations: 49.64 kB / 0.6863 GB, free: 10.05 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/0.1747, allocations: 8 kB / 0.6863 GB, free: 10.04 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.738e-06/0.1747, allocations: 0 / 0.6863 GB, free: 10.04 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.1747, allocations: 3.984 kB / 0.6863 GB, free: 10.04 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.096e-05/0.1748, allocations: 4 kB / 0.6863 GB, free: 10.03 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.1748, allocations: 4 kB / 0.6863 GB, free: 10.03 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.767e-05/0.1748, allocations: 0 / 0.6863 GB, free: 10.03 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.804e-06/0.1748, allocations: 288 / 0.6863 GB, free: 10.03 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 (3): * Single equations (assignments): 3 * 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 7.692e-05/0.1749, allocations: 123.2 kB / 0.6864 GB, free: 9.898 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.843e-05/0.175, allocations: 3.938 kB / 0.6864 GB, free: 9.895 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001166/0.1751, allocations: 128.9 kB / 0.6866 GB, free: 9.758 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-05/0.1751, allocations: 176.3 kB / 0.6867 GB, free: 9.578 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-05/0.1752, allocations: 180.3 kB / 0.6869 GB, free: 9.395 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.86e-05/0.1753, allocations: 184.2 kB / 0.6871 GB, free: 9.207 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002091/0.1755, allocations: 405.2 kB / 0.6875 GB, free: 8.754 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.484e-05/0.1755, allocations: 117 kB / 0.6876 GB, free: 8.633 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.913e-05/0.1756, allocations: 105 kB / 0.6877 GB, free: 8.523 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.172e-05/0.1756, allocations: 176.3 kB / 0.6878 GB, free: 8.344 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.862e-05/0.1757, allocations: 180.2 kB / 0.688 GB, free: 8.16 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.759e-05/0.1757, allocations: 184.3 kB / 0.6882 GB, free: 7.973 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.086e-05/0.1758, allocations: 180.2 kB / 0.6884 GB, free: 7.789 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001301/0.1759, allocations: 315.7 kB / 0.6887 GB, free: 7.457 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.95e-05/0.176, allocations: 182 kB / 0.6888 GB, free: 7.254 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.622e-05/0.1761, allocations: 184.3 kB / 0.689 GB, free: 7.066 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001448/0.1763, allocations: 108.9 kB / 0.6891 GB, free: 6.953 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.061e-05/0.1763, allocations: 184.3 kB / 0.6893 GB, free: 6.766 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.188e-05/0.1764, allocations: 104.9 kB / 0.6894 GB, free: 6.656 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.067e-05/0.1764, allocations: 83.27 kB / 0.6895 GB, free: 6.574 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1764, allocations: 0 / 0.6895 GB, free: 6.574 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002803/0.1767, allocations: 35.94 kB / 0.6895 GB, free: 6.539 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.0002588/0.177, allocations: 236.1 kB / 0.6897 GB, free: 6.297 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 6.763e-05/0.1771, allocations: 16.05 kB / 0.6897 GB, free: 6.281 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1771, allocations: 0 / 0.6897 GB, free: 6.281 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.403e-06/0.1771, allocations: 4 kB / 0.6897 GB, free: 6.277 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004233/0.1775, allocations: 459.6 kB / 0.6902 GB, free: 5.824 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002614/0.1778, allocations: 181.9 kB / 0.6904 GB, free: 5.621 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002381/0.178, allocations: 0.6729 MB / 0.691 GB, free: 4.922 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.514e-05/0.1781, allocations: 9.391 kB / 0.691 GB, free: 4.914 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.801e-05/0.1781, allocations: 15.38 kB / 0.691 GB, free: 4.898 MB / 494.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1781, allocations: 3.938 kB / 0.691 GB, free: 4.895 MB / 494.1 MB Notification: Performance of Templates: time 0.003525/0.1816, allocations: 1.212 MB / 0.6922 GB, free: 3.734 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile (rm -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)