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.001305/0.001305, allocations: 99.36 kB / 15.33 MB, free: 0.5078 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.001583/0.001583, allocations: 192.5 kB / 16.25 MB, free: 6.629 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.436/1.436, allocations: 205.1 MB / 222.1 MB, free: 4.727 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.477/1.477, allocations: 251.7 MB / 0.5089 GB, free: 3.285 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.001322/0.001322, allocations: 63.91 kB / 0.6217 GB, free: 1.844 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.525/0.5263, allocations: 104.7 MB / 0.724 GB, free: 13.04 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.004639/0.531, allocations: 3.35 MB / 0.7273 GB, free: 9.66 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 8.481e-05/0.5311, allocations: 51.78 kB / 0.7273 GB, free: 9.609 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.013e-05/0.5312, allocations: 0 / 0.7273 GB, free: 9.609 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 9.749e-05/0.5313, allocations: 3.938 kB / 0.7273 GB, free: 9.605 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.403e-05/0.5314, allocations: 15.92 kB / 0.7273 GB, free: 9.59 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004705/0.5318, allocations: 163.4 kB / 0.7275 GB, free: 9.43 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.785e-05/0.5319, allocations: 27.86 kB / 0.7275 GB, free: 9.402 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.893e-05/0.532, allocations: 7.984 kB / 0.7275 GB, free: 9.395 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.749e-05/0.532, allocations: 15.98 kB / 0.7275 GB, free: 9.379 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.979e-05/0.5321, allocations: 11.94 kB / 0.7275 GB, free: 9.367 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.458e-06/0.5321, allocations: 0 / 0.7275 GB, free: 9.367 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003235/0.5324, allocations: 179.5 kB / 0.7277 GB, free: 9.191 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.072e-05/0.5325, allocations: 7.984 kB / 0.7277 GB, free: 9.184 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.231e-05/0.5325, allocations: 8 kB / 0.7277 GB, free: 9.176 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002526/0.5328, allocations: 137.7 kB / 0.7279 GB, free: 9.043 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.5328, allocations: 0 / 0.7279 GB, free: 9.043 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.753e-06/0.5328, allocations: 0 / 0.7279 GB, free: 9.043 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.453e-06/0.5328, allocations: 0 / 0.7279 GB, free: 9.043 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.0004172/0.5332, allocations: 350.9 kB / 0.7282 GB, free: 8.656 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.5333, allocations: 12.03 kB / 0.7282 GB, free: 8.645 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.847e-05/0.5333, allocations: 0.9375 kB / 0.7282 GB, free: 8.645 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001742/0.5335, allocations: 172.4 kB / 0.7284 GB, free: 8.438 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.4e-05/0.5335, allocations: 34.27 kB / 0.7284 GB, free: 8.398 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.955e-06/0.5336, allocations: 384 / 0.7284 GB, free: 8.398 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001341/0.5337, allocations: 49.62 kB / 0.7284 GB, free: 8.344 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.31e-06/0.5337, allocations: 0 / 0.7284 GB, free: 8.344 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.5337, allocations: 0 / 0.7284 GB, free: 8.344 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.749e-05/0.5337, allocations: 3.938 kB / 0.7285 GB, free: 8.34 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.487e-05/0.5338, allocations: 15.92 kB / 0.7285 GB, free: 8.324 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006409/0.5344, allocations: 0.591 MB / 0.729 GB, free: 7.609 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 4.154e-05/0.5345, allocations: 18.58 kB / 0.7291 GB, free: 7.582 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.392e-05/0.5345, allocations: 4.922 kB / 0.7291 GB, free: 7.574 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002331/0.5348, allocations: 348.4 kB / 0.7294 GB, free: 7.16 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.472e-05/0.5348, allocations: 30.56 kB / 0.7294 GB, free: 7.121 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 1.182e-06/0.5348, allocations: 0 / 0.7294 GB, free: 7.121 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001467/0.5349, allocations: 37.64 kB / 0.7295 GB, free: 7.078 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.512e-05/0.535, allocations: 55.53 kB / 0.7295 GB, free: 7.012 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.447e-05/0.5351, allocations: 101.8 kB / 0.7296 GB, free: 6.902 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.409e-05/0.5351, allocations: 29.7 kB / 0.7296 GB, free: 6.867 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.161e-05/0.5351, allocations: 88.05 kB / 0.7297 GB, free: 6.777 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.701e-06/0.5352, allocations: 0 / 0.7297 GB, free: 6.777 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.406e-05/0.5352, allocations: 17.7 kB / 0.7297 GB, free: 6.754 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.5353, allocations: 314.8 kB / 0.73 GB, free: 6.438 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.737e-05/0.5353, allocations: 8 kB / 0.7301 GB, free: 6.43 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.281e-05/0.5354, allocations: 17.72 kB / 0.7301 GB, free: 6.406 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.882e-05/0.5354, allocations: 25.64 kB / 0.7301 GB, free: 6.375 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.5354, allocations: 7.938 kB / 0.7301 GB, free: 6.367 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.734e-05/0.5355, allocations: 45.92 kB / 0.7301 GB, free: 6.316 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.5355, allocations: 7.984 kB / 0.7302 GB, free: 6.309 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.5356, allocations: 0 / 0.7302 GB, free: 6.309 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.021e-05/0.5356, allocations: 4.062 kB / 0.7302 GB, free: 6.305 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.244e-05/0.5356, allocations: 8 kB / 0.7302 GB, free: 6.297 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.5356, allocations: 0 / 0.7302 GB, free: 6.297 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.865e-05/0.5356, allocations: 3.906 kB / 0.7302 GB, free: 6.293 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.065e-05/0.5357, allocations: 7.984 kB / 0.7302 GB, free: 6.285 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 7.077e-05/0.5357, allocations: 109.8 kB / 0.7303 GB, free: 6.168 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.71e-05/0.5358, allocations: 0 / 0.7303 GB, free: 6.168 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001129/0.5359, allocations: 132.1 kB / 0.7304 GB, free: 6.031 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.254e-05/0.536, allocations: 180.3 kB / 0.7306 GB, free: 5.848 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001192/0.5361, allocations: 180.3 kB / 0.7307 GB, free: 5.664 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.677e-05/0.5362, allocations: 184.2 kB / 0.7309 GB, free: 5.477 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003376/0.5365, allocations: 405.2 kB / 0.7313 GB, free: 5.023 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.06e-05/0.5365, allocations: 108.9 kB / 0.7314 GB, free: 4.91 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.513e-05/0.5366, allocations: 109 kB / 0.7315 GB, free: 4.797 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001516/0.5367, allocations: 176.3 kB / 0.7317 GB, free: 4.617 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.247e-05/0.5368, allocations: 184.2 kB / 0.7319 GB, free: 4.43 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.109e-05/0.5369, allocations: 180.3 kB / 0.732 GB, free: 4.246 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.848e-05/0.537, allocations: 184.2 kB / 0.7322 GB, free: 4.059 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001326/0.5371, allocations: 303.8 kB / 0.7325 GB, free: 3.738 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.541e-05/0.5372, allocations: 194 kB / 0.7327 GB, free: 3.523 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.868e-05/0.5373, allocations: 180.2 kB / 0.7329 GB, free: 3.34 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001551/0.5374, allocations: 108.9 kB / 0.733 GB, free: 3.227 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.31e-05/0.5375, allocations: 176.5 kB / 0.7331 GB, free: 3.047 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.6e-05/0.5376, allocations: 105 kB / 0.7332 GB, free: 2.938 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.574e-05/0.5376, allocations: 95.2 kB / 0.7333 GB, free: 2.844 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5376, allocations: 0 / 0.7333 GB, free: 2.844 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003066/0.5379, allocations: 31.94 kB / 0.7334 GB, free: 2.812 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.0002785/0.5382, allocations: 250.4 kB / 0.7336 GB, free: 2.555 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 8.463e-05/0.5383, allocations: 8 kB / 0.7336 GB, free: 2.547 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.5383, allocations: 0 / 0.7336 GB, free: 2.547 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.054e-06/0.5383, allocations: 0 / 0.7336 GB, free: 2.547 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004368/0.5388, allocations: 463.8 kB / 0.734 GB, free: 2.09 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002428/0.539, allocations: 181.7 kB / 0.7342 GB, free: 1.887 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000257/0.5393, allocations: 0.6768 MB / 0.7349 GB, free: 1.184 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.286e-05/0.5393, allocations: 8 kB / 0.7349 GB, free: 1.176 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.814e-05/0.5394, allocations: 11.44 kB / 0.7349 GB, free: 1.164 MB / 0.545 GB Notification: Performance of SimCode: time 2.21e-07/0.5394, allocations: 7.875 kB / 0.7349 GB, free: 1.156 MB / 0.545 GB Notification: Performance of Templates: time 0.004011/0.5434, allocations: 1.159 MB / 0.736 GB, free: 52 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)