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: "" <> buildModelFMU(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.306/1.306, allocations: 251.5 MB / 266.7 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.0009191/0.0009191, allocations: 168.5 kB / 325.8 MB, free: 2.703 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.457/1.457, allocations: 205 MB / 0.576 GB, free: 20.95 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.0007777/0.0007779, allocations: 88.05 kB / 0.6797 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003149/0.000315, allocations: 9.125 kB / 0.7932 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1879/0.1882, allocations: 105.4 MB / 0.8962 GB, free: 68.07 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.003411/0.1917, allocations: 3.735 MB / 0.8998 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0001321/0.1918, allocations: 155.5 kB / 0.9 GB, free: 64.15 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.469e-05/0.1919, allocations: 0 / 0.9 GB, free: 64.15 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 9.77e-05/0.192, allocations: 3.938 kB / 0.9 GB, free: 64.15 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.639e-05/0.1921, allocations: 15.97 kB / 0.9 GB, free: 64.13 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002447/0.1923, allocations: 62.16 kB / 0.9001 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.041e-05/0.1924, allocations: 63.81 kB / 0.9001 GB, free: 64.01 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.984e-05/0.1925, allocations: 0 / 0.9001 GB, free: 64.01 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.283e-05/0.1925, allocations: 15.92 kB / 0.9001 GB, free: 64 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.306e-05/0.1926, allocations: 15.98 kB / 0.9002 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.185e-05/0.1926, allocations: 0 / 0.9002 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001681/0.1928, allocations: 71.78 kB / 0.9002 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.846e-05/0.1928, allocations: 11.98 kB / 0.9002 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.32e-05/0.1928, allocations: 7.938 kB / 0.9002 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001049/0.1929, allocations: 55.98 kB / 0.9003 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.193, allocations: 0 / 0.9003 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.222e-06/0.193, allocations: 4 kB / 0.9003 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.336e-06/0.193, allocations: 0 / 0.9003 GB, free: 63.83 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.0002887/0.1933, allocations: 335.5 kB / 0.9006 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.1933, allocations: 8.031 kB / 0.9006 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.965e-05/0.1933, allocations: 34.75 kB / 0.9007 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.843e-05/0.1934, allocations: 4.938 kB / 0.9007 GB, free: 63.4 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.067e-05/0.1935, allocations: 160.4 kB / 0.9008 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.396e-05/0.1935, allocations: 30.27 kB / 0.9008 GB, free: 63.17 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.404e-06/0.1935, allocations: 4.125 kB / 0.9008 GB, free: 63.17 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00012/0.1937, allocations: 49.61 kB / 0.9009 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.874e-06/0.1937, allocations: 0 / 0.9009 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.755e-06/0.1937, allocations: 0 / 0.9009 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.728e-05/0.1937, allocations: 4 kB / 0.9009 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.847e-05/0.1937, allocations: 11.98 kB / 0.9009 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003344/0.1941, allocations: 337.9 kB / 0.9012 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 2.89e-05/0.1941, allocations: 14.58 kB / 0.9012 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.468e-05/0.1942, allocations: 16.91 kB / 0.9013 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 6.144e-05/0.1942, allocations: 81.11 kB / 0.9013 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.792e-05/0.1942, allocations: 34.5 kB / 0.9014 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.1942, allocations: 4 kB / 0.9014 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0001214/0.1944, allocations: 37.69 kB / 0.9014 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.028e-05/0.1944, allocations: 51.41 kB / 0.9015 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.411e-05/0.1945, allocations: 101.8 kB / 0.9016 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.147e-06/0.1945, allocations: 29.7 kB / 0.9016 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.727e-05/0.1945, allocations: 88.03 kB / 0.9017 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.749e-06/0.1945, allocations: 4 kB / 0.9017 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.756e-05/0.1945, allocations: 9.719 kB / 0.9017 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.541e-05/0.1946, allocations: 322.9 kB / 0.902 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.061e-05/0.1946, allocations: 0 / 0.902 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.832e-05/0.1946, allocations: 25.64 kB / 0.902 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.591e-05/0.1947, allocations: 17.72 kB / 0.902 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1947, allocations: 3.938 kB / 0.902 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.771e-05/0.1947, allocations: 49.62 kB / 0.9021 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.778e-06/0.1948, allocations: 8.062 kB / 0.9021 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.1948, allocations: 4 kB / 0.9021 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.067e-06/0.1948, allocations: 0 / 0.9021 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.7e-05/0.1948, allocations: 4 kB / 0.9021 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.1948, allocations: 0 / 0.9021 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.89e-05/0.1949, allocations: 7.906 kB / 0.9021 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.213e-06/0.1949, allocations: 4 kB / 0.9021 GB, free: 61.69 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 4.612e-05/0.1949, allocations: 121.7 kB / 0.9022 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.361e-05/0.1949, allocations: 4 kB / 0.9022 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.685e-05/0.195, allocations: 128.8 kB / 0.9024 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.393e-05/0.1951, allocations: 176.3 kB / 0.9025 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.49e-05/0.1951, allocations: 188.2 kB / 0.9027 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.242e-05/0.1951, allocations: 176.3 kB / 0.9029 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001216/0.1952, allocations: 409.2 kB / 0.9033 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-05/0.1953, allocations: 108.9 kB / 0.9034 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.418e-05/0.1953, allocations: 105 kB / 0.9035 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.36e-05/0.1953, allocations: 180.2 kB / 0.9036 GB, free: 60 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.388e-05/0.1953, allocations: 176.3 kB / 0.9038 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.297e-05/0.1954, allocations: 180.2 kB / 0.904 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.41e-05/0.1954, allocations: 188.2 kB / 0.9042 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.289e-05/0.1955, allocations: 307.7 kB / 0.9045 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.787e-05/0.1955, allocations: 178.1 kB / 0.9046 GB, free: 58.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.764e-05/0.1955, allocations: 180.2 kB / 0.9048 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001113/0.1957, allocations: 112.9 kB / 0.9049 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.746e-05/0.1957, allocations: 188.3 kB / 0.9051 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.588e-05/0.1957, allocations: 108.9 kB / 0.9052 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.463e-05/0.1957, allocations: 79.28 kB / 0.9053 GB, free: 58.24 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1957, allocations: 0 / 0.9053 GB, free: 58.24 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002249/0.196, allocations: 15.94 kB / 0.9053 GB, free: 58.22 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.0002949/0.1963, allocations: 0.8321 MB / 0.9061 GB, free: 57.36 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 5.673e-05/0.1963, allocations: 15.94 kB / 0.9061 GB, free: 57.35 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.1964, allocations: 0 / 0.9061 GB, free: 57.35 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.193e-06/0.1964, allocations: 3.938 kB / 0.9061 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002927/0.1967, allocations: 0.5226 MB / 0.9066 GB, free: 56.82 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006251/0.1973, allocations: 1.318 MB / 0.9079 GB, free: 55.41 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.205e-05/0.1974, allocations: 0.6809 MB / 0.9086 GB, free: 54.71 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.578e-05/0.1974, allocations: 4 kB / 0.9086 GB, free: 54.7 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.611e-05/0.1975, allocations: 11.38 kB / 0.9086 GB, free: 54.69 MB / 0.6042 GB Notification: Performance of SimCode: time 2e-07/0.1975, allocations: 4 kB / 0.9086 GB, free: 54.69 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5078/0.7053, allocations: 1.278 MB / 0.9098 GB, free: 53.57 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001451/0.7055, allocations: 223.5 kB / 0.91 GB, free: 53.32 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.499/3.204, allocations: 0 / 0.91 GB, free: 53.32 MB / 0.6042 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion.fmu > Buildings_maint.7.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)