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.004688/0.004688, allocations: 98.02 kB / 15.73 MB, free: 6.055 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.001099/0.001099, allocations: 193.3 kB / 16.68 MB, free: 5.969 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.31/1.31, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002178/0.002178, allocations: 286.5 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9352/0.9352, allocations: 169.3 MB / 0.4983 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001676/0.001676, allocations: 99.86 kB / 0.6815 GB, free: 6.934 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4415/0.4432, allocations: 86.97 MB / 0.7664 GB, free: 3.891 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.004342/0.4476, allocations: 3.279 MB / 0.7696 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 8.907e-05/0.4477, allocations: 51.86 kB / 0.7697 GB, free: 0.543 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.46e-05/0.4478, allocations: 0 / 0.7697 GB, free: 0.543 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 8.393e-05/0.4478, allocations: 3.938 kB / 0.7697 GB, free: 0.5391 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.541e-05/0.4479, allocations: 15.91 kB / 0.7697 GB, free: 0.5234 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004812/0.4484, allocations: 181.4 kB / 0.7698 GB, free: 356 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.711e-05/0.4485, allocations: 39.78 kB / 0.7699 GB, free: 316 kB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.859e-05/0.4485, allocations: 3.984 kB / 0.7699 GB, free: 312 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.425e-05/0.4486, allocations: 15.94 kB / 0.7699 GB, free: 296 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.682e-05/0.4487, allocations: 15.97 kB / 0.7699 GB, free: 280 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.301e-05/0.4487, allocations: 4 kB / 0.7699 GB, free: 276 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003196/0.449, allocations: 175.5 kB / 0.7701 GB, free: 100 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.063e-05/0.4491, allocations: 3.984 kB / 0.7701 GB, free: 96 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.781e-05/0.4491, allocations: 15.92 kB / 0.7701 GB, free: 80 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002641/0.4494, allocations: 133.8 kB / 0.7702 GB, free: 15.95 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.4494, allocations: 0 / 0.7702 GB, free: 15.95 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.192e-06/0.4494, allocations: 0 / 0.7702 GB, free: 15.95 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.005e-06/0.4494, allocations: 0 / 0.7702 GB, free: 15.95 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.0003642/0.4498, allocations: 350.8 kB / 0.7706 GB, free: 15.57 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.233e-05/0.4498, allocations: 8.031 kB / 0.7706 GB, free: 15.56 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.483e-05/0.4498, allocations: 8.938 kB / 0.7706 GB, free: 15.55 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.832e-05/0.4499, allocations: 164.3 kB / 0.7707 GB, free: 15.35 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.399e-05/0.45, allocations: 26.27 kB / 0.7708 GB, free: 15.32 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.438e-06/0.45, allocations: 4.375 kB / 0.7708 GB, free: 15.32 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000123/0.4501, allocations: 49.61 kB / 0.7708 GB, free: 15.26 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.212e-06/0.4502, allocations: 0 / 0.7708 GB, free: 15.26 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-06/0.4502, allocations: 0 / 0.7708 GB, free: 15.26 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.756e-05/0.4502, allocations: 4 kB / 0.7708 GB, free: 15.26 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.579e-05/0.4502, allocations: 11.98 kB / 0.7708 GB, free: 15.25 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005564/0.4508, allocations: 0.591 MB / 0.7714 GB, free: 14.53 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 3.465e-05/0.4509, allocations: 22.52 kB / 0.7714 GB, free: 14.5 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.441e-05/0.4509, allocations: 8.844 kB / 0.7714 GB, free: 14.49 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002065/0.4511, allocations: 340.5 kB / 0.7718 GB, free: 14.08 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.485e-05/0.4511, allocations: 34.56 kB / 0.7718 GB, free: 14.04 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.4511, allocations: 7.938 kB / 0.7718 GB, free: 14.03 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.000132/0.4513, allocations: 37.64 kB / 0.7718 GB, free: 13.99 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.244e-05/0.4513, allocations: 55.34 kB / 0.7719 GB, free: 13.92 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.12e-05/0.4514, allocations: 101.9 kB / 0.772 GB, free: 13.81 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.384e-05/0.4514, allocations: 25.7 kB / 0.772 GB, free: 13.78 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.089e-05/0.4514, allocations: 92.08 kB / 0.7721 GB, free: 13.69 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.55e-06/0.4515, allocations: 4 kB / 0.7721 GB, free: 13.68 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.968e-05/0.4515, allocations: 13.72 kB / 0.7721 GB, free: 13.66 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.00012/0.4516, allocations: 318.9 kB / 0.7724 GB, free: 13.34 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.577e-05/0.4516, allocations: 7.984 kB / 0.7724 GB, free: 13.34 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.271e-05/0.4517, allocations: 13.72 kB / 0.7724 GB, free: 13.32 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.374e-05/0.4517, allocations: 21.72 kB / 0.7725 GB, free: 13.29 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.4517, allocations: 0 / 0.7725 GB, free: 13.29 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.294e-05/0.4518, allocations: 53.66 kB / 0.7725 GB, free: 13.23 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.4518, allocations: 11.94 kB / 0.7725 GB, free: 13.22 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.4518, allocations: 0 / 0.7725 GB, free: 13.22 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.015e-05/0.4518, allocations: 0 / 0.7725 GB, free: 13.22 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.333e-05/0.4519, allocations: 4 kB / 0.7725 GB, free: 13.21 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.4519, allocations: 0 / 0.7725 GB, free: 13.21 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.937e-05/0.4519, allocations: 11.94 kB / 0.7725 GB, free: 13.2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.205e-06/0.4519, allocations: 0 / 0.7725 GB, free: 13.2 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.0001269/0.4521, allocations: 117.7 kB / 0.7727 GB, free: 13.08 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.401e-05/0.4521, allocations: 0 / 0.7727 GB, free: 13.08 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001014/0.4522, allocations: 121 kB / 0.7728 GB, free: 12.95 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.357e-05/0.4523, allocations: 184.2 kB / 0.7729 GB, free: 12.77 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.942e-05/0.4523, allocations: 180.3 kB / 0.7731 GB, free: 12.58 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001131/0.4525, allocations: 180.3 kB / 0.7733 GB, free: 12.4 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002011/0.4527, allocations: 413.1 kB / 0.7737 GB, free: 11.94 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.781e-05/0.4527, allocations: 109 kB / 0.7738 GB, free: 11.82 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.201e-05/0.4527, allocations: 104.9 kB / 0.7739 GB, free: 11.71 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.926e-05/0.4528, allocations: 176.3 kB / 0.7741 GB, free: 11.54 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.237e-05/0.4529, allocations: 180.4 kB / 0.7742 GB, free: 11.35 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.461e-05/0.4529, allocations: 192.2 kB / 0.7744 GB, free: 11.16 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.467e-05/0.453, allocations: 180.3 kB / 0.7746 GB, free: 10.97 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001351/0.4531, allocations: 307.7 kB / 0.7749 GB, free: 10.65 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.453e-05/0.4532, allocations: 182.1 kB / 0.7751 GB, free: 10.45 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.669e-05/0.4533, allocations: 188.1 kB / 0.7752 GB, free: 10.25 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001471/0.4535, allocations: 109 kB / 0.7753 GB, free: 10.14 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.761e-05/0.4535, allocations: 184.2 kB / 0.7755 GB, free: 9.953 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.065e-05/0.4536, allocations: 101 kB / 0.7756 GB, free: 9.848 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.256e-05/0.4536, allocations: 83.28 kB / 0.7757 GB, free: 9.766 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4536, allocations: 0 / 0.7757 GB, free: 9.766 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002909/0.4539, allocations: 39.8 kB / 0.7757 GB, free: 9.727 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.0002622/0.4542, allocations: 241.7 kB / 0.776 GB, free: 9.48 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 6.717e-05/0.4543, allocations: 7.938 kB / 0.776 GB, free: 9.473 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4543, allocations: 0 / 0.776 GB, free: 9.473 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.836e-06/0.4543, allocations: 8.125 kB / 0.776 GB, free: 9.465 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004126/0.4547, allocations: 464.3 kB / 0.7764 GB, free: 9.008 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000224/0.4549, allocations: 181.9 kB / 0.7766 GB, free: 8.801 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002382/0.4552, allocations: 0.6768 MB / 0.7772 GB, free: 8.098 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.789e-05/0.4552, allocations: 8.281 kB / 0.7773 GB, free: 8.09 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.513e-05/0.4552, allocations: 7.438 kB / 0.7773 GB, free: 8.082 MB / 0.545 GB Notification: Performance of SimCode: time 2.3e-07/0.4552, allocations: 3.938 kB / 0.7773 GB, free: 8.078 MB / 0.545 GB Notification: Performance of Templates: time 0.003559/0.4588, allocations: 1.221 MB / 0.7785 GB, free: 6.91 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)