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.001434/0.001434, allocations: 112.5 kB / 15.99 MB, free: 5.914 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.001426/0.001426, allocations: 195.9 kB / 16.91 MB, free: 5.754 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.299/1.299, 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.002359/0.002359, allocations: 286 kB / 291 MB, free: 14.71 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.144/1.144, allocations: 178.5 MB / 0.5076 GB, free: 12.71 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002539/0.002539, allocations: 107.8 kB / 0.6066 GB, free: 9.648 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1577/0.1602, allocations: 89.12 MB / 0.6936 GB, free: 448 kB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.005171/0.1654, allocations: 3.337 MB / 0.6969 GB, free: 13.07 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0001039/0.1655, allocations: 51.86 kB / 0.6969 GB, free: 13.02 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.309e-05/0.1656, allocations: 0 / 0.6969 GB, free: 13.02 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 9.369e-05/0.1657, allocations: 11.92 kB / 0.6969 GB, free: 13 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.748e-05/0.1658, allocations: 7.938 kB / 0.6969 GB, free: 13 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005818/0.1664, allocations: 177.9 kB / 0.6971 GB, free: 12.82 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.363e-05/0.1665, allocations: 31.86 kB / 0.6971 GB, free: 12.79 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.548e-05/0.1665, allocations: 0 / 0.6971 GB, free: 12.79 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.843e-05/0.1665, allocations: 19.97 kB / 0.6972 GB, free: 12.77 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.381e-05/0.1666, allocations: 19.88 kB / 0.6972 GB, free: 12.75 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.023e-05/0.1666, allocations: 0 / 0.6972 GB, free: 12.75 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003541/0.167, allocations: 179.5 kB / 0.6974 GB, free: 12.58 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.464e-05/0.1671, allocations: 3.984 kB / 0.6974 GB, free: 12.57 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.897e-05/0.1671, allocations: 11.94 kB / 0.6974 GB, free: 12.56 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001966/0.1673, allocations: 96.09 kB / 0.6975 GB, free: 12.47 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.1673, allocations: 0 / 0.6975 GB, free: 12.47 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.343e-06/0.1673, allocations: 0 / 0.6975 GB, free: 12.47 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.1673, allocations: 0 / 0.6975 GB, free: 12.47 MB / 0.545 GB 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.0004208/0.1677, allocations: 349.7 kB / 0.6978 GB, free: 12.08 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.1678, allocations: 12.03 kB / 0.6978 GB, free: 12.07 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.193e-05/0.1678, allocations: 0.9375 kB / 0.6978 GB, free: 12.07 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001265/0.168, allocations: 164.3 kB / 0.698 GB, free: 11.87 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.493e-05/0.168, allocations: 42.17 kB / 0.698 GB, free: 11.82 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.313e-06/0.168, allocations: 384 / 0.698 GB, free: 11.82 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001249/0.1682, allocations: 45.62 kB / 0.698 GB, free: 11.77 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.663e-06/0.1682, allocations: 0 / 0.698 GB, free: 11.77 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.1682, allocations: 4 kB / 0.6981 GB, free: 11.77 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.632e-05/0.1682, allocations: 4 kB / 0.6981 GB, free: 11.77 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.503e-05/0.1683, allocations: 15.98 kB / 0.6981 GB, free: 11.75 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006747/0.169, allocations: 0.5833 MB / 0.6986 GB, free: 11.04 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 3.995e-05/0.169, allocations: 18.52 kB / 0.6987 GB, free: 11.02 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.499e-05/0.169, allocations: 8.797 kB / 0.6987 GB, free: 11 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002695/0.1693, allocations: 344.5 kB / 0.699 GB, free: 10.59 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.717e-05/0.1694, allocations: 38.56 kB / 0.699 GB, free: 10.55 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.1694, allocations: 0 / 0.699 GB, free: 10.55 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.000142/0.1695, allocations: 37.69 kB / 0.6991 GB, free: 10.5 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.684e-05/0.1696, allocations: 59.34 kB / 0.6991 GB, free: 10.43 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.271e-05/0.1696, allocations: 93.86 kB / 0.6992 GB, free: 10.33 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.924e-05/0.1697, allocations: 29.69 kB / 0.6992 GB, free: 10.3 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.108e-05/0.1697, allocations: 92.05 kB / 0.6993 GB, free: 10.2 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.639e-06/0.1697, allocations: 4.125 kB / 0.6993 GB, free: 10.2 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.301e-05/0.1698, allocations: 17.62 kB / 0.6994 GB, free: 10.18 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.1699, allocations: 318.8 kB / 0.6997 GB, free: 9.855 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.861e-05/0.1699, allocations: 11.98 kB / 0.6997 GB, free: 9.844 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.527e-05/0.17, allocations: 13.72 kB / 0.6997 GB, free: 9.824 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.58e-05/0.17, allocations: 17.72 kB / 0.6997 GB, free: 9.801 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.17, allocations: 4 kB / 0.6997 GB, free: 9.797 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.331e-05/0.1701, allocations: 53.62 kB / 0.6998 GB, free: 9.738 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.1701, allocations: 4 kB / 0.6998 GB, free: 9.734 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.1701, allocations: 0 / 0.6998 GB, free: 9.734 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.1702, allocations: 0 / 0.6998 GB, free: 9.734 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.033e-05/0.1702, allocations: 11.98 kB / 0.6998 GB, free: 9.723 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.1702, allocations: 0 / 0.6998 GB, free: 9.723 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.999e-05/0.1702, allocations: 3.938 kB / 0.6998 GB, free: 9.719 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.435e-06/0.1703, allocations: 0 / 0.6998 GB, free: 9.719 MB / 0.545 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 (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 8.152e-05/0.1703, allocations: 125.1 kB / 0.6999 GB, free: 9.59 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.569e-05/0.1704, allocations: 0 / 0.6999 GB, free: 9.59 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001227/0.1705, allocations: 121 kB / 0.7 GB, free: 9.465 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.362e-05/0.1706, allocations: 180.2 kB / 0.7002 GB, free: 9.281 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.495e-05/0.1707, allocations: 180.3 kB / 0.7003 GB, free: 9.098 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.425e-05/0.1707, allocations: 184.2 kB / 0.7005 GB, free: 8.91 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002666/0.171, allocations: 413.1 kB / 0.7009 GB, free: 8.449 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.159e-05/0.1711, allocations: 101.1 kB / 0.701 GB, free: 8.344 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.97e-05/0.1711, allocations: 108.9 kB / 0.7011 GB, free: 8.23 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.8e-05/0.1712, allocations: 184.5 kB / 0.7013 GB, free: 8.043 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.545e-05/0.1713, allocations: 180.3 kB / 0.7015 GB, free: 7.859 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.691e-05/0.1714, allocations: 188.2 kB / 0.7016 GB, free: 7.668 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.276e-05/0.1714, allocations: 176.3 kB / 0.7018 GB, free: 7.488 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001719/0.1716, allocations: 311.7 kB / 0.7021 GB, free: 7.16 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.897e-05/0.1717, allocations: 186 kB / 0.7023 GB, free: 6.953 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.237e-05/0.1718, allocations: 192.2 kB / 0.7025 GB, free: 6.758 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001539/0.172, allocations: 109 kB / 0.7026 GB, free: 6.645 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.535e-05/0.172, allocations: 180.2 kB / 0.7027 GB, free: 6.461 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.873e-05/0.1721, allocations: 101 kB / 0.7028 GB, free: 6.355 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.694e-05/0.1722, allocations: 91.27 kB / 0.7029 GB, free: 6.266 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1722, allocations: 0 / 0.7029 GB, free: 6.266 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002827/0.1724, allocations: 32 kB / 0.703 GB, free: 6.234 MB / 0.545 GB 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.0002824/0.1727, allocations: 240.4 kB / 0.7032 GB, free: 5.988 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 7.161e-05/0.1728, allocations: 15.94 kB / 0.7032 GB, free: 5.973 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.1728, allocations: 0 / 0.7032 GB, free: 5.973 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.513e-06/0.1728, allocations: 0 / 0.7032 GB, free: 5.973 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00046/0.1733, allocations: 465.7 kB / 0.7037 GB, free: 5.516 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002747/0.1736, allocations: 207.8 kB / 0.7038 GB, free: 5.281 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002836/0.1739, allocations: 0.6729 MB / 0.7045 GB, free: 4.582 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.87e-05/0.1739, allocations: 15.44 kB / 0.7045 GB, free: 4.566 MB / 0.545 GB Notification: Performance of SimCode: time 2.51e-07/0.1739, allocations: 0 / 0.7045 GB, free: 4.566 MB / 0.545 GB Notification: Performance of Templates: time 0.002942/0.1769, allocations: 1.189 MB / 0.7057 GB, free: 3.391 MB / 0.545 GB 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)