Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001349/0.001349, allocations: 104.9 kB / 16.27 MB, free: 6.402 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.001478/0.001478, allocations: 191.5 kB / 17.2 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.384/1.384, allocations: 205.1 MB / 223.1 MB, free: 12.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.813/1.813, allocations: 292.3 MB / 0.5495 GB, free: 17.5 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001704/0.001704, allocations: 63.91 kB / 0.6722 GB, free: 6.574 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2686/0.2704, allocations: 114.6 MB / 0.784 GB, free: 3.895 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.005148/0.2756, allocations: 3.273 MB / 0.7872 GB, free: 0.5938 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0001021/0.2757, allocations: 55.72 kB / 0.7873 GB, free: 0.5391 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.49e-05/0.2757, allocations: 0 / 0.7873 GB, free: 0.5391 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001114/0.2759, allocations: 4 kB / 0.7873 GB, free: 0.5352 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.471e-05/0.2759, allocations: 15.92 kB / 0.7873 GB, free: 0.5195 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004955/0.2764, allocations: 171.2 kB / 0.7875 GB, free: 360 kB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 7.04e-05/0.2765, allocations: 23.92 kB / 0.7875 GB, free: 336 kB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.357e-05/0.2766, allocations: 3.984 kB / 0.7875 GB, free: 332 kB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 4.697e-05/0.2766, allocations: 19.88 kB / 0.7875 GB, free: 312 kB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 7.063e-05/0.2767, allocations: 11.98 kB / 0.7875 GB, free: 300 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.133e-05/0.2767, allocations: 4 kB / 0.7875 GB, free: 296 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003212/0.277, allocations: 175.5 kB / 0.7877 GB, free: 120 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 4.332e-05/0.2771, allocations: 4 kB / 0.7877 GB, free: 116 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.885e-05/0.2771, allocations: 15.92 kB / 0.7877 GB, free: 100 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.4684/0.7455, allocations: 126.3 kB / 0.7878 GB, free: 46.28 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 8.075e-06/0.7456, allocations: 0 / 0.7878 GB, free: 46.28 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.653e-06/0.7456, allocations: 1.531 kB / 0.7878 GB, free: 46.28 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.634e-06/0.7456, allocations: 0 / 0.7878 GB, free: 46.28 MB / 0.6544 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.0004884/0.7461, allocations: 349.9 kB / 0.7882 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.7462, allocations: 8.594 kB / 0.7882 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.851e-05/0.7462, allocations: 3.562 kB / 0.7882 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001016/0.7463, allocations: 165.1 kB / 0.7883 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.923e-05/0.7464, allocations: 29.98 kB / 0.7884 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.346e-06/0.7464, allocations: 4.25 kB / 0.7884 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001467/0.7466, allocations: 51.42 kB / 0.7884 GB, free: 45.67 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.986e-06/0.7466, allocations: 0 / 0.7884 GB, free: 45.67 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.7466, allocations: 0 / 0.7884 GB, free: 45.67 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.294e-05/0.7466, allocations: 1.125 kB / 0.7884 GB, free: 45.67 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.616e-05/0.7467, allocations: 21.44 kB / 0.7884 GB, free: 45.67 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005637/0.7473, allocations: 0.5777 MB / 0.789 GB, free: 45.02 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 3.947e-05/0.7473, allocations: 22.8 kB / 0.789 GB, free: 45 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.51e-05/0.7473, allocations: 12 kB / 0.789 GB, free: 44.99 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001855/0.7475, allocations: 341.8 kB / 0.7894 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.767e-05/0.7476, allocations: 41.97 kB / 0.7894 GB, free: 44.58 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.7476, allocations: 0 / 0.7894 GB, free: 44.58 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1): time 0.0001571/0.7477, allocations: 31.61 kB / 0.7894 GB, free: 44.55 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.181e-05/0.7478, allocations: 54.03 kB / 0.7895 GB, free: 44.48 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.912e-05/0.7479, allocations: 105 kB / 0.7896 GB, free: 44.39 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.244e-05/0.7479, allocations: 28.42 kB / 0.7896 GB, free: 44.36 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.667e-05/0.7479, allocations: 84.05 kB / 0.7897 GB, free: 44.27 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 9.618e-06/0.7479, allocations: 7.281 kB / 0.7897 GB, free: 44.27 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.976e-05/0.748, allocations: 21.64 kB / 0.7897 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.747e-05/0.748, allocations: 314.8 kB / 0.79 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.599e-05/0.7481, allocations: 9.922 kB / 0.79 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.566e-05/0.7481, allocations: 17.72 kB / 0.79 GB, free: 43.92 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.412e-05/0.7481, allocations: 20.25 kB / 0.7901 GB, free: 43.9 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.7481, allocations: 0 / 0.7901 GB, free: 43.9 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.797e-05/0.7482, allocations: 45.77 kB / 0.7901 GB, free: 43.87 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.7482, allocations: 6.406 kB / 0.7901 GB, free: 43.87 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.7482, allocations: 2.75 kB / 0.7901 GB, free: 43.87 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.7483, allocations: 4.453 kB / 0.7901 GB, free: 43.87 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.668e-05/0.7483, allocations: 10.59 kB / 0.7901 GB, free: 43.87 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.7483, allocations: 0 / 0.7901 GB, free: 43.87 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.92e-05/0.7484, allocations: 2.938 kB / 0.7901 GB, free: 43.87 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.7484, allocations: 0.5938 kB / 0.7901 GB, free: 43.87 MB / 0.6544 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 5.377e-05/0.7484, allocations: 115.1 kB / 0.7902 GB, free: 43.75 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.789e-05/0.7485, allocations: 6.172 kB / 0.7903 GB, free: 43.75 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.483e-05/0.7486, allocations: 120.8 kB / 0.7904 GB, free: 43.64 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.619e-05/0.7486, allocations: 181.8 kB / 0.7905 GB, free: 43.46 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.701e-05/0.7486, allocations: 182.8 kB / 0.7907 GB, free: 43.28 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.119e-05/0.7487, allocations: 188.9 kB / 0.7909 GB, free: 43.1 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000147/0.7488, allocations: 409.6 kB / 0.7913 GB, free: 42.65 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.77e-05/0.7489, allocations: 101 kB / 0.7914 GB, free: 42.55 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.724e-05/0.7489, allocations: 103.9 kB / 0.7915 GB, free: 42.44 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.562e-05/0.7489, allocations: 183.9 kB / 0.7917 GB, free: 42.26 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.716e-05/0.749, allocations: 186.3 kB / 0.7918 GB, free: 42.08 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.994e-05/0.749, allocations: 177.7 kB / 0.792 GB, free: 41.9 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.173e-05/0.749, allocations: 179.2 kB / 0.7922 GB, free: 41.72 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.937e-05/0.7491, allocations: 314.8 kB / 0.7925 GB, free: 41.41 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.673e-05/0.7492, allocations: 181.9 kB / 0.7926 GB, free: 41.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.2e-05/0.7492, allocations: 183.2 kB / 0.7928 GB, free: 41.03 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001253/0.7494, allocations: 106.9 kB / 0.7929 GB, free: 40.93 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.932e-05/0.7494, allocations: 184.5 kB / 0.7931 GB, free: 40.75 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.792e-05/0.7494, allocations: 106.5 kB / 0.7932 GB, free: 40.64 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.023e-05/0.7495, allocations: 81.84 kB / 0.7933 GB, free: 40.57 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7495, allocations: 0 / 0.7933 GB, free: 40.57 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003071/0.7498, allocations: 39.03 kB / 0.7933 GB, free: 40.56 MB / 0.6544 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.0002576/0.7501, allocations: 238.9 kB / 0.7935 GB, free: 40.4 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 8.115e-05/0.7502, allocations: 17.66 kB / 0.7936 GB, free: 40.39 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.7502, allocations: 0 / 0.7936 GB, free: 40.39 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 3.186e-06/0.7502, allocations: 2.609 kB / 0.7936 GB, free: 40.39 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004253/0.7506, allocations: 468.2 kB / 0.794 GB, free: 39.95 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003258/0.7509, allocations: 195.2 kB / 0.7942 GB, free: 39.75 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001416/0.7511, allocations: 0.675 MB / 0.7949 GB, free: 39.06 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.191e-05/0.7511, allocations: 7.438 kB / 0.7949 GB, free: 39.05 MB / 0.6544 GB Notification: Performance of SimCode: time 4.1e-07/0.7511, allocations: 2.875 kB / 0.7949 GB, free: 39.05 MB / 0.6544 GB Notification: Performance of Templates: time 0.002963/0.7541, allocations: 1.176 MB / 0.796 GB, free: 38.95 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile (rm -f Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)