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.37/1.37, allocations: 251.5 MB / 267.4 MB, free: 11.05 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.001211/0.001211, allocations: 186.5 kB / 326.5 MB, free: 2.688 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.927/1.927, allocations: 205 MB / 0.5766 GB, free: 20.98 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.0008151/0.0008152, allocations: 92 kB / 0.6803 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003146/0.0003145, allocations: 9.656 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2049/0.2053, allocations: 105.4 MB / 0.8967 GB, free: 68.17 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.003465/0.2088, allocations: 3.743 MB / 0.9004 GB, free: 64.4 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0001369/0.2089, allocations: 147.6 kB / 0.9005 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.46e-05/0.209, allocations: 0 / 0.9005 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001028/0.2091, allocations: 11.92 kB / 0.9005 GB, free: 64.24 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.078e-05/0.2091, allocations: 0 / 0.9005 GB, free: 64.24 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002494/0.2094, allocations: 71.75 kB / 0.9006 GB, free: 64.17 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.258e-05/0.2095, allocations: 55.83 kB / 0.9007 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.033e-05/0.2095, allocations: 4 kB / 0.9007 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.293e-05/0.2096, allocations: 15.92 kB / 0.9007 GB, free: 64.1 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.656e-05/0.2096, allocations: 11.98 kB / 0.9007 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.233e-05/0.2097, allocations: 8 kB / 0.9007 GB, free: 64.08 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001765/0.2098, allocations: 71.77 kB / 0.9008 GB, free: 64.01 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.887e-05/0.2099, allocations: 8 kB / 0.9008 GB, free: 64 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.382e-05/0.2099, allocations: 7.938 kB / 0.9008 GB, free: 63.99 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.962e-05/0.21, allocations: 32.19 kB / 0.9008 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.21, allocations: 0 / 0.9008 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.753e-06/0.21, allocations: 0 / 0.9008 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.847e-06/0.21, allocations: 4 kB / 0.9008 GB, free: 63.96 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.0003129/0.2104, allocations: 323.6 kB / 0.9011 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.2104, allocations: 12.03 kB / 0.9011 GB, free: 63.58 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.082e-05/0.2105, allocations: 8.938 kB / 0.9011 GB, free: 63.57 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.357e-05/0.2105, allocations: 172.2 kB / 0.9013 GB, free: 63.37 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.028e-05/0.2106, allocations: 30.25 kB / 0.9013 GB, free: 63.33 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.222e-05/0.2106, allocations: 4.375 kB / 0.9013 GB, free: 63.33 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001226/0.2108, allocations: 49.61 kB / 0.9014 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.2108, allocations: 3.938 kB / 0.9014 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.668e-05/0.2108, allocations: 0 / 0.9014 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.204e-05/0.2108, allocations: 4 kB / 0.9014 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.121e-05/0.2109, allocations: 23.92 kB / 0.9014 GB, free: 63.24 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003555/0.2112, allocations: 333.9 kB / 0.9017 GB, free: 62.85 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 2.946e-05/0.2113, allocations: 18.58 kB / 0.9017 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.473e-05/0.2113, allocations: 8.844 kB / 0.9018 GB, free: 62.81 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 6.369e-05/0.2114, allocations: 85.17 kB / 0.9018 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.956e-05/0.2114, allocations: 34.56 kB / 0.9019 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 1.183e-06/0.2114, allocations: 0 / 0.9019 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0001308/0.2115, allocations: 37.62 kB / 0.9019 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.72e-05/0.2116, allocations: 59.41 kB / 0.902 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.679e-05/0.2116, allocations: 93.86 kB / 0.9021 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.027e-05/0.2116, allocations: 25.7 kB / 0.9021 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.974e-05/0.2117, allocations: 96.03 kB / 0.9022 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.148e-06/0.2117, allocations: 0 / 0.9022 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.985e-05/0.2117, allocations: 13.84 kB / 0.9022 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.471e-05/0.2118, allocations: 314.8 kB / 0.9025 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.291e-05/0.2118, allocations: 8 kB / 0.9025 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.845e-05/0.2118, allocations: 17.7 kB / 0.9025 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.76e-05/0.2118, allocations: 21.66 kB / 0.9025 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/0.2119, allocations: 0 / 0.9025 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.919e-05/0.2119, allocations: 49.69 kB / 0.9026 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.2119, allocations: 4 kB / 0.9026 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.2119, allocations: 0 / 0.9026 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.212, allocations: 0 / 0.9026 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.215e-05/0.212, allocations: 8 kB / 0.9026 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.212, allocations: 3.938 kB / 0.9026 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.935e-05/0.212, allocations: 7.906 kB / 0.9026 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-06/0.2121, allocations: 4 kB / 0.9026 GB, free: 61.84 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.115e-05/0.2121, allocations: 117.8 kB / 0.9027 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.517e-05/0.2121, allocations: 0 / 0.9027 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.551e-05/0.2122, allocations: 117 kB / 0.9028 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.724e-05/0.2123, allocations: 184.2 kB / 0.903 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.877e-05/0.2123, allocations: 184.2 kB / 0.9032 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.536e-05/0.2123, allocations: 176.3 kB / 0.9033 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001368/0.2125, allocations: 417.1 kB / 0.9037 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.641e-05/0.2125, allocations: 101 kB / 0.9038 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.797e-05/0.2125, allocations: 104.9 kB / 0.9039 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.39e-05/0.2126, allocations: 180.2 kB / 0.9041 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.065e-05/0.2126, allocations: 184.2 kB / 0.9043 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.88e-05/0.2126, allocations: 184.2 kB / 0.9045 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.084e-05/0.2127, allocations: 184.2 kB / 0.9046 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.789e-05/0.2127, allocations: 304 kB / 0.9049 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.18e-05/0.2128, allocations: 186 kB / 0.9051 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.857e-05/0.2128, allocations: 192.2 kB / 0.9053 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001214/0.2129, allocations: 109 kB / 0.9054 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.022e-05/0.213, allocations: 184.2 kB / 0.9056 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.718e-05/0.213, allocations: 109 kB / 0.9057 GB, free: 58.47 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.773e-05/0.213, allocations: 87.28 kB / 0.9058 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of sort global known variables: time 9e-08/0.213, allocations: 0 / 0.9058 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002434/0.2133, allocations: 16 kB / 0.9058 GB, free: 58.37 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 (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.0002005/0.2135, allocations: 200.7 kB / 0.906 GB, free: 58.17 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 5.977e-05/0.2136, allocations: 11.94 kB / 0.906 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.2136, allocations: 0 / 0.906 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.192e-06/0.2136, allocations: 0 / 0.906 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002991/0.2139, allocations: 0.5303 MB / 0.9065 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002261/0.2141, allocations: 209.3 kB / 0.9067 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.701e-05/0.2142, allocations: 0.677 MB / 0.9074 GB, free: 56.68 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.635e-05/0.2142, allocations: 11.44 kB / 0.9074 GB, free: 56.67 MB / 0.6042 GB Notification: Performance of SimCode: time 2.1e-07/0.2143, allocations: 0 / 0.9074 GB, free: 56.67 MB / 0.6042 GB Notification: Performance of Templates: time 0.001851/0.2161, allocations: 0.718 MB / 0.9081 GB, free: 55.95 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)