Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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.001368/0.001368, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001435/0.001435, allocations: 216.1 kB / 22.99 MB, free: 4.977 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.543/1.543, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9834/0.9834, allocations: 149.9 MB / 463 MB, free: 10.32 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002139/0.002139, allocations: 68.84 kB / 0.6411 GB, free: 10.1 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1798/0.1819, allocations: 89.18 MB / 0.7282 GB, free: 0.9961 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.005035/0.187, allocations: 3.215 MB / 0.7313 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.000111/0.1871, allocations: 51.8 kB / 0.7314 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.521e-05/0.1871, allocations: 0 / 0.7314 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 9.767e-05/0.1872, allocations: 4 kB / 0.7314 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.455e-05/0.1873, allocations: 19.86 kB / 0.7314 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005976/0.1879, allocations: 191.2 kB / 0.7316 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.088e-05/0.1879, allocations: 31.91 kB / 0.7316 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.749e-05/0.188, allocations: 3.984 kB / 0.7316 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.247e-05/0.188, allocations: 19.94 kB / 0.7316 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.367e-05/0.1881, allocations: 15.91 kB / 0.7316 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.395e-05/0.1881, allocations: 4 kB / 0.7316 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002946/0.1884, allocations: 127.6 kB / 0.7318 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.954e-05/0.1884, allocations: 4 kB / 0.7318 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.863e-05/0.1885, allocations: 15.97 kB / 0.7318 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002478/0.1887, allocations: 123.9 kB / 0.7319 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.1887, allocations: 3.984 kB / 0.7319 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.432e-06/0.1887, allocations: 0 / 0.7319 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.1887, allocations: 0 / 0.7319 GB, free: 13.16 MB / 0.5606 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.0003968/0.1891, allocations: 274.2 kB / 0.7322 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/0.1892, allocations: 12.03 kB / 0.7322 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.378e-05/0.1892, allocations: 34.75 kB / 0.7322 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.071e-05/0.1893, allocations: 0.9375 kB / 0.7322 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000109/0.1894, allocations: 106.5 kB / 0.7323 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.73e-05/0.1894, allocations: 55.95 kB / 0.7324 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.127e-05/0.1894, allocations: 8.125 kB / 0.7324 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001462/0.1896, allocations: 71.33 kB / 0.7324 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.1896, allocations: 0 / 0.7324 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.706e-06/0.1896, allocations: 0 / 0.7324 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.608e-05/0.1896, allocations: 7.938 kB / 0.7324 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.369e-05/0.1897, allocations: 15.98 kB / 0.7325 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000525/0.1902, allocations: 264 kB / 0.7327 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 4.743e-05/0.1902, allocations: 18.56 kB / 0.7327 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.721e-05/0.1903, allocations: 12.92 kB / 0.7327 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001064/0.1904, allocations: 39.91 kB / 0.7328 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.086e-05/0.1904, allocations: 30.56 kB / 0.7328 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.1904, allocations: 0 / 0.7328 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001483/0.1905, allocations: 41.75 kB / 0.7328 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.77e-05/0.1906, allocations: 59.39 kB / 0.7329 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.825e-05/0.1907, allocations: 97.86 kB / 0.733 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.993e-05/0.1907, allocations: 25.7 kB / 0.733 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.11e-05/0.1908, allocations: 96.02 kB / 0.7331 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.312e-06/0.1908, allocations: 3.984 kB / 0.7331 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.307e-05/0.1908, allocations: 13.72 kB / 0.7331 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001425/0.1909, allocations: 322.8 kB / 0.7334 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.575e-05/0.191, allocations: 3.938 kB / 0.7334 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.646e-05/0.191, allocations: 17.7 kB / 0.7335 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.707e-05/0.191, allocations: 29.69 kB / 0.7335 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.191, allocations: 0 / 0.7335 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.589e-05/0.1911, allocations: 53.58 kB / 0.7335 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.1911, allocations: 8 kB / 0.7335 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.1912, allocations: 0 / 0.7335 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.1912, allocations: 0 / 0.7335 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.556e-05/0.1912, allocations: 4 kB / 0.7335 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.1912, allocations: 0 / 0.7335 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.981e-05/0.1912, allocations: 4 kB / 0.7335 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-06/0.1912, allocations: 4.062 kB / 0.7336 GB, free: 11.23 MB / 0.5606 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 8.695e-05/0.1913, allocations: 117.8 kB / 0.7337 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.559e-05/0.1914, allocations: 0 / 0.7337 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001212/0.1915, allocations: 124.9 kB / 0.7338 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.738e-05/0.1916, allocations: 180.2 kB / 0.734 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.909e-05/0.1916, allocations: 184.2 kB / 0.7341 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.371e-05/0.1917, allocations: 176.3 kB / 0.7343 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002493/0.192, allocations: 380.2 kB / 0.7347 GB, free: 10 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.874e-05/0.192, allocations: 104.9 kB / 0.7348 GB, free: 9.895 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.23e-05/0.192, allocations: 105 kB / 0.7349 GB, free: 9.785 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.623e-05/0.1921, allocations: 184.2 kB / 0.735 GB, free: 9.598 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-05/0.1922, allocations: 180.3 kB / 0.7352 GB, free: 9.414 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.793e-05/0.1923, allocations: 180.3 kB / 0.7354 GB, free: 9.23 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.364e-05/0.1924, allocations: 184.2 kB / 0.7356 GB, free: 9.043 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001755/0.1925, allocations: 311.7 kB / 0.7359 GB, free: 8.715 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.287e-05/0.1926, allocations: 108.9 kB / 0.736 GB, free: 8.602 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.56e-05/0.1927, allocations: 184.2 kB / 0.7361 GB, free: 8.414 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001563/0.1928, allocations: 105 kB / 0.7362 GB, free: 8.305 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.137e-05/0.1929, allocations: 176.3 kB / 0.7364 GB, free: 8.125 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.123e-05/0.193, allocations: 112.9 kB / 0.7365 GB, free: 8.008 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.761e-05/0.193, allocations: 91.27 kB / 0.7366 GB, free: 7.918 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.193, allocations: 0 / 0.7366 GB, free: 7.918 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002936/0.1933, allocations: 39.81 kB / 0.7366 GB, free: 7.879 MB / 0.5606 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.00062/0.1939, allocations: 0.8613 MB / 0.7375 GB, free: 6.988 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 7.981e-05/0.194, allocations: 11.94 kB / 0.7375 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.194, allocations: 0 / 0.7375 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.233e-06/0.194, allocations: 0 / 0.7375 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005324/0.1946, allocations: 467.7 kB / 0.7379 GB, free: 6.516 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001191/0.1957, allocations: 1.333 MB / 0.7392 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.738e-05/0.1958, allocations: 63.28 kB / 0.7393 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.116e-05/0.1958, allocations: 12.17 kB / 0.7393 GB, free: 5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.763e-05/0.1959, allocations: 11.42 kB / 0.7393 GB, free: 4.988 MB / 0.5606 GB Notification: Performance of SimCode: time 5.51e-07/0.1959, allocations: 0 / 0.7393 GB, free: 4.988 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04089/0.2368, allocations: 2.672 MB / 0.7419 GB, free: 2.504 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.5, allocations: 9.391 kB / 0.7419 GB, free: 2.504 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.fmu > IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.328698344994336] Failed to read output from testmodel.py, exit status != 0: 11.603956697974354 11.631311249 11.437520766 Calling exit ...