Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.207/2.207, allocations: 251.1 MB / 266.7 MB, free: 11.64 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001815/0.001815, allocations: 171.2 kB / 326.2 MB, free: 2.895 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.434/2.434, allocations: 205.4 MB / 0.5772 GB, free: 21.16 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009049/0.0009048, allocations: 88.44 kB / 0.6817 GB, free: 14.07 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006225/0.0006228, allocations: 15.41 kB / 0.7957 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1979/0.1985, allocations: 106.3 MB / 0.8995 GB, free: 66.04 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.004021/0.2026, allocations: 2.888 MB / 0.9023 GB, free: 63.13 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0001069/0.2028, allocations: 43.89 kB / 0.9024 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.849e-05/0.2028, allocations: 0 / 0.9024 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 9.423e-05/0.2029, allocations: 7.875 kB / 0.9024 GB, free: 63.08 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.344e-05/0.203, allocations: 15.97 kB / 0.9024 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005276/0.2036, allocations: 123.4 kB / 0.9025 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.601e-05/0.2036, allocations: 47.81 kB / 0.9025 GB, free: 62.9 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.541e-05/0.2037, allocations: 0 / 0.9025 GB, free: 62.9 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.875e-05/0.2038, allocations: 19.92 kB / 0.9026 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.746e-05/0.2039, allocations: 11.98 kB / 0.9026 GB, free: 62.87 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.392e-05/0.2039, allocations: 0 / 0.9026 GB, free: 62.87 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003168/0.2042, allocations: 95.73 kB / 0.9027 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.459e-05/0.2043, allocations: 4 kB / 0.9027 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.192e-05/0.2043, allocations: 33.64 kB / 0.9027 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001731/0.2045, allocations: 59.88 kB / 0.9028 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.2045, allocations: 0 / 0.9028 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.064e-06/0.2045, allocations: 0 / 0.9028 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.2045, allocations: 0 / 0.9028 GB, free: 62.67 MB / 0.6042 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.0003521/0.2049, allocations: 339.4 kB / 0.9031 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.2049, allocations: 12.03 kB / 0.9031 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.904e-05/0.205, allocations: 0.9375 kB / 0.9031 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.551e-05/0.2051, allocations: 168.4 kB / 0.9033 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.775e-05/0.2052, allocations: 34.25 kB / 0.9033 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.057e-06/0.2052, allocations: 384 / 0.9033 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001498/0.2053, allocations: 45.62 kB / 0.9033 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.2054, allocations: 3.938 kB / 0.9033 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.2054, allocations: 0 / 0.9033 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.005e-05/0.2054, allocations: 3.938 kB / 0.9033 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.609e-05/0.2055, allocations: 23.92 kB / 0.9034 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005867/0.2061, allocations: 0.5872 MB / 0.9039 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 3.255e-05/0.2061, allocations: 18.58 kB / 0.904 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.838e-05/0.2062, allocations: 8.906 kB / 0.904 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002089/0.2064, allocations: 340.4 kB / 0.9043 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.274e-05/0.2064, allocations: 34.56 kB / 0.9043 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 2.435e-06/0.2064, allocations: 0 / 0.9043 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0001528/0.2066, allocations: 45.62 kB / 0.9044 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.841e-05/0.2066, allocations: 51.41 kB / 0.9044 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.177e-05/0.2067, allocations: 109.7 kB / 0.9045 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.213e-05/0.2067, allocations: 25.7 kB / 0.9045 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.143e-05/0.2068, allocations: 84.14 kB / 0.9046 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.314e-06/0.2068, allocations: 3.906 kB / 0.9046 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.377e-06/0.2068, allocations: 128 / 0.9046 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.771e-05/0.2069, allocations: 318.8 kB / 0.9049 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.918e-05/0.2069, allocations: 8 kB / 0.9049 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.546e-05/0.2069, allocations: 17.7 kB / 0.905 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.634e-05/0.207, allocations: 7.938 kB / 0.905 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.207, allocations: 0 / 0.905 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.95e-05/0.2071, allocations: 45.69 kB / 0.905 GB, free: 60 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.2071, allocations: 8.062 kB / 0.905 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.433e-06/0.2071, allocations: 7.984 kB / 0.905 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.2071, allocations: 0 / 0.905 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.232e-05/0.2072, allocations: 4 kB / 0.905 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.2072, allocations: 3.938 kB / 0.905 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.858e-05/0.2073, allocations: 4 kB / 0.905 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.207e-05/0.2073, allocations: 0 / 0.905 GB, free: 59.97 MB / 0.6042 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 6.105e-05/0.2073, allocations: 117.8 kB / 0.9051 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.24e-05/0.2074, allocations: 4 kB / 0.9051 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001063/0.2075, allocations: 126.1 kB / 0.9053 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.165e-05/0.2075, allocations: 184.2 kB / 0.9054 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.986e-05/0.2076, allocations: 105 kB / 0.9055 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.468e-05/0.2076, allocations: 178.1 kB / 0.9057 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.892e-05/0.2077, allocations: 184.2 kB / 0.9059 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001994/0.2079, allocations: 120.9 kB / 0.906 GB, free: 58.9 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.776e-05/0.208, allocations: 180.2 kB / 0.9062 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 4.59e-05/0.208, allocations: 255.5 kB / 0.9064 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001062/0.2081, allocations: 383 kB / 0.9068 GB, free: 58.06 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.686e-05/0.2082, allocations: 109 kB / 0.9069 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.548e-05/0.2082, allocations: 87.2 kB / 0.907 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of Backend: time 1.724e-06/0.2082, allocations: 0 / 0.907 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005594/0.2088, allocations: 143.3 kB / 0.9071 GB, free: 57.71 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0004487/0.2093, allocations: 0.9357 MB / 0.908 GB, free: 56.72 MB / 0.6042 GB Notification: Performance of Templates: time 0.004252/0.2135, allocations: 1.061 MB / 0.9091 GB, free: 55.71 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile (rm -f Buildings_7.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_7.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_7.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./Buildings_7.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)