Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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.001385/0.001385, 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.001547/0.001547, allocations: 213 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.501/1.501, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.9698/0.9698, 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.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",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.00213/0.00213, allocations: 61.56 kB / 0.641 GB, free: 10.13 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.181/0.1832, allocations: 89.18 MB / 0.7281 GB, free: 1.027 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.006044/0.1892, allocations: 3.633 MB / 0.7317 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0002139/0.1894, allocations: 131.6 kB / 0.7318 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.576e-05/0.1895, allocations: 4 kB / 0.7318 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 9.685e-05/0.1896, allocations: 3.938 kB / 0.7318 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.214e-05/0.1896, allocations: 11.92 kB / 0.7318 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003628/0.19, allocations: 93.53 kB / 0.7319 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.913e-05/0.1901, allocations: 39.78 kB / 0.732 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.296e-05/0.1901, allocations: 0 / 0.732 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.552e-05/0.1901, allocations: 15.94 kB / 0.732 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.942e-05/0.1902, allocations: 15.97 kB / 0.732 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.654e-05/0.1902, allocations: 4 kB / 0.732 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006028/0.1908, allocations: 207.3 kB / 0.7322 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.534e-05/0.1909, allocations: 11.92 kB / 0.7322 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.314e-05/0.1909, allocations: 8 kB / 0.7322 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001571/0.1911, allocations: 68.08 kB / 0.7323 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.1911, allocations: 3.938 kB / 0.7323 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.533e-06/0.1911, allocations: 0 / 0.7323 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.618e-06/0.1911, allocations: 0 / 0.7323 GB, free: 12.77 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.0003922/0.1915, allocations: 262.3 kB / 0.7325 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.1915, allocations: 12.03 kB / 0.7325 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.272e-05/0.1916, allocations: 30.75 kB / 0.7326 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.977e-05/0.1916, allocations: 0.9375 kB / 0.7326 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001098/0.1917, allocations: 110.5 kB / 0.7327 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.02e-05/0.1918, allocations: 51.97 kB / 0.7327 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.029e-05/0.1918, allocations: 8.125 kB / 0.7327 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00016/0.1919, allocations: 71.39 kB / 0.7328 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.1919, allocations: 3.938 kB / 0.7328 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.192, allocations: 0 / 0.7328 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.372e-05/0.192, allocations: 3.984 kB / 0.7328 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.986e-05/0.192, allocations: 8 kB / 0.7328 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005359/0.1926, allocations: 236 kB / 0.733 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 4.8e-05/0.1926, allocations: 14.58 kB / 0.733 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.963e-05/0.1926, allocations: 4.859 kB / 0.7331 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.013e-05/0.1927, allocations: 12.06 kB / 0.7331 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.159e-05/0.1927, allocations: 34.5 kB / 0.7331 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 1.243e-06/0.1927, allocations: 0 / 0.7331 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001792/0.1929, allocations: 45.64 kB / 0.7331 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.769e-05/0.193, allocations: 51.41 kB / 0.7332 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001242/0.1931, allocations: 105.8 kB / 0.7333 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.162e-05/0.1931, allocations: 25.7 kB / 0.7333 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.619e-05/0.1932, allocations: 88.09 kB / 0.7334 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.242e-06/0.1932, allocations: 0 / 0.7334 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.414e-05/0.1932, allocations: 13.72 kB / 0.7334 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001709/0.1934, allocations: 330.9 kB / 0.7337 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.711e-05/0.1934, allocations: 3.984 kB / 0.7337 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.083e-05/0.1934, allocations: 17.66 kB / 0.7338 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.154e-05/0.1935, allocations: 21.72 kB / 0.7338 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.1935, allocations: 4 kB / 0.7338 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.697e-05/0.1936, allocations: 53.58 kB / 0.7338 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.851e-05/0.1936, allocations: 15.88 kB / 0.7338 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.1936, allocations: 0 / 0.7338 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.1936, allocations: 4.062 kB / 0.7338 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.542e-05/0.1937, allocations: 7.984 kB / 0.7339 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.1937, allocations: 0 / 0.7339 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.865e-05/0.1937, allocations: 4 kB / 0.7339 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.327e-06/0.1937, allocations: 0 / 0.7339 GB, free: 10.92 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 9.878e-05/0.1938, allocations: 113.8 kB / 0.734 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.419e-05/0.1938, allocations: 0 / 0.734 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001505/0.194, allocations: 124.9 kB / 0.7341 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.872e-05/0.1941, allocations: 176.3 kB / 0.7343 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001061/0.1942, allocations: 184.2 kB / 0.7344 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001019/0.1943, allocations: 180.3 kB / 0.7346 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003005/0.1946, allocations: 380.2 kB / 0.735 GB, free: 9.699 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.414e-05/0.1946, allocations: 104.9 kB / 0.7351 GB, free: 9.59 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.477e-05/0.1947, allocations: 105 kB / 0.7352 GB, free: 9.48 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.005e-05/0.1948, allocations: 180.2 kB / 0.7353 GB, free: 9.297 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001041/0.1949, allocations: 184.2 kB / 0.7355 GB, free: 9.109 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001002/0.195, allocations: 180.3 kB / 0.7357 GB, free: 8.926 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001019/0.1951, allocations: 180.2 kB / 0.7359 GB, free: 8.742 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002121/0.1953, allocations: 307.7 kB / 0.7361 GB, free: 8.418 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.067e-05/0.1954, allocations: 116.9 kB / 0.7363 GB, free: 8.297 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001437/0.1955, allocations: 188.2 kB / 0.7364 GB, free: 8.105 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002008/0.1957, allocations: 108.9 kB / 0.7365 GB, free: 7.992 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/0.1958, allocations: 184.2 kB / 0.7367 GB, free: 7.805 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.607e-05/0.1959, allocations: 104.9 kB / 0.7368 GB, free: 7.695 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.466e-05/0.196, allocations: 83.28 kB / 0.7369 GB, free: 7.613 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.196, allocations: 0 / 0.7369 GB, free: 7.613 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002989/0.1963, allocations: 15.94 kB / 0.7369 GB, free: 7.598 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.0007576/0.197, allocations: 0.8243 MB / 0.7377 GB, free: 6.746 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001068/0.1971, allocations: 11.94 kB / 0.7377 GB, free: 6.734 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/0.1971, allocations: 8.125 kB / 0.7377 GB, free: 6.727 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.943e-06/0.1971, allocations: 0 / 0.7377 GB, free: 6.727 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006983/0.1978, allocations: 465.9 kB / 0.7382 GB, free: 6.27 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00152/0.1994, allocations: 1.313 MB / 0.7395 GB, free: 4.867 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.919e-05/0.1994, allocations: 67.28 kB / 0.7395 GB, free: 4.781 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 5.149e-05/0.1995, allocations: 4 kB / 0.7395 GB, free: 4.777 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.198e-05/0.1995, allocations: 15.44 kB / 0.7395 GB, free: 4.762 MB / 0.5606 GB Notification: Performance of SimCode: time 8.92e-07/0.1995, allocations: 3.938 kB / 0.7395 GB, free: 4.758 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02913/0.2287, allocations: 2.027 MB / 0.7415 GB, free: 2.898 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.44, allocations: 16.7 kB / 0.7415 GB, free: 2.891 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.265569617971778] Failed to read output from testmodel.py, exit status != 0: 11.547863896004856 11.578415708 11.382386556 Calling exit ...