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.0007346/0.0007346, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.0008014/0.0008015, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.364/1.364, allocations: 205.4 MB / 222.1 MB, free: 5.668 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.686/1.686, allocations: 292.7 MB / 0.5499 GB, free: 14.56 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.0004706/0.0004706, allocations: 19.12 kB / 0.6737 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2126/0.2131, allocations: 116.3 MB / 0.7873 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.004269/0.2174, allocations: 3.572 MB / 0.7907 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0002007/0.2176, allocations: 143.7 kB / 0.7909 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.761e-05/0.2177, allocations: 0 / 0.7909 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001099/0.2178, allocations: 3.984 kB / 0.7909 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.796e-05/0.2179, allocations: 11.92 kB / 0.7909 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003039/0.2182, allocations: 59.28 kB / 0.791 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.705e-05/0.2183, allocations: 39.84 kB / 0.791 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.016e-05/0.2184, allocations: 3.984 kB / 0.791 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.478e-05/0.2184, allocations: 12 kB / 0.791 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.738e-05/0.2185, allocations: 19.91 kB / 0.791 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.423e-05/0.2186, allocations: 4 kB / 0.791 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001784/0.2187, allocations: 27.92 kB / 0.7911 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.07e-05/0.2188, allocations: 7.984 kB / 0.7911 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.036e-05/0.2188, allocations: 29.69 kB / 0.7911 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001084/0.2189, allocations: 28.27 kB / 0.7911 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.593e-06/0.219, allocations: 0 / 0.7911 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.785e-06/0.219, allocations: 0 / 0.7911 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.384e-06/0.219, allocations: 0 / 0.7911 GB, free: 7.992 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.0004675/0.2194, allocations: 331.3 kB / 0.7914 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.2195, allocations: 11.97 kB / 0.7914 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.027e-05/0.2196, allocations: 11.86 kB / 0.7915 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001566/0.2197, allocations: 163 kB / 0.7916 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.411e-05/0.2198, allocations: 29.7 kB / 0.7916 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.749e-06/0.2198, allocations: 0 / 0.7916 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001608/0.22, allocations: 41.69 kB / 0.7917 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.22, allocations: 3.984 kB / 0.7917 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.43e-05/0.22, allocations: 0 / 0.7917 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.607e-05/0.2201, allocations: 8 kB / 0.7917 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.33e-05/0.2201, allocations: 19.94 kB / 0.7917 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005633/0.2207, allocations: 330 kB / 0.792 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 3.331e-05/0.2207, allocations: 14.58 kB / 0.792 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.232e-05/0.2208, allocations: 4.859 kB / 0.792 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.298e-05/0.2208, allocations: 89.16 kB / 0.7921 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.22e-05/0.2209, allocations: 34.56 kB / 0.7922 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.2209, allocations: 0 / 0.7922 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0001535/0.221, allocations: 45.59 kB / 0.7922 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.106e-05/0.2211, allocations: 55.39 kB / 0.7923 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.652e-05/0.2212, allocations: 97.8 kB / 0.7924 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.226e-05/0.2212, allocations: 25.7 kB / 0.7924 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.275e-05/0.2212, allocations: 96.03 kB / 0.7925 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.943e-06/0.2212, allocations: 12.02 kB / 0.7925 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.705e-06/0.2213, allocations: 0 / 0.7925 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001043/0.2214, allocations: 310.8 kB / 0.7928 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.565e-05/0.2214, allocations: 8 kB / 0.7928 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.972e-05/0.2214, allocations: 13.72 kB / 0.7928 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.079e-05/0.2214, allocations: 7.984 kB / 0.7928 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.2214, allocations: 0 / 0.7928 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.878e-05/0.2215, allocations: 49.64 kB / 0.7929 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.2215, allocations: 4 kB / 0.7929 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.2215, allocations: 7.984 kB / 0.7929 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.2216, allocations: 3.953 kB / 0.7929 GB, free: 5.934 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.152e-05/0.2216, allocations: 4 kB / 0.7929 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.279e-06/0.2216, allocations: 3.938 kB / 0.7929 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.597e-05/0.2216, allocations: 288 / 0.7929 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.246e-06/0.2217, allocations: 4 kB / 0.7929 GB, free: 5.922 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.138e-05/0.2217, allocations: 117.4 kB / 0.793 GB, free: 5.801 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.292e-05/0.2218, allocations: 4 kB / 0.793 GB, free: 5.797 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.603e-05/0.2219, allocations: 128.8 kB / 0.7931 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.862e-05/0.2219, allocations: 180.3 kB / 0.7933 GB, free: 5.477 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-05/0.222, allocations: 184.2 kB / 0.7935 GB, free: 5.289 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.936e-05/0.2221, allocations: 184.3 kB / 0.7936 GB, free: 5.102 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002094/0.2223, allocations: 413.1 kB / 0.794 GB, free: 4.641 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.021e-05/0.2223, allocations: 105 kB / 0.7941 GB, free: 4.531 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.053e-05/0.2224, allocations: 109 kB / 0.7942 GB, free: 4.418 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.089e-05/0.2224, allocations: 180.2 kB / 0.7944 GB, free: 4.234 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.2e-05/0.2225, allocations: 176.3 kB / 0.7946 GB, free: 4.055 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.044e-05/0.2226, allocations: 184.2 kB / 0.7948 GB, free: 3.867 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.044e-05/0.2226, allocations: 180.3 kB / 0.7949 GB, free: 3.684 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001603/0.2228, allocations: 315.6 kB / 0.7952 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 9.489e-05/0.2229, allocations: 178.1 kB / 0.7954 GB, free: 3.152 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.813e-05/0.223, allocations: 184.2 kB / 0.7956 GB, free: 2.965 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000154/0.2231, allocations: 113 kB / 0.7957 GB, free: 2.848 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.761e-05/0.2232, allocations: 180.3 kB / 0.7959 GB, free: 2.664 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.32e-05/0.2233, allocations: 108.9 kB / 0.796 GB, free: 2.551 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.533e-05/0.2233, allocations: 83.23 kB / 0.796 GB, free: 2.469 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2234, allocations: 0 / 0.796 GB, free: 2.469 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002638/0.2236, allocations: 23.94 kB / 0.7961 GB, free: 2.445 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 (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.0001827/0.2238, allocations: 186.5 kB / 0.7962 GB, free: 2.254 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 7.432e-05/0.2239, allocations: 12 kB / 0.7962 GB, free: 2.242 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.2239, allocations: 0 / 0.7962 GB, free: 2.242 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 5.69e-06/0.2239, allocations: 3.938 kB / 0.7963 GB, free: 2.238 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004983/0.2244, allocations: 0.5264 MB / 0.7968 GB, free: 1.707 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002279/0.2247, allocations: 191.8 kB / 0.7969 GB, free: 1.492 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002156/0.2249, allocations: 0.6731 MB / 0.7976 GB, free: 0.793 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.505e-05/0.2249, allocations: 7.984 kB / 0.7976 GB, free: 0.7852 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.318e-05/0.225, allocations: 11.44 kB / 0.7976 GB, free: 0.7734 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.225, allocations: 4 kB / 0.7976 GB, free: 0.7695 MB / 0.6075 GB Notification: Performance of Templates: time 0.002261/0.2273, allocations: 0.5001 MB / 0.7981 GB, free: 276 kB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: