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.001324/0.001324, allocations: 105.8 kB / 16.41 MB, free: 6.395 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.001416/0.001416, allocations: 194.3 kB / 17.34 MB, free: 5.691 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.435/1.435, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00249/0.00249, allocations: 289.8 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.028/1.028, allocations: 169.3 MB / 0.499 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002667/0.002667, allocations: 95.83 kB / 0.6821 GB, free: 6.953 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4347/0.4373, allocations: 86.97 MB / 0.7671 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.004944/0.4423, allocations: 3.283 MB / 0.7703 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0001034/0.4424, allocations: 55.78 kB / 0.7703 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.86e-05/0.4424, allocations: 4 kB / 0.7703 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001058/0.4425, allocations: 4 kB / 0.7703 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.399e-05/0.4426, allocations: 11.92 kB / 0.7703 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000539/0.4431, allocations: 191.2 kB / 0.7705 GB, free: 376 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.287e-05/0.4432, allocations: 31.86 kB / 0.7706 GB, free: 344 kB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.391e-05/0.4432, allocations: 4 kB / 0.7706 GB, free: 340 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.955e-05/0.4433, allocations: 19.92 kB / 0.7706 GB, free: 320 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.542e-05/0.4434, allocations: 7.984 kB / 0.7706 GB, free: 312 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.485e-05/0.4434, allocations: 4 kB / 0.7706 GB, free: 308 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003307/0.4437, allocations: 175.5 kB / 0.7708 GB, free: 132 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.088e-05/0.4437, allocations: 4 kB / 0.7708 GB, free: 128 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.279e-05/0.4438, allocations: 11.92 kB / 0.7708 GB, free: 116 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003031/0.4441, allocations: 139 kB / 0.7709 GB, free: 15.98 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.4441, allocations: 0 / 0.7709 GB, free: 15.98 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.483e-06/0.4441, allocations: 0 / 0.7709 GB, free: 15.98 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.4441, allocations: 4 kB / 0.7709 GB, free: 15.98 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.0004561/0.4445, allocations: 345.6 kB / 0.7712 GB, free: 15.6 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.4446, allocations: 8.031 kB / 0.7713 GB, free: 15.59 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.958e-05/0.4446, allocations: 8.938 kB / 0.7713 GB, free: 15.58 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000141/0.4448, allocations: 168.4 kB / 0.7714 GB, free: 15.38 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.89e-05/0.4448, allocations: 26.27 kB / 0.7714 GB, free: 15.35 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.423e-05/0.4448, allocations: 4.375 kB / 0.7714 GB, free: 15.34 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001271/0.445, allocations: 41.62 kB / 0.7715 GB, free: 15.3 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.445, allocations: 4 kB / 0.7715 GB, free: 15.29 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.445, allocations: 0 / 0.7715 GB, free: 15.29 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.615e-05/0.445, allocations: 3.938 kB / 0.7715 GB, free: 15.29 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.545e-05/0.445, allocations: 19.98 kB / 0.7715 GB, free: 15.27 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000706/0.4457, allocations: 0.5872 MB / 0.7721 GB, free: 14.56 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 3.997e-05/0.4458, allocations: 18.58 kB / 0.7721 GB, free: 14.53 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.672e-05/0.4458, allocations: 4.859 kB / 0.7721 GB, free: 14.52 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002711/0.4461, allocations: 344.4 kB / 0.7724 GB, free: 14.11 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.467e-05/0.4461, allocations: 46.48 kB / 0.7725 GB, free: 14.06 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.4461, allocations: 0 / 0.7725 GB, free: 14.06 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001423/0.4462, allocations: 33.66 kB / 0.7725 GB, free: 14.02 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.855e-05/0.4463, allocations: 55.34 kB / 0.7726 GB, free: 13.95 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.696e-05/0.4464, allocations: 105.8 kB / 0.7727 GB, free: 13.84 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.4464, allocations: 25.7 kB / 0.7727 GB, free: 13.81 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.066e-05/0.4465, allocations: 88.22 kB / 0.7728 GB, free: 13.72 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.11e-06/0.4465, allocations: 0 / 0.7728 GB, free: 13.72 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.712e-05/0.4465, allocations: 17.72 kB / 0.7728 GB, free: 13.7 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001383/0.4466, allocations: 322.8 kB / 0.7731 GB, free: 13.37 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.315e-05/0.4466, allocations: 0 / 0.7731 GB, free: 13.37 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.156e-05/0.4467, allocations: 25.83 kB / 0.7731 GB, free: 13.34 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.76e-05/0.4467, allocations: 21.72 kB / 0.7731 GB, free: 13.31 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.4467, allocations: 0 / 0.7731 GB, free: 13.31 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.221e-05/0.4468, allocations: 49.62 kB / 0.7732 GB, free: 13.26 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.4468, allocations: 8 kB / 0.7732 GB, free: 13.25 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.4468, allocations: 0 / 0.7732 GB, free: 13.25 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.4468, allocations: 0 / 0.7732 GB, free: 13.25 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.47e-05/0.4469, allocations: 7.984 kB / 0.7732 GB, free: 13.24 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.4469, allocations: 0 / 0.7732 GB, free: 13.24 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.176e-05/0.4469, allocations: 7.953 kB / 0.7732 GB, free: 13.23 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.4469, allocations: 4.062 kB / 0.7732 GB, free: 13.23 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 0.0001006/0.447, allocations: 120.2 kB / 0.7733 GB, free: 13.11 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.638e-05/0.447, allocations: 0 / 0.7733 GB, free: 13.11 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001209/0.4472, allocations: 123.8 kB / 0.7735 GB, free: 12.98 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.72e-05/0.4472, allocations: 176.3 kB / 0.7736 GB, free: 12.8 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.507e-05/0.4473, allocations: 184.3 kB / 0.7738 GB, free: 12.61 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.06e-05/0.4474, allocations: 184.2 kB / 0.774 GB, free: 12.43 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002848/0.4477, allocations: 405.2 kB / 0.7744 GB, free: 11.97 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.79e-05/0.4477, allocations: 104.9 kB / 0.7745 GB, free: 11.86 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.147e-05/0.4478, allocations: 113 kB / 0.7746 GB, free: 11.75 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.513e-05/0.4479, allocations: 180.2 kB / 0.7747 GB, free: 11.56 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.12e-05/0.4479, allocations: 180.4 kB / 0.7749 GB, free: 11.38 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.157e-05/0.448, allocations: 180.3 kB / 0.7751 GB, free: 11.2 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.772e-05/0.4481, allocations: 188.2 kB / 0.7753 GB, free: 11 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001672/0.4483, allocations: 315.6 kB / 0.7756 GB, free: 10.67 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.997e-05/0.4484, allocations: 182.1 kB / 0.7757 GB, free: 10.47 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.489e-05/0.4485, allocations: 176.3 kB / 0.7759 GB, free: 10.29 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001615/0.4486, allocations: 112.9 kB / 0.776 GB, free: 10.17 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.861e-05/0.4487, allocations: 180.3 kB / 0.7762 GB, free: 9.988 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.944e-05/0.4488, allocations: 112.9 kB / 0.7763 GB, free: 9.871 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.567e-05/0.4488, allocations: 83.27 kB / 0.7764 GB, free: 9.789 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4488, allocations: 4 kB / 0.7764 GB, free: 9.785 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002833/0.4491, allocations: 39.81 kB / 0.7764 GB, free: 9.746 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.000294/0.4494, allocations: 234.3 kB / 0.7766 GB, free: 9.504 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 8.137e-05/0.4495, allocations: 15.92 kB / 0.7767 GB, free: 9.488 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.4495, allocations: 0 / 0.7767 GB, free: 9.488 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.152e-06/0.4495, allocations: 0 / 0.7767 GB, free: 9.488 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004453/0.4499, allocations: 466.1 kB / 0.7771 GB, free: 9.031 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002885/0.4502, allocations: 194 kB / 0.7773 GB, free: 8.812 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000316/0.4505, allocations: 0.6729 MB / 0.7779 GB, free: 8.113 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.359e-05/0.4506, allocations: 7.984 kB / 0.7779 GB, free: 8.105 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.744e-05/0.4506, allocations: 7.438 kB / 0.778 GB, free: 8.098 MB / 0.545 GB Notification: Performance of SimCode: time 3e-07/0.4506, allocations: 0 / 0.778 GB, free: 8.098 MB / 0.545 GB Notification: Performance of Templates: time 0.00424/0.4548, allocations: 1.217 MB / 0.7791 GB, free: 6.934 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)