Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.513/1.513, allocations: 252 MB / 267.6 MB, free: 10.93 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.001004/0.001004, allocations: 182 kB / 327.3 MB, free: 2.211 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.983/1.983, allocations: 205.4 MB / 0.5783 GB, free: 20.47 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.0007411/0.0007409, allocations: 79.69 kB / 0.6829 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003389/0.0003393, allocations: 12.94 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2024/0.2028, allocations: 106.3 MB / 0.9008 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.003653/0.2065, allocations: 3.575 MB / 0.9043 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0001355/0.2066, allocations: 147.7 kB / 0.9044 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.838e-05/0.2067, allocations: 0 / 0.9044 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 9.207e-05/0.2068, allocations: 0 / 0.9044 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.893e-05/0.2068, allocations: 19.91 kB / 0.9045 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000258/0.2071, allocations: 57.36 kB / 0.9045 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.07e-05/0.2072, allocations: 43.89 kB / 0.9046 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.61e-05/0.2072, allocations: 7.938 kB / 0.9046 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.523e-05/0.2073, allocations: 15.92 kB / 0.9046 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.148e-05/0.2073, allocations: 7.984 kB / 0.9046 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.308e-05/0.2074, allocations: 7.938 kB / 0.9046 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001304/0.2075, allocations: 27.91 kB / 0.9046 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.064e-05/0.2075, allocations: 11.98 kB / 0.9046 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.705e-05/0.2076, allocations: 25.7 kB / 0.9047 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.752e-05/0.2076, allocations: 23.98 kB / 0.9047 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.2077, allocations: 0 / 0.9047 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.492e-06/0.2077, allocations: 0 / 0.9047 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.2077, allocations: 4 kB / 0.9047 GB, free: 60.3 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.0003036/0.208, allocations: 331.6 kB / 0.905 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.306e-05/0.208, allocations: 8.031 kB / 0.905 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.755e-05/0.2081, allocations: 7.953 kB / 0.905 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.553e-05/0.2081, allocations: 163.1 kB / 0.9052 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.672e-05/0.2082, allocations: 33.64 kB / 0.9052 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.825e-06/0.2082, allocations: 0 / 0.9052 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001178/0.2083, allocations: 49.66 kB / 0.9053 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.2084, allocations: 0 / 0.9053 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.2084, allocations: 4 kB / 0.9053 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.891e-05/0.2084, allocations: 7.953 kB / 0.9053 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.783e-05/0.2084, allocations: 11.98 kB / 0.9053 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003337/0.2088, allocations: 326 kB / 0.9056 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 2.975e-05/0.2088, allocations: 22.55 kB / 0.9056 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.269e-05/0.2088, allocations: 8.859 kB / 0.9056 GB, free: 59.17 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 6.104e-05/0.2089, allocations: 89.17 kB / 0.9057 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.667e-05/0.2089, allocations: 34.52 kB / 0.9057 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.2089, allocations: 0 / 0.9057 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0001222/0.2091, allocations: 41.59 kB / 0.9058 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.321e-05/0.2091, allocations: 55.34 kB / 0.9058 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.946e-05/0.2092, allocations: 97.86 kB / 0.9059 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.207e-06/0.2092, allocations: 29.83 kB / 0.9059 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.642e-05/0.2092, allocations: 95.97 kB / 0.906 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.747e-06/0.2092, allocations: 3.938 kB / 0.906 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.284e-06/0.2092, allocations: 0 / 0.906 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.95e-05/0.2093, allocations: 314.8 kB / 0.9063 GB, free: 58.35 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.202e-05/0.2093, allocations: 4 kB / 0.9063 GB, free: 58.35 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.685e-05/0.2093, allocations: 17.7 kB / 0.9064 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.809e-05/0.2093, allocations: 12 kB / 0.9064 GB, free: 58.31 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.2093, allocations: 0 / 0.9064 GB, free: 58.31 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.669e-05/0.2094, allocations: 49.62 kB / 0.9064 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.052e-05/0.2094, allocations: 4 kB / 0.9064 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.2094, allocations: 7.953 kB / 0.9064 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.083e-05/0.2094, allocations: 0 / 0.9064 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.816e-05/0.2095, allocations: 4 kB / 0.9064 GB, free: 58.24 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.2095, allocations: 0 / 0.9064 GB, free: 58.24 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.842e-05/0.2095, allocations: 3.938 kB / 0.9064 GB, free: 58.24 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.165e-06/0.2095, allocations: 4.062 kB / 0.9064 GB, free: 58.23 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 4.207e-05/0.2096, allocations: 109.8 kB / 0.9065 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.447e-05/0.2096, allocations: 11.89 kB / 0.9066 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.804e-05/0.2097, allocations: 120.9 kB / 0.9067 GB, free: 57.97 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-05/0.2097, allocations: 180.2 kB / 0.9068 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.275e-05/0.2097, allocations: 184.2 kB / 0.907 GB, free: 57.6 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.27e-05/0.2098, allocations: 184.2 kB / 0.9072 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000124/0.2099, allocations: 409.2 kB / 0.9076 GB, free: 56.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.536e-05/0.2099, allocations: 104.9 kB / 0.9077 GB, free: 56.85 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.333e-05/0.2099, allocations: 101 kB / 0.9078 GB, free: 56.74 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-05/0.21, allocations: 184.2 kB / 0.908 GB, free: 56.55 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.213e-05/0.21, allocations: 180.3 kB / 0.9081 GB, free: 56.37 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.409e-05/0.21, allocations: 176.3 kB / 0.9083 GB, free: 56.19 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.634e-05/0.2101, allocations: 196.4 kB / 0.9085 GB, free: 55.99 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.949e-05/0.2101, allocations: 299.8 kB / 0.9088 GB, free: 55.68 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.386e-05/0.2102, allocations: 190.1 kB / 0.909 GB, free: 55.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.339e-05/0.2102, allocations: 180.3 kB / 0.9091 GB, free: 55.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001265/0.2103, allocations: 108.9 kB / 0.9092 GB, free: 55.17 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.896e-05/0.2104, allocations: 188.2 kB / 0.9094 GB, free: 54.98 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.415e-05/0.2104, allocations: 104.9 kB / 0.9095 GB, free: 54.87 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.022e-05/0.2104, allocations: 83.28 kB / 0.9096 GB, free: 54.79 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2104, allocations: 3.938 kB / 0.9096 GB, free: 54.78 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002326/0.2107, allocations: 16 kB / 0.9096 GB, free: 54.77 MB / 0.6042 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.0001139/0.2108, allocations: 186.5 kB / 0.9098 GB, free: 54.57 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 6.624e-05/0.2109, allocations: 15.98 kB / 0.9098 GB, free: 54.56 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.2109, allocations: 0 / 0.9098 GB, free: 54.56 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.284e-06/0.2109, allocations: 4 kB / 0.9098 GB, free: 54.55 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003604/0.2112, allocations: 0.5302 MB / 0.9103 GB, free: 54.02 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001966/0.2115, allocations: 217.5 kB / 0.9105 GB, free: 53.77 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001002/0.2116, allocations: 0.677 MB / 0.9112 GB, free: 53.07 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.062e-05/0.2116, allocations: 11.44 kB / 0.9112 GB, free: 53.06 MB / 0.6042 GB Notification: Performance of SimCode: time 2.31e-07/0.2116, allocations: 0 / 0.9112 GB, free: 53.06 MB / 0.6042 GB Notification: Performance of Templates: time 0.001786/0.2134, allocations: 0.6758 MB / 0.9119 GB, free: 52.39 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.makefile (rm -f Buildings_maint.7.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./Buildings_maint.7.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)