Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.WaterProperties.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.001822/0.001822, allocations: 114.8 kB / 19.69 MB, free: 2.047 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.002226/0.002226, allocations: 223.4 kB / 23.01 MB, free: 4.926 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.513/1.513, allocations: 230.6 MB / 256.8 MB, free: 7.977 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.9665/0.9665, allocations: 150 MB / 463.2 MB, free: 10.48 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.WaterProperties,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.WaterProperties,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_WaterProperties",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.002063/0.002063, allocations: 75.67 kB / 0.6413 GB, free: 10.34 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1833/0.1854, allocations: 89.17 MB / 0.7284 GB, free: 1.23 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.WaterProperties): time 0.008362/0.1938, allocations: 4.835 MB / 0.7331 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003784/0.1975, allocations: 2.733 MB / 0.7358 GB, free: 9.621 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001813/0.1977, allocations: 8 kB / 0.7358 GB, free: 9.613 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0003752/0.1981, allocations: 43.69 kB / 0.7358 GB, free: 9.57 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0004202/0.1985, allocations: 99.41 kB / 0.7359 GB, free: 9.473 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001588/0.2001, allocations: 0.5161 MB / 0.7364 GB, free: 8.957 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003637/0.2005, allocations: 235.9 kB / 0.7367 GB, free: 8.727 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.613e-05/0.2005, allocations: 9.75 kB / 0.7367 GB, free: 8.715 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002205/0.2007, allocations: 119.5 kB / 0.7368 GB, free: 8.598 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001758/0.2009, allocations: 95.59 kB / 0.7369 GB, free: 8.504 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.429e-05/0.2009, allocations: 8 kB / 0.7369 GB, free: 8.496 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008147/0.2018, allocations: 395.3 kB / 0.7373 GB, free: 8.109 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.465e-05/0.2019, allocations: 35.83 kB / 0.7373 GB, free: 8.074 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 9.483e-05/0.202, allocations: 79.66 kB / 0.7374 GB, free: 7.996 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006479/0.2026, allocations: 371.1 kB / 0.7377 GB, free: 7.633 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.2026, allocations: 4 kB / 0.7377 GB, free: 7.629 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.543e-06/0.2026, allocations: 4 kB / 0.7377 GB, free: 7.625 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.2026, allocations: 0 / 0.7377 GB, free: 7.625 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007938/0.2034, allocations: 445.4 kB / 0.7381 GB, free: 7.156 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.2034, allocations: 12.03 kB / 0.7382 GB, free: 7.145 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.075e-05/0.2035, allocations: 46.73 kB / 0.7382 GB, free: 7.09 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00016/0.2037, allocations: 28.77 kB / 0.7382 GB, free: 7.062 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003118/0.204, allocations: 158.3 kB / 0.7384 GB, free: 6.883 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.153e-05/0.204, allocations: 16.7 kB / 0.7384 GB, free: 6.867 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.311e-05/0.204, allocations: 12.38 kB / 0.7384 GB, free: 6.855 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004349/0.2045, allocations: 252.1 kB / 0.7386 GB, free: 6.59 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.2045, allocations: 3.984 kB / 0.7387 GB, free: 6.586 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.287e-05/0.2045, allocations: 8 kB / 0.7387 GB, free: 6.578 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.713e-05/0.2045, allocations: 11.92 kB / 0.7387 GB, free: 6.566 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005521/0.2051, allocations: 447.5 kB / 0.7391 GB, free: 6.129 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001286/0.2064, allocations: 0.9168 MB / 0.74 GB, free: 5.129 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002888/0.2067, allocations: 147 kB / 0.7401 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001042/0.2068, allocations: 56.88 kB / 0.7402 GB, free: 4.918 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007894/0.2075, allocations: 467.7 kB / 0.7406 GB, free: 4.441 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.208e-05/0.2076, allocations: 42.56 kB / 0.7407 GB, free: 4.391 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=15): time 1.694e-06/0.2076, allocations: 0 / 0.7407 GB, free: 4.391 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15): time 0.0003745/0.208, allocations: 147.8 kB / 0.7408 GB, free: 4.242 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.043e-05/0.208, allocations: 55.41 kB / 0.7409 GB, free: 4.176 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001805/0.2082, allocations: 176.1 kB / 0.741 GB, free: 3.992 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.196e-05/0.2082, allocations: 33.7 kB / 0.7411 GB, free: 3.953 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001196/0.2083, allocations: 132.2 kB / 0.7412 GB, free: 3.82 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.993e-05/0.2084, allocations: 59.52 kB / 0.7413 GB, free: 3.762 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.709e-05/0.2085, allocations: 57.59 kB / 0.7413 GB, free: 3.699 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001691/0.2086, allocations: 330.8 kB / 0.7416 GB, free: 3.367 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.066e-05/0.2087, allocations: 35.98 kB / 0.7417 GB, free: 3.332 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001702/0.2089, allocations: 141.7 kB / 0.7418 GB, free: 3.145 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002577/0.2091, allocations: 205.4 kB / 0.742 GB, free: 2.895 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.2091, allocations: 0 / 0.742 GB, free: 2.895 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003441/0.2095, allocations: 211.8 kB / 0.7422 GB, free: 2.684 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.2095, allocations: 4.469 kB / 0.7422 GB, free: 2.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.2095, allocations: 8 kB / 0.7422 GB, free: 2.672 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.303e-05/0.2095, allocations: 11.94 kB / 0.7422 GB, free: 2.66 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001858/0.2097, allocations: 55.91 kB / 0.7423 GB, free: 2.605 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/0.2097, allocations: 4 kB / 0.7423 GB, free: 2.602 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001092/0.2098, allocations: 31.72 kB / 0.7423 GB, free: 2.57 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.02e-05/0.2099, allocations: 12 kB / 0.7423 GB, free: 2.559 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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 0.0001248/0.21, allocations: 137.7 kB / 0.7424 GB, free: 2.414 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5e-05/0.21, allocations: 15.91 kB / 0.7425 GB, free: 2.398 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000324/0.2104, allocations: 159 kB / 0.7426 GB, free: 2.234 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.084e-05/0.2104, allocations: 3.938 kB / 0.7426 GB, free: 2.23 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.2104, allocations: 0 / 0.7426 GB, free: 2.23 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.2104, allocations: 0 / 0.7426 GB, free: 2.23 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002554/0.2106, allocations: 192.6 kB / 0.7428 GB, free: 2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.2106, allocations: 0 / 0.7428 GB, free: 2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.97e-05/0.2107, allocations: 23.92 kB / 0.7428 GB, free: 1.977 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.2107, allocations: 7.938 kB / 0.7428 GB, free: 1.969 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.2107, allocations: 4 kB / 0.7428 GB, free: 1.965 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.2107, allocations: 3.938 kB / 0.7428 GB, free: 1.961 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.2107, allocations: 0 / 0.7428 GB, free: 1.961 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002623/0.211, allocations: 223.4 kB / 0.743 GB, free: 1.727 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.389e-05/0.2111, allocations: 35.86 kB / 0.7431 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.568e-05/0.2111, allocations: 4 kB / 0.7431 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001958/0.2113, allocations: 19.91 kB / 0.7431 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.044e-05/0.2113, allocations: 7.984 kB / 0.7431 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.262e-05/0.2113, allocations: 15.98 kB / 0.7431 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001053/0.2114, allocations: 127.9 kB / 0.7432 GB, free: 1.52 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2114, allocations: 0 / 0.7432 GB, free: 1.52 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004029/0.2118, allocations: 79.81 kB / 0.7433 GB, free: 1.441 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0008357/0.2127, allocations: 0.8342 MB / 0.7441 GB, free: 0.5859 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002418/0.2129, allocations: 115.8 kB / 0.7443 GB, free: 484 kB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.2129, allocations: 0 / 0.7443 GB, free: 484 kB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 6.702e-05/0.213, allocations: 40.86 kB / 0.7443 GB, free: 444 kB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004481/0.2134, allocations: 63.86 kB / 0.7444 GB, free: 380 kB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002419/0.2159, allocations: 2.047 MB / 0.7463 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003652/0.2162, allocations: 0.7167 MB / 0.747 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001574/0.2164, allocations: 49.84 kB / 0.7471 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.922e-05/0.2165, allocations: 47.42 kB / 0.7471 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of SimCode: time 6.02e-07/0.2165, allocations: 0 / 0.7471 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03727/0.2538, allocations: 5.556 MB / 0.7526 GB, free: 7.93 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/11.72, allocations: 11.25 kB / 0.7526 GB, free: 7.926 MB / 0.5762 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Media.Examples.WaterProperties.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.WaterProperties.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.WaterProperties.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.WaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Examples_WaterProperties_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Media_Examples_WaterProperties.fmu > IBPSA_latest_IBPSA.Media.Examples.WaterProperties.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.870475634932518] Failed to read output from testmodel.py, exit status != 0: 11.834198168944567 12.178019235 11.972836356 Calling exit ...