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.001145/0.001145, allocations: 106.3 kB / 15.99 MB, free: 6.355 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.001178/0.001178, allocations: 196.5 kB / 16.91 MB, free: 6.188 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.2/1.2, allocations: 222.9 MB / 240.6 MB, free: 13.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001945/0.001945, allocations: 286 kB / 291 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.889/0.889, allocations: 169.2 MB / 0.4985 GB, free: 4.621 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00155/0.00155, allocations: 88.77 kB / 0.5953 GB, free: 15.52 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.147/0.1486, allocations: 86.97 MB / 0.6803 GB, free: 8.551 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.004111/0.1527, allocations: 3.328 MB / 0.6835 GB, free: 5.199 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 8.12e-05/0.1528, allocations: 59.8 kB / 0.6836 GB, free: 5.141 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.899e-05/0.1529, allocations: 4 kB / 0.6836 GB, free: 5.137 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 7.801e-05/0.1529, allocations: 7.922 kB / 0.6836 GB, free: 5.129 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.917e-05/0.153, allocations: 3.984 kB / 0.6836 GB, free: 5.125 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004495/0.1535, allocations: 178.2 kB / 0.6838 GB, free: 4.953 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.449e-05/0.1535, allocations: 39.84 kB / 0.6838 GB, free: 4.914 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.055e-05/0.1536, allocations: 3.984 kB / 0.6838 GB, free: 4.91 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.136e-05/0.1536, allocations: 11.98 kB / 0.6838 GB, free: 4.898 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.26e-05/0.1537, allocations: 15.92 kB / 0.6838 GB, free: 4.883 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.769e-06/0.1537, allocations: 0 / 0.6838 GB, free: 4.883 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002757/0.154, allocations: 179.5 kB / 0.684 GB, free: 4.707 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.508e-05/0.154, allocations: 7.984 kB / 0.684 GB, free: 4.699 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.182e-05/0.154, allocations: 11.98 kB / 0.684 GB, free: 4.688 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001543/0.1542, allocations: 92.05 kB / 0.6841 GB, free: 4.598 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.1542, allocations: 4 kB / 0.6841 GB, free: 4.594 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1542, allocations: 0 / 0.6841 GB, free: 4.594 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.113e-06/0.1542, allocations: 0 / 0.6841 GB, free: 4.594 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.0003134/0.1546, allocations: 339.5 kB / 0.6844 GB, free: 4.215 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.92e-05/0.1546, allocations: 12.03 kB / 0.6844 GB, free: 4.203 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.182e-05/0.1546, allocations: 0.9375 kB / 0.6844 GB, free: 4.203 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.407e-05/0.1547, allocations: 168.4 kB / 0.6846 GB, free: 4 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.529e-05/0.1548, allocations: 30.27 kB / 0.6846 GB, free: 3.965 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.733e-06/0.1548, allocations: 384 / 0.6846 GB, free: 3.965 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001079/0.1549, allocations: 53.55 kB / 0.6847 GB, free: 3.906 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.1549, allocations: 4 kB / 0.6847 GB, free: 3.902 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-06/0.1549, allocations: 0 / 0.6847 GB, free: 3.902 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.384e-05/0.1549, allocations: 0 / 0.6847 GB, free: 3.902 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.005e-05/0.155, allocations: 15.98 kB / 0.6847 GB, free: 3.887 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005187/0.1555, allocations: 0.5832 MB / 0.6853 GB, free: 3.18 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.254e-05/0.1556, allocations: 22.58 kB / 0.6853 GB, free: 3.148 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.292e-05/0.1556, allocations: 8.797 kB / 0.6853 GB, free: 3.137 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001851/0.1558, allocations: 340.5 kB / 0.6856 GB, free: 2.73 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.412e-05/0.1558, allocations: 34.56 kB / 0.6857 GB, free: 2.688 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.103e-06/0.1558, allocations: 3.938 kB / 0.6857 GB, free: 2.684 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001206/0.1559, allocations: 41.69 kB / 0.6857 GB, free: 2.637 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.645e-05/0.156, allocations: 51.41 kB / 0.6858 GB, free: 2.574 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.641e-05/0.156, allocations: 106 kB / 0.6859 GB, free: 2.461 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.314e-05/0.1561, allocations: 25.7 kB / 0.6859 GB, free: 2.43 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.602e-05/0.1561, allocations: 88.05 kB / 0.686 GB, free: 2.34 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.5e-06/0.1561, allocations: 7.875 kB / 0.686 GB, free: 2.332 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.939e-05/0.1561, allocations: 17.72 kB / 0.686 GB, free: 2.309 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.769e-05/0.1562, allocations: 322.7 kB / 0.6863 GB, free: 1.984 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.309e-05/0.1563, allocations: 4 kB / 0.6863 GB, free: 1.98 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.143e-05/0.1563, allocations: 17.72 kB / 0.6863 GB, free: 1.957 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.822e-05/0.1563, allocations: 17.72 kB / 0.6863 GB, free: 1.934 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.1563, allocations: 0 / 0.6863 GB, free: 1.934 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.93e-05/0.1564, allocations: 57.53 kB / 0.6864 GB, free: 1.871 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.023e-05/0.1564, allocations: 4 kB / 0.6864 GB, free: 1.867 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.1564, allocations: 0 / 0.6864 GB, free: 1.867 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.1564, allocations: 0 / 0.6864 GB, free: 1.867 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.999e-05/0.1565, allocations: 11.98 kB / 0.6864 GB, free: 1.855 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.1565, allocations: 4.062 kB / 0.6864 GB, free: 1.852 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.653e-05/0.1565, allocations: 0 / 0.6864 GB, free: 1.852 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-06/0.1565, allocations: 4 kB / 0.6864 GB, free: 1.848 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 6.47e-05/0.1566, allocations: 113.8 kB / 0.6865 GB, free: 1.727 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.493e-05/0.1566, allocations: 0 / 0.6865 GB, free: 1.727 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.983e-05/0.1567, allocations: 120.9 kB / 0.6866 GB, free: 1.598 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.877e-05/0.1568, allocations: 180.3 kB / 0.6868 GB, free: 1.414 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-05/0.1568, allocations: 184.2 kB / 0.687 GB, free: 1.227 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-05/0.1569, allocations: 180.5 kB / 0.6872 GB, free: 1.043 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001777/0.1571, allocations: 409.1 kB / 0.6875 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.61e-05/0.1571, allocations: 101 kB / 0.6876 GB, free: 492 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.839e-05/0.1571, allocations: 109 kB / 0.6877 GB, free: 376 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.757e-05/0.1572, allocations: 184.3 kB / 0.6879 GB, free: 184 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.2433/0.4005, allocations: 188.2 kB / 0.6881 GB, free: 18.63 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.061e-05/0.4006, allocations: 180.7 kB / 0.6883 GB, free: 18.45 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.317e-05/0.4006, allocations: 176.3 kB / 0.6884 GB, free: 18.27 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001155/0.4007, allocations: 308.7 kB / 0.6887 GB, free: 17.96 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.267e-05/0.4008, allocations: 182.5 kB / 0.6889 GB, free: 17.76 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.851e-05/0.4008, allocations: 190.5 kB / 0.6891 GB, free: 17.58 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001618/0.401, allocations: 106.3 kB / 0.6892 GB, free: 17.48 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.885e-05/0.4011, allocations: 183.5 kB / 0.6894 GB, free: 17.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.69e-05/0.4011, allocations: 109 kB / 0.6895 GB, free: 17.19 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.467e-05/0.4011, allocations: 84.05 kB / 0.6896 GB, free: 17.12 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.4012, allocations: 0.5625 kB / 0.6896 GB, free: 17.12 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003797/0.4015, allocations: 37.78 kB / 0.6896 GB, free: 17.12 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.0002972/0.4018, allocations: 233.7 kB / 0.6898 GB, free: 16.95 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 8.45e-05/0.4019, allocations: 14.52 kB / 0.6898 GB, free: 16.95 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.4019, allocations: 0 / 0.6898 GB, free: 16.95 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.413e-06/0.402, allocations: 0 / 0.6898 GB, free: 16.95 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003588/0.4023, allocations: 462.4 kB / 0.6903 GB, free: 16.51 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002401/0.4026, allocations: 224 kB / 0.6905 GB, free: 16.3 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001011/0.4027, allocations: 0.6748 MB / 0.6911 GB, free: 15.61 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.035e-05/0.4027, allocations: 10.09 kB / 0.6911 GB, free: 15.6 MB / 494.1 MB Notification: Performance of SimCode: time 2.91e-07/0.4027, allocations: 0 / 0.6911 GB, free: 15.6 MB / 494.1 MB Notification: Performance of Templates: time 0.003172/0.4059, allocations: 1.178 MB / 0.6923 GB, free: 15.5 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)