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.001225/0.001225, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.001475/0.001475, allocations: 193.1 kB / 16.14 MB, free: 6.668 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.409/1.409, allocations: 205.1 MB / 222 MB, free: 4.77 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.556/1.556, allocations: 251.6 MB / 0.5088 GB, free: 3.273 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.001447/0.001447, allocations: 64.47 kB / 0.6216 GB, free: 1.957 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.492/0.4935, allocations: 104.7 MB / 0.7238 GB, free: 13.37 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.005123/0.4986, allocations: 3.358 MB / 0.7271 GB, free: 9.984 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 8.973e-05/0.4988, allocations: 47.81 kB / 0.7271 GB, free: 9.938 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.749e-05/0.4988, allocations: 0 / 0.7271 GB, free: 9.938 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001034/0.4989, allocations: 7.938 kB / 0.7271 GB, free: 9.93 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.663e-05/0.499, allocations: 15.91 kB / 0.7272 GB, free: 9.914 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004422/0.4994, allocations: 160.4 kB / 0.7273 GB, free: 9.758 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.104e-05/0.4995, allocations: 51.88 kB / 0.7274 GB, free: 9.707 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.431e-05/0.4996, allocations: 7.984 kB / 0.7274 GB, free: 9.699 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.764e-05/0.4996, allocations: 15.94 kB / 0.7274 GB, free: 9.684 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.092e-05/0.4997, allocations: 15.91 kB / 0.7274 GB, free: 9.668 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.322e-05/0.4997, allocations: 4 kB / 0.7274 GB, free: 9.664 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003195/0.5, allocations: 163.6 kB / 0.7276 GB, free: 9.504 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.852e-05/0.5001, allocations: 4 kB / 0.7276 GB, free: 9.5 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.722e-05/0.5002, allocations: 11.98 kB / 0.7276 GB, free: 9.488 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003177/0.5005, allocations: 137.8 kB / 0.7277 GB, free: 9.355 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.835e-06/0.5005, allocations: 0 / 0.7277 GB, free: 9.355 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.323e-06/0.5005, allocations: 0 / 0.7277 GB, free: 9.355 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.04e-06/0.5005, allocations: 0 / 0.7277 GB, free: 9.355 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.0004884/0.501, allocations: 355.4 kB / 0.728 GB, free: 8.961 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.5011, allocations: 8.031 kB / 0.728 GB, free: 8.953 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.076e-05/0.5011, allocations: 8.938 kB / 0.7281 GB, free: 8.945 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001134/0.5012, allocations: 164.3 kB / 0.7282 GB, free: 8.746 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.593e-05/0.5013, allocations: 26.27 kB / 0.7282 GB, free: 8.715 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.315e-05/0.5013, allocations: 8.359 kB / 0.7282 GB, free: 8.707 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001384/0.5015, allocations: 45.62 kB / 0.7283 GB, free: 8.656 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.5015, allocations: 0 / 0.7283 GB, free: 8.656 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.5015, allocations: 0 / 0.7283 GB, free: 8.656 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.088e-05/0.5015, allocations: 4 kB / 0.7283 GB, free: 8.652 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.489e-05/0.5016, allocations: 11.98 kB / 0.7283 GB, free: 8.641 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006571/0.5022, allocations: 0.5948 MB / 0.7289 GB, free: 7.922 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 4.306e-05/0.5023, allocations: 26.5 kB / 0.7289 GB, free: 7.887 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.415e-05/0.5023, allocations: 4.859 kB / 0.7289 GB, free: 7.879 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002187/0.5025, allocations: 344.5 kB / 0.7292 GB, free: 7.469 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.251e-05/0.5026, allocations: 34.56 kB / 0.7293 GB, free: 7.426 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 1.423e-06/0.5026, allocations: 4 kB / 0.7293 GB, free: 7.422 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001433/0.5027, allocations: 37.62 kB / 0.7293 GB, free: 7.379 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.241e-05/0.5028, allocations: 51.41 kB / 0.7294 GB, free: 7.316 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.413e-05/0.5029, allocations: 101.9 kB / 0.7295 GB, free: 7.207 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.687e-05/0.5029, allocations: 25.7 kB / 0.7295 GB, free: 7.176 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.041e-05/0.5029, allocations: 92.03 kB / 0.7296 GB, free: 7.082 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.344e-06/0.503, allocations: 4 kB / 0.7296 GB, free: 7.078 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.848e-05/0.503, allocations: 9.844 kB / 0.7296 GB, free: 7.062 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.84e-05/0.5031, allocations: 322.8 kB / 0.7299 GB, free: 6.738 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.727e-05/0.5031, allocations: 7.984 kB / 0.7299 GB, free: 6.73 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.355e-05/0.5031, allocations: 13.72 kB / 0.7299 GB, free: 6.711 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.839e-05/0.5032, allocations: 21.72 kB / 0.7299 GB, free: 6.684 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.5032, allocations: 0 / 0.7299 GB, free: 6.684 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.834e-05/0.5033, allocations: 53.62 kB / 0.73 GB, free: 6.625 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.5033, allocations: 8 kB / 0.73 GB, free: 6.617 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.5033, allocations: 0 / 0.73 GB, free: 6.617 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.5033, allocations: 0 / 0.73 GB, free: 6.617 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.016e-05/0.5034, allocations: 7.984 kB / 0.73 GB, free: 6.609 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.5034, allocations: 3.984 kB / 0.73 GB, free: 6.605 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.138e-05/0.5034, allocations: 7.906 kB / 0.73 GB, free: 6.598 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.957e-06/0.5034, allocations: 3.938 kB / 0.73 GB, free: 6.594 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.505e-05/0.5035, allocations: 113.8 kB / 0.7301 GB, free: 6.473 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.569e-05/0.5036, allocations: 4.062 kB / 0.7301 GB, free: 6.469 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001068/0.5037, allocations: 121 kB / 0.7302 GB, free: 6.34 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.945e-05/0.5038, allocations: 184.2 kB / 0.7304 GB, free: 6.152 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.419e-05/0.5038, allocations: 180.2 kB / 0.7306 GB, free: 5.969 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.195e-05/0.5039, allocations: 184.2 kB / 0.7308 GB, free: 5.781 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002131/0.5041, allocations: 413.1 kB / 0.7312 GB, free: 5.32 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.66e-05/0.5042, allocations: 105 kB / 0.7313 GB, free: 5.211 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.244e-05/0.5042, allocations: 108.9 kB / 0.7314 GB, free: 5.098 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-05/0.5043, allocations: 180.2 kB / 0.7315 GB, free: 4.914 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.928e-05/0.5043, allocations: 176.3 kB / 0.7317 GB, free: 4.734 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.405e-05/0.5044, allocations: 184.2 kB / 0.7319 GB, free: 4.547 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.921e-05/0.5044, allocations: 184.3 kB / 0.7321 GB, free: 4.359 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001199/0.5046, allocations: 307.7 kB / 0.7323 GB, free: 4.035 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.065e-05/0.5046, allocations: 182.1 kB / 0.7325 GB, free: 3.832 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.244e-05/0.5047, allocations: 184.2 kB / 0.7327 GB, free: 3.645 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001432/0.5049, allocations: 109 kB / 0.7328 GB, free: 3.531 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.92e-05/0.505, allocations: 184.2 kB / 0.733 GB, free: 3.344 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.861e-05/0.505, allocations: 101 kB / 0.7331 GB, free: 3.238 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.057e-05/0.505, allocations: 83.28 kB / 0.7332 GB, free: 3.156 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.41e-07/0.5051, allocations: 0 / 0.7332 GB, free: 3.156 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002862/0.5053, allocations: 39.92 kB / 0.7332 GB, free: 3.117 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.0002736/0.5056, allocations: 242.7 kB / 0.7334 GB, free: 2.867 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 6.844e-05/0.5057, allocations: 7.938 kB / 0.7334 GB, free: 2.859 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.5057, allocations: 128 / 0.7334 GB, free: 2.859 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.282e-06/0.5057, allocations: 4 kB / 0.7334 GB, free: 2.855 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004564/0.5062, allocations: 0.5263 MB / 0.7339 GB, free: 2.324 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002644/0.5065, allocations: 183.6 kB / 0.7341 GB, free: 2.121 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000215/0.5067, allocations: 0.677 MB / 0.7348 GB, free: 1.418 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.414e-05/0.5067, allocations: 11.31 kB / 0.7348 GB, free: 1.41 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.495e-05/0.5068, allocations: 7.438 kB / 0.7348 GB, free: 1.402 MB / 0.545 GB Notification: Performance of SimCode: time 3.31e-07/0.5068, allocations: 0 / 0.7348 GB, free: 1.402 MB / 0.545 GB Notification: Performance of Templates: time 0.003474/0.5102, allocations: 1.15 MB / 0.7359 GB, free: 312 kB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile (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)