Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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: "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_8_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_8_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001451/0.001451, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001637/0.001637, allocations: 193.5 kB / 16.25 MB, free: 6.629 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.209/1.209, allocations: 205.1 MB / 222.1 MB, free: 4.723 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.591/1.591, allocations: 292.3 MB / 0.5486 GB, free: 13.62 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.00146/0.00146, allocations: 66.89 kB / 0.6711 GB, free: 26.5 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1835/0.185, allocations: 114.6 MB / 0.783 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.005014/0.19, allocations: 3.755 MB / 0.7866 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001765/0.1902, allocations: 151.5 kB / 0.7868 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.622e-05/0.1902, allocations: 0 / 0.7868 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 8.794e-05/0.1903, allocations: 3.938 kB / 0.7868 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.917e-05/0.1904, allocations: 15.91 kB / 0.7868 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002876/0.1907, allocations: 68.84 kB / 0.7869 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.778e-05/0.1908, allocations: 27.86 kB / 0.7869 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.389e-05/0.1908, allocations: 7.922 kB / 0.7869 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.383e-05/0.1909, allocations: 15.98 kB / 0.7869 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.117e-05/0.1909, allocations: 8 kB / 0.7869 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.257e-06/0.1909, allocations: 0 / 0.7869 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004881/0.1914, allocations: 187.4 kB / 0.7871 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.042e-05/0.1915, allocations: 15.92 kB / 0.7871 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.26e-05/0.1915, allocations: 15.92 kB / 0.7871 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001174/0.1916, allocations: 44.12 kB / 0.7872 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.1917, allocations: 0 / 0.7872 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.924e-06/0.1917, allocations: 3.938 kB / 0.7872 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.1917, allocations: 0 / 0.7872 GB, free: 9.461 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.000365/0.192, allocations: 331.6 kB / 0.7875 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.253e-05/0.1921, allocations: 12.03 kB / 0.7875 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.755e-05/0.1921, allocations: 30.75 kB / 0.7875 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.81e-05/0.1922, allocations: 0.9375 kB / 0.7875 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001022/0.1923, allocations: 176.3 kB / 0.7877 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.61e-05/0.1923, allocations: 26.27 kB / 0.7877 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.076e-05/0.1923, allocations: 4.125 kB / 0.7877 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001193/0.1925, allocations: 49.67 kB / 0.7878 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.1925, allocations: 4 kB / 0.7878 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-06/0.1925, allocations: 0 / 0.7878 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.615e-05/0.1925, allocations: 3.984 kB / 0.7878 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.133e-05/0.1926, allocations: 19.92 kB / 0.7878 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000392/0.193, allocations: 333.9 kB / 0.7881 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 3.735e-05/0.193, allocations: 22.58 kB / 0.7881 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.443e-05/0.193, allocations: 8.844 kB / 0.7881 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.589e-05/0.1931, allocations: 81.17 kB / 0.7882 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.769e-05/0.1931, allocations: 34.56 kB / 0.7883 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.1932, allocations: 0 / 0.7883 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.00013/0.1933, allocations: 41.62 kB / 0.7883 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.761e-05/0.1933, allocations: 51.41 kB / 0.7883 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.841e-05/0.1934, allocations: 101.9 kB / 0.7884 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.107e-05/0.1934, allocations: 25.7 kB / 0.7885 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.134e-05/0.1935, allocations: 92.03 kB / 0.7886 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.468e-06/0.1935, allocations: 4 kB / 0.7886 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.856e-05/0.1935, allocations: 13.72 kB / 0.7886 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001035/0.1936, allocations: 322.9 kB / 0.7889 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.278e-05/0.1936, allocations: 0 / 0.7889 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.304e-05/0.1937, allocations: 17.7 kB / 0.7889 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.21e-05/0.1937, allocations: 29.59 kB / 0.7889 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.1937, allocations: 0 / 0.7889 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.21e-05/0.1938, allocations: 49.62 kB / 0.789 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.1938, allocations: 12.06 kB / 0.789 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.828e-06/0.1938, allocations: 0 / 0.789 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.1939, allocations: 0 / 0.789 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.87e-05/0.1939, allocations: 4 kB / 0.789 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.907e-06/0.1939, allocations: 0 / 0.789 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.801e-05/0.1939, allocations: 11.84 kB / 0.789 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.857e-06/0.1939, allocations: 3.984 kB / 0.789 GB, free: 7.297 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 6.214e-05/0.194, allocations: 113.8 kB / 0.7891 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.446e-05/0.194, allocations: 0 / 0.7891 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001125/0.1942, allocations: 128 kB / 0.7892 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.918e-05/0.1942, allocations: 180.2 kB / 0.7894 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.879e-05/0.1943, allocations: 176.3 kB / 0.7896 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-05/0.1944, allocations: 184.2 kB / 0.7898 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002108/0.1946, allocations: 409.1 kB / 0.7901 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.792e-05/0.1946, allocations: 112.9 kB / 0.7902 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.852e-05/0.1946, allocations: 101 kB / 0.7903 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.517e-05/0.1947, allocations: 176.3 kB / 0.7905 GB, free: 5.629 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.022e-05/0.1948, allocations: 184.2 kB / 0.7907 GB, free: 5.441 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.005e-05/0.1948, allocations: 184.3 kB / 0.7909 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.855e-05/0.1949, allocations: 184.2 kB / 0.791 GB, free: 5.066 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001236/0.195, allocations: 303.8 kB / 0.7913 GB, free: 4.746 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.279e-05/0.1951, allocations: 190 kB / 0.7915 GB, free: 4.535 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.984e-05/0.1952, allocations: 180.3 kB / 0.7917 GB, free: 4.352 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001429/0.1953, allocations: 108.9 kB / 0.7918 GB, free: 4.238 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.568e-05/0.1954, allocations: 188.2 kB / 0.792 GB, free: 4.047 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.292e-05/0.1954, allocations: 101 kB / 0.7921 GB, free: 3.941 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.05e-05/0.1955, allocations: 83.28 kB / 0.7921 GB, free: 3.859 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.613e-06/0.1955, allocations: 0 / 0.7921 GB, free: 3.859 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002485/0.1957, allocations: 23.88 kB / 0.7922 GB, free: 3.836 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.0005172/0.1963, allocations: 0.8324 MB / 0.793 GB, free: 2.977 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 7.805e-05/0.1963, allocations: 4 kB / 0.793 GB, free: 2.973 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1964, allocations: 11.88 kB / 0.793 GB, free: 2.961 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.754e-06/0.1964, allocations: 0 / 0.793 GB, free: 2.961 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004416/0.1968, allocations: 467.8 kB / 0.7934 GB, free: 2.5 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009534/0.1978, allocations: 1.328 MB / 0.7947 GB, free: 1.086 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002369/0.198, allocations: 0.6733 MB / 0.7954 GB, free: 396 kB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.947e-05/0.1981, allocations: 11.98 kB / 0.7954 GB, free: 384 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.162e-05/0.1981, allocations: 7.438 kB / 0.7954 GB, free: 376 kB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.1981, allocations: 0 / 0.7954 GB, free: 376 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09617/0.2943, allocations: 1.376 MB / 0.7968 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001772/0.2945, allocations: 228.1 kB / 0.797 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.831/2.125, allocations: 0 / 0.797 GB, free: 14.91 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1)