Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.0009604/0.0009605, allocations: 91.45 kB / 15.06 MB, free: 1.098 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.001125/0.001124, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.589/1.589, allocations: 205.4 MB / 222.1 MB, free: 5.484 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.679/1.679, allocations: 252 MB / 0.5102 GB, free: 4.734 MB / 414.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.0005891/0.0005894, allocations: 16 kB / 0.6243 GB, free: 1.059 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6059/0.6065, allocations: 106.3 MB / 0.7281 GB, free: 11.38 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.00558/0.6121, allocations: 2.899 MB / 0.731 GB, free: 8.465 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0001195/0.6123, allocations: 43.91 kB / 0.731 GB, free: 8.422 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.976e-05/0.6123, allocations: 4 kB / 0.731 GB, free: 8.418 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001125/0.6124, allocations: 0 / 0.731 GB, free: 8.418 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 9.861e-05/0.6126, allocations: 15.91 kB / 0.731 GB, free: 8.402 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005768/0.6131, allocations: 127.4 kB / 0.7311 GB, free: 8.277 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.855e-05/0.6133, allocations: 47.83 kB / 0.7312 GB, free: 8.23 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.893e-05/0.6133, allocations: 0 / 0.7312 GB, free: 8.23 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.214e-05/0.6134, allocations: 11.98 kB / 0.7312 GB, free: 8.219 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.963e-05/0.6134, allocations: 19.92 kB / 0.7312 GB, free: 8.199 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.448e-05/0.6135, allocations: 0 / 0.7312 GB, free: 8.199 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003003/0.6138, allocations: 95.73 kB / 0.7313 GB, free: 8.105 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.902e-05/0.6138, allocations: 0 / 0.7313 GB, free: 8.105 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.003e-05/0.6139, allocations: 29.7 kB / 0.7313 GB, free: 8.07 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002056/0.6141, allocations: 61.89 kB / 0.7314 GB, free: 8.012 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.6141, allocations: 0 / 0.7314 GB, free: 8.012 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.983e-06/0.6141, allocations: 0 / 0.7314 GB, free: 8.012 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.6141, allocations: 4 kB / 0.7314 GB, free: 8.008 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.0004622/0.6146, allocations: 347.2 kB / 0.7317 GB, free: 7.621 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.6146, allocations: 8.031 kB / 0.7317 GB, free: 7.613 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.74e-05/0.6147, allocations: 3.953 kB / 0.7317 GB, free: 7.609 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001538/0.6149, allocations: 171 kB / 0.7319 GB, free: 7.402 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.497e-05/0.6149, allocations: 25.7 kB / 0.7319 GB, free: 7.371 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.318e-06/0.615, allocations: 0 / 0.7319 GB, free: 7.371 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002143/0.6152, allocations: 41.69 kB / 0.732 GB, free: 7.324 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.6152, allocations: 0 / 0.732 GB, free: 7.324 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.524e-05/0.6152, allocations: 8 kB / 0.732 GB, free: 7.316 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.475e-05/0.6153, allocations: 3.953 kB / 0.732 GB, free: 7.312 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.002e-05/0.6153, allocations: 15.98 kB / 0.732 GB, free: 7.297 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008351/0.6162, allocations: 0.5833 MB / 0.7326 GB, free: 6.59 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 5.051e-05/0.6162, allocations: 18.52 kB / 0.7326 GB, free: 6.562 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.294e-05/0.6163, allocations: 12.86 kB / 0.7326 GB, free: 6.547 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003066/0.6166, allocations: 344.4 kB / 0.7329 GB, free: 6.137 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.537e-05/0.6166, allocations: 38.52 kB / 0.733 GB, free: 6.09 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 1.172e-06/0.6166, allocations: 0 / 0.733 GB, free: 6.09 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001889/0.6168, allocations: 41.59 kB / 0.733 GB, free: 6.043 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.624e-05/0.6169, allocations: 55.34 kB / 0.7331 GB, free: 5.977 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001058/0.617, allocations: 105.8 kB / 0.7332 GB, free: 5.863 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/0.617, allocations: 25.7 kB / 0.7332 GB, free: 5.832 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.544e-05/0.6171, allocations: 88.16 kB / 0.7333 GB, free: 5.742 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.831e-06/0.6171, allocations: 4 kB / 0.7333 GB, free: 5.738 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.186e-06/0.6171, allocations: 0 / 0.7333 GB, free: 5.738 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001441/0.6173, allocations: 314.8 kB / 0.7336 GB, free: 5.422 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.622e-05/0.6173, allocations: 7.984 kB / 0.7336 GB, free: 5.414 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.727e-05/0.6173, allocations: 13.72 kB / 0.7336 GB, free: 5.395 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.701e-05/0.6174, allocations: 8 kB / 0.7336 GB, free: 5.387 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.6174, allocations: 0 / 0.7336 GB, free: 5.387 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.87e-05/0.6175, allocations: 53.56 kB / 0.7336 GB, free: 5.328 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.6175, allocations: 8 kB / 0.7337 GB, free: 5.32 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.6175, allocations: 3.953 kB / 0.7337 GB, free: 5.316 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.6175, allocations: 0 / 0.7337 GB, free: 5.316 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.961e-05/0.6176, allocations: 4 kB / 0.7337 GB, free: 5.312 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.6176, allocations: 3.984 kB / 0.7337 GB, free: 5.309 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.02e-05/0.6177, allocations: 8 kB / 0.7337 GB, free: 5.301 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/0.6177, allocations: 0 / 0.7337 GB, free: 5.301 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000166/0.6179, allocations: 113.9 kB / 0.7338 GB, free: 5.18 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.556e-05/0.6179, allocations: 3.906 kB / 0.7338 GB, free: 5.176 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001356/0.618, allocations: 128.1 kB / 0.7339 GB, free: 5.043 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001238/0.6182, allocations: 180.2 kB / 0.7341 GB, free: 4.859 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001314/0.6183, allocations: 180.2 kB / 0.7342 GB, free: 4.676 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.569e-05/0.6184, allocations: 180.3 kB / 0.7344 GB, free: 4.492 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003462/0.6188, allocations: 405.2 kB / 0.7348 GB, free: 4.039 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.345e-05/0.6188, allocations: 108.9 kB / 0.7349 GB, free: 3.926 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.453e-05/0.6189, allocations: 101 kB / 0.735 GB, free: 3.82 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001167/0.619, allocations: 180.2 kB / 0.7352 GB, free: 3.637 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001412/0.6191, allocations: 180.2 kB / 0.7354 GB, free: 3.453 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.676e-05/0.6192, allocations: 184.3 kB / 0.7355 GB, free: 3.266 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.077e-05/0.6193, allocations: 196.2 kB / 0.7357 GB, free: 3.066 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001852/0.6195, allocations: 303.8 kB / 0.736 GB, free: 2.746 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.681e-05/0.6196, allocations: 182.1 kB / 0.7362 GB, free: 2.543 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.059e-05/0.6197, allocations: 184.2 kB / 0.7364 GB, free: 2.355 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000195/0.6199, allocations: 113 kB / 0.7365 GB, free: 2.238 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.381e-05/0.62, allocations: 180.2 kB / 0.7366 GB, free: 2.055 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.129e-05/0.6201, allocations: 108.9 kB / 0.7367 GB, free: 1.941 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.517e-05/0.6201, allocations: 87.27 kB / 0.7368 GB, free: 1.855 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6201, allocations: 0 / 0.7368 GB, free: 1.855 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000403/0.6206, allocations: 31.94 kB / 0.7368 GB, free: 1.824 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004209/0.621, allocations: 238.3 kB / 0.7371 GB, free: 1.578 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 8.777e-05/0.6211, allocations: 4.312 kB / 0.7371 GB, free: 1.574 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.6211, allocations: 4.125 kB / 0.7371 GB, free: 1.57 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 6.432e-06/0.6211, allocations: 7.938 kB / 0.7371 GB, free: 1.562 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006133/0.6217, allocations: 0.5246 MB / 0.7376 GB, free: 1.035 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000339/0.6221, allocations: 191.9 kB / 0.7378 GB, free: 0.8203 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003027/0.6224, allocations: 0.6731 MB / 0.7384 GB, free: 124 kB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.501e-05/0.6225, allocations: 0 / 0.7384 GB, free: 124 kB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.078e-05/0.6225, allocations: 15.42 kB / 0.7385 GB, free: 108 kB / 0.545 GB Notification: Performance of SimCode: time 2.6e-07/0.6225, allocations: 0 / 0.7385 GB, free: 108 kB / 0.545 GB Notification: Performance of Templates: time 0.00403/0.6265, allocations: 1.092 MB / 0.7395 GB, free: 15.07 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) Environment - environmentSimulation: