Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001058/0.001058, allocations: 108 kB / 15.99 MB, free: 6.359 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.001012/0.001012, allocations: 191.5 kB / 16.91 MB, free: 6.195 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.329/1.329, allocations: 205.1 MB / 222.8 MB, free: 4.699 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.685/1.685, allocations: 292.3 MB / 0.5492 GB, free: 13.61 MB / 462.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.001375/0.001375, allocations: 68.67 kB / 0.6716 GB, free: 26.41 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2055/0.2069, allocations: 114.6 MB / 0.7835 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.00501/0.2119, allocations: 4.046 MB / 0.7874 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001782/0.2121, allocations: 155.5 kB / 0.7876 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.179e-05/0.2122, allocations: 0 / 0.7876 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 9.38e-05/0.2123, allocations: 3.938 kB / 0.7876 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.67e-05/0.2124, allocations: 11.97 kB / 0.7876 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002889/0.2127, allocations: 67.72 kB / 0.7877 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.707e-05/0.2128, allocations: 35.84 kB / 0.7877 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.03e-05/0.2128, allocations: 4 kB / 0.7877 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.349e-05/0.2129, allocations: 8 kB / 0.7877 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.659e-05/0.2129, allocations: 23.91 kB / 0.7877 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.028e-05/0.2129, allocations: 0 / 0.7877 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001694/0.2131, allocations: 55.81 kB / 0.7878 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.806e-05/0.2132, allocations: 0 / 0.7878 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.804e-05/0.2132, allocations: 15.92 kB / 0.7878 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.137e-05/0.2133, allocations: 32.25 kB / 0.7878 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.2133, allocations: 0 / 0.7878 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.815e-06/0.2133, allocations: 0 / 0.7878 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.2133, allocations: 7.938 kB / 0.7879 GB, free: 9.43 MB / 0.6075 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.000383/0.2137, allocations: 335.4 kB / 0.7882 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.2137, allocations: 12.03 kB / 0.7882 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.722e-05/0.2138, allocations: 0.9375 kB / 0.7882 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000109/0.2139, allocations: 164.4 kB / 0.7883 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.065e-05/0.214, allocations: 30.27 kB / 0.7884 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.388e-06/0.214, allocations: 4.375 kB / 0.7884 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001251/0.2141, allocations: 41.62 kB / 0.7884 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.2141, allocations: 4 kB / 0.7884 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.818e-06/0.2141, allocations: 4 kB / 0.7884 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.632e-05/0.2142, allocations: 0 / 0.7884 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.419e-05/0.2142, allocations: 23.91 kB / 0.7884 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004238/0.2146, allocations: 334 kB / 0.7888 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 3.272e-05/0.2147, allocations: 14.58 kB / 0.7888 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.402e-05/0.2147, allocations: 8.922 kB / 0.7888 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.568e-05/0.2148, allocations: 89.09 kB / 0.7889 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.248e-05/0.2148, allocations: 30.56 kB / 0.7889 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.2148, allocations: 0 / 0.7889 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.00014/0.215, allocations: 41.64 kB / 0.7889 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.056e-05/0.215, allocations: 51.41 kB / 0.789 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.656e-05/0.2151, allocations: 105.8 kB / 0.7891 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.595e-05/0.2151, allocations: 29.83 kB / 0.7891 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.318e-05/0.2152, allocations: 92.03 kB / 0.7892 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.11e-06/0.2152, allocations: 3.906 kB / 0.7892 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.205e-05/0.2152, allocations: 17.7 kB / 0.7892 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.2153, allocations: 322.7 kB / 0.7895 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.435e-05/0.2153, allocations: 4 kB / 0.7895 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.017e-05/0.2154, allocations: 17.7 kB / 0.7896 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.821e-05/0.2154, allocations: 33.66 kB / 0.7896 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.2154, allocations: 4 kB / 0.7896 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.692e-05/0.2155, allocations: 49.62 kB / 0.7896 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/0.2155, allocations: 4 kB / 0.7896 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.2155, allocations: 0 / 0.7896 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.668e-06/0.2155, allocations: 4 kB / 0.7896 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.01e-05/0.2156, allocations: 7.938 kB / 0.7897 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.2156, allocations: 0 / 0.7897 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.639e-05/0.2156, allocations: 4.062 kB / 0.7897 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.398e-06/0.2156, allocations: 4 kB / 0.7897 GB, free: 7.301 MB / 0.6075 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.09e-05/0.2157, allocations: 109.8 kB / 0.7898 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.703e-05/0.2157, allocations: 7.984 kB / 0.7898 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.903e-05/0.2159, allocations: 116.9 kB / 0.7899 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.131e-05/0.2159, allocations: 184.2 kB / 0.7901 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.596e-05/0.216, allocations: 180.3 kB / 0.7902 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.133e-05/0.216, allocations: 184.2 kB / 0.7904 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002155/0.2163, allocations: 409.2 kB / 0.7908 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.765e-05/0.2163, allocations: 101 kB / 0.7909 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.156e-05/0.2163, allocations: 104.9 kB / 0.791 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.192e-05/0.2164, allocations: 180.3 kB / 0.7912 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.38e-05/0.2165, allocations: 188.2 kB / 0.7913 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.944e-05/0.2166, allocations: 176.3 kB / 0.7915 GB, free: 5.266 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.135e-05/0.2166, allocations: 180.2 kB / 0.7917 GB, free: 5.082 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001307/0.2168, allocations: 311.7 kB / 0.792 GB, free: 4.754 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.29e-05/0.2168, allocations: 186 kB / 0.7922 GB, free: 4.547 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.142e-05/0.2169, allocations: 180.5 kB / 0.7923 GB, free: 4.363 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001436/0.2171, allocations: 109 kB / 0.7924 GB, free: 4.25 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.233e-05/0.2171, allocations: 180.2 kB / 0.7926 GB, free: 4.066 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.043e-05/0.2172, allocations: 109 kB / 0.7927 GB, free: 3.953 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.983e-05/0.2172, allocations: 87.28 kB / 0.7928 GB, free: 3.867 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2172, allocations: 4 kB / 0.7928 GB, free: 3.863 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002307/0.2175, allocations: 15.94 kB / 0.7928 GB, free: 3.848 MB / 0.6075 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.0002451/0.2177, allocations: 202.4 kB / 0.793 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 7.021e-05/0.2178, allocations: 15.94 kB / 0.793 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.2178, allocations: 0 / 0.793 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.152e-06/0.2178, allocations: 128 / 0.793 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003726/0.2182, allocations: 467.9 kB / 0.7935 GB, free: 3.164 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002714/0.2185, allocations: 207.5 kB / 0.7937 GB, free: 2.93 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000249/0.2187, allocations: 0.6768 MB / 0.7943 GB, free: 2.227 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.095e-05/0.2187, allocations: 15.44 kB / 0.7943 GB, free: 2.211 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.2188, allocations: 0 / 0.7943 GB, free: 2.211 MB / 0.6075 GB Notification: Performance of Templates: time 0.001899/0.2207, allocations: 0.7258 MB / 0.7951 GB, free: 1.488 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.makefile (rm -f Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)