Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001447/0.001447, allocations: 101.3 kB / 19.73 MB, free: 2.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001337/0.001337, allocations: 218.4 kB / 23.03 MB, free: 4.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.392/1.392, allocations: 230.6 MB / 256.8 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002499/0.002499, allocations: 279 kB / 313.5 MB, free: 2.617 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.217/1.217, allocations: 180.6 MB / 0.5377 GB, free: 14.58 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002778/0.002778, allocations: 95.17 kB / 0.7402 GB, free: 28.1 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.181/0.1838, allocations: 95.38 MB / 0.8334 GB, free: 8.352 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.005843/0.1896, allocations: 3.905 MB / 0.8372 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0002241/0.1899, allocations: 143.6 kB / 0.8373 GB, free: 4.273 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.212e-05/0.1899, allocations: 4 kB / 0.8373 GB, free: 4.27 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001015/0.19, allocations: 7.938 kB / 0.8373 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 7.278e-05/0.1901, allocations: 7.922 kB / 0.8373 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003715/0.1905, allocations: 91.67 kB / 0.8374 GB, free: 4.164 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.897e-05/0.1905, allocations: 35.78 kB / 0.8375 GB, free: 4.129 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.076e-05/0.1906, allocations: 4 kB / 0.8375 GB, free: 4.125 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.64e-05/0.1906, allocations: 16 kB / 0.8375 GB, free: 4.109 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.528e-05/0.1907, allocations: 11.97 kB / 0.8375 GB, free: 4.098 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.333e-05/0.1907, allocations: 4 kB / 0.8375 GB, free: 4.094 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001852/0.1909, allocations: 59.8 kB / 0.8376 GB, free: 4.035 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.597e-05/0.1909, allocations: 11.88 kB / 0.8376 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.584e-05/0.191, allocations: 7.984 kB / 0.8376 GB, free: 4.016 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001435/0.1911, allocations: 52.16 kB / 0.8376 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.1911, allocations: 7.938 kB / 0.8376 GB, free: 3.957 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.673e-06/0.1911, allocations: 0 / 0.8376 GB, free: 3.957 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.1911, allocations: 4 kB / 0.8376 GB, free: 3.953 MB / 0.5762 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.0003619/0.1915, allocations: 254.3 kB / 0.8379 GB, free: 3.676 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.1915, allocations: 9.344 kB / 0.8379 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.687e-05/0.1915, allocations: 4.188 kB / 0.8379 GB, free: 3.664 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.334e-05/0.1916, allocations: 34.75 kB / 0.8379 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.182e-05/0.1916, allocations: 4.922 kB / 0.8379 GB, free: 3.617 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.736e-05/0.1917, allocations: 114.5 kB / 0.838 GB, free: 3.48 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.648e-05/0.1918, allocations: 51.97 kB / 0.8381 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.217e-05/0.1918, allocations: 7.938 kB / 0.8381 GB, free: 3.41 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001427/0.1919, allocations: 71.33 kB / 0.8382 GB, free: 3.328 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.1919, allocations: 7.938 kB / 0.8382 GB, free: 3.32 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.258e-06/0.1919, allocations: 0 / 0.8382 GB, free: 3.32 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.609e-05/0.1919, allocations: 0 / 0.8382 GB, free: 3.32 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.613e-05/0.192, allocations: 19.97 kB / 0.8382 GB, free: 3.301 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004213/0.1924, allocations: 224 kB / 0.8384 GB, free: 3.039 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 5.06e-05/0.1925, allocations: 26.5 kB / 0.8384 GB, free: 3.004 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.715e-05/0.1925, allocations: 8.922 kB / 0.8384 GB, free: 2.992 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 5.156e-05/0.1925, allocations: 4 kB / 0.8384 GB, free: 2.988 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.192e-05/0.1926, allocations: 34.56 kB / 0.8385 GB, free: 2.945 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.1926, allocations: 8 kB / 0.8385 GB, free: 2.938 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001331/0.1927, allocations: 29.7 kB / 0.8385 GB, free: 2.902 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.749e-05/0.1927, allocations: 55.39 kB / 0.8386 GB, free: 2.836 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.993e-05/0.1928, allocations: 105.8 kB / 0.8387 GB, free: 2.723 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.763e-05/0.1929, allocations: 25.7 kB / 0.8387 GB, free: 2.691 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.997e-05/0.1929, allocations: 92.08 kB / 0.8388 GB, free: 2.598 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.135e-06/0.1929, allocations: 11.89 kB / 0.8388 GB, free: 2.586 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.905e-05/0.1929, allocations: 9.719 kB / 0.8388 GB, free: 2.57 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.1931, allocations: 322.8 kB / 0.8391 GB, free: 2.246 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.323e-05/0.1931, allocations: 0 / 0.8391 GB, free: 2.246 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.91e-05/0.1931, allocations: 25.83 kB / 0.8391 GB, free: 2.215 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.165e-05/0.1932, allocations: 17.72 kB / 0.8392 GB, free: 2.191 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.1932, allocations: 0 / 0.8392 GB, free: 2.191 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.579e-05/0.1932, allocations: 57.56 kB / 0.8392 GB, free: 2.129 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.1933, allocations: 4 kB / 0.8392 GB, free: 2.125 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.1933, allocations: 0 / 0.8392 GB, free: 2.125 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.1933, allocations: 0 / 0.8392 GB, free: 2.125 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.385e-05/0.1933, allocations: 8 kB / 0.8392 GB, free: 2.117 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.1933, allocations: 0 / 0.8392 GB, free: 2.117 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.673e-05/0.1933, allocations: 4.062 kB / 0.8392 GB, free: 2.113 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.116e-05/0.1933, allocations: 3.938 kB / 0.8392 GB, free: 2.109 MB / 0.5762 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.75e-05/0.1934, allocations: 114.5 kB / 0.8393 GB, free: 1.988 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.42e-05/0.1934, allocations: 0 / 0.8393 GB, free: 1.988 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001197/0.1936, allocations: 120.9 kB / 0.8394 GB, free: 1.863 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.228e-05/0.1936, allocations: 184.2 kB / 0.8396 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.643e-05/0.1937, allocations: 180.2 kB / 0.8398 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.473e-05/0.1938, allocations: 176.3 kB / 0.84 GB, free: 1.312 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002396/0.194, allocations: 384.2 kB / 0.8403 GB, free: 0.8867 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.286e-05/0.1941, allocations: 109 kB / 0.8404 GB, free: 0.7734 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.654e-05/0.1941, allocations: 105 kB / 0.8405 GB, free: 0.6641 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.028e-05/0.1942, allocations: 180.2 kB / 0.8407 GB, free: 492 kB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.711e-05/0.1943, allocations: 180.3 kB / 0.8409 GB, free: 304 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.521e-05/0.1944, allocations: 184.2 kB / 0.8411 GB, free: 112 kB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.84e-05/0.1944, allocations: 184.2 kB / 0.8412 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001573/0.1946, allocations: 315.7 kB / 0.8415 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 4.856e-05/0.1946, allocations: 101 kB / 0.8416 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.944e-05/0.1947, allocations: 188.2 kB / 0.8418 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001527/0.1949, allocations: 101 kB / 0.8419 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.23e-05/0.195, allocations: 184.3 kB / 0.8421 GB, free: 15 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.353e-05/0.195, allocations: 104.9 kB / 0.8422 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 5.44e-05/0.1951, allocations: 95.2 kB / 0.8423 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.1951, allocations: 0 / 0.8423 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002377/0.1953, allocations: 19.94 kB / 0.8423 GB, free: 14.78 MB / 0.5919 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.000488/0.1958, allocations: 0.8165 MB / 0.8431 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 6.529e-05/0.1959, allocations: 11.94 kB / 0.8431 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.1959, allocations: 0 / 0.8431 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.212e-06/0.1959, allocations: 0 / 0.8431 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000456/0.1963, allocations: 472.3 kB / 0.8435 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001113/0.1974, allocations: 1.336 MB / 0.8449 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.591e-05/0.1975, allocations: 59.34 kB / 0.8449 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 3.845e-05/0.1975, allocations: 4.422 kB / 0.8449 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.13e-05/0.1976, allocations: 11.44 kB / 0.8449 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of SimCode: time 2.41e-07/0.1976, allocations: 0 / 0.8449 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02184/0.2194, allocations: 1.706 MB / 0.8466 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.54/10.75, allocations: 10.3 kB / 0.8466 GB, free: 10.39 MB / 0.5919 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Examples_WaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Media_Examples_WaterTemperatureEnthalpyInversion.fmu > BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.860596635029651] Failed to read output from testmodel.py, exit status != 0: 10.910100253066048 10.926684921 10.732466204 Calling exit ...