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.0014/0.0014, allocations: 111.3 kB / 17.12 MB, free: 5.926 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.001524/0.001524, allocations: 204 kB / 20.09 MB, free: 2.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.535/1.535, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.9899/0.9899, allocations: 150 MB / 459.5 MB, free: 5.336 MB / 350.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.002215/0.002215, allocations: 72.83 kB / 0.6362 GB, free: 30.31 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1779/0.1801, allocations: 89.13 MB / 0.7232 GB, free: 3.887 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.WaterProperties): time 0.007586/0.1877, allocations: 4.796 MB / 0.7279 GB, free: 15.05 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003462/0.1911, allocations: 2.73 MB / 0.7305 GB, free: 12.32 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001441/0.1913, allocations: 4 kB / 0.7306 GB, free: 12.31 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000283/0.1916, allocations: 47.67 kB / 0.7306 GB, free: 12.27 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003206/0.1919, allocations: 95.36 kB / 0.7307 GB, free: 12.17 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001347/0.1932, allocations: 0.5193 MB / 0.7312 GB, free: 11.66 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003492/0.1936, allocations: 235.9 kB / 0.7314 GB, free: 11.42 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.853e-05/0.1936, allocations: 9.547 kB / 0.7314 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002465/0.1939, allocations: 115.6 kB / 0.7315 GB, free: 11.3 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001816/0.194, allocations: 95.58 kB / 0.7316 GB, free: 11.21 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.544e-05/0.1941, allocations: 8 kB / 0.7316 GB, free: 11.2 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008355/0.1949, allocations: 391.3 kB / 0.732 GB, free: 10.82 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.75e-05/0.195, allocations: 35.89 kB / 0.732 GB, free: 10.78 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001046/0.1951, allocations: 83.64 kB / 0.7321 GB, free: 10.7 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0007914/0.1959, allocations: 363.1 kB / 0.7325 GB, free: 10.34 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.1959, allocations: 0 / 0.7325 GB, free: 10.34 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.613e-06/0.1959, allocations: 4 kB / 0.7325 GB, free: 10.34 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.105e-06/0.1959, allocations: 0 / 0.7325 GB, free: 10.34 MB / 0.545 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.001114/0.197, allocations: 0.516 MB / 0.733 GB, free: 9.773 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.436e-05/0.1971, allocations: 8.031 kB / 0.733 GB, free: 9.766 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.651e-05/0.1972, allocations: 54.73 kB / 0.733 GB, free: 9.703 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002281/0.1974, allocations: 24.84 kB / 0.7331 GB, free: 9.68 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000419/0.1978, allocations: 216.1 kB / 0.7333 GB, free: 9.43 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.047e-05/0.1978, allocations: 16.7 kB / 0.7333 GB, free: 9.414 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.21e-05/0.1979, allocations: 16.38 kB / 0.7333 GB, free: 9.398 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004765/0.1983, allocations: 244 kB / 0.7335 GB, free: 9.141 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.1984, allocations: 3.938 kB / 0.7335 GB, free: 9.137 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.324e-05/0.1984, allocations: 16 kB / 0.7336 GB, free: 9.121 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.326e-05/0.1984, allocations: 7.984 kB / 0.7336 GB, free: 9.113 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006823/0.1991, allocations: 427.5 kB / 0.734 GB, free: 8.695 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001526/0.2006, allocations: 0.9528 MB / 0.7349 GB, free: 7.652 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003405/0.201, allocations: 143.2 kB / 0.735 GB, free: 7.508 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001249/0.2011, allocations: 64.77 kB / 0.7351 GB, free: 7.441 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00184/0.2029, allocations: 1.825 MB / 0.7369 GB, free: 5.258 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.766e-05/0.203, allocations: 42.55 kB / 0.7369 GB, free: 5.207 MB / 0.545 GB Notification: Performance of pre-optimization done (n=15): time 1.503e-06/0.203, allocations: 0 / 0.7369 GB, free: 5.207 MB / 0.545 GB Notification: Performance of matching and sorting (n=15): time 0.0004689/0.2034, allocations: 146.4 kB / 0.7371 GB, free: 5.059 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.413e-05/0.2035, allocations: 59.34 kB / 0.7371 GB, free: 4.988 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001885/0.2037, allocations: 168.7 kB / 0.7373 GB, free: 4.812 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.369e-05/0.2037, allocations: 33.7 kB / 0.7373 GB, free: 4.773 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001205/0.2038, allocations: 140.1 kB / 0.7374 GB, free: 4.633 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.357e-05/0.2039, allocations: 59.53 kB / 0.7375 GB, free: 4.574 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.06e-05/0.204, allocations: 49.66 kB / 0.7375 GB, free: 4.52 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001872/0.2042, allocations: 330.8 kB / 0.7379 GB, free: 4.188 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.922e-05/0.2042, allocations: 39.91 kB / 0.7379 GB, free: 4.148 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001809/0.2044, allocations: 142.2 kB / 0.738 GB, free: 3.961 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002814/0.2047, allocations: 203.4 kB / 0.7382 GB, free: 3.715 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.2047, allocations: 0 / 0.7382 GB, free: 3.715 MB / 0.545 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003782/0.2051, allocations: 221.5 kB / 0.7384 GB, free: 3.492 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/0.2051, allocations: 8 kB / 0.7384 GB, free: 3.484 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.282e-05/0.2051, allocations: 4 kB / 0.7385 GB, free: 3.48 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.164e-05/0.2051, allocations: 7.938 kB / 0.7385 GB, free: 3.473 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001844/0.2053, allocations: 51.92 kB / 0.7385 GB, free: 3.422 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.399e-05/0.2053, allocations: 11.92 kB / 0.7385 GB, free: 3.41 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001217/0.2055, allocations: 27.78 kB / 0.7385 GB, free: 3.383 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.169e-05/0.2055, allocations: 12 kB / 0.7386 GB, free: 3.371 MB / 0.545 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.0001448/0.2056, allocations: 137.9 kB / 0.7387 GB, free: 3.227 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.847e-05/0.2057, allocations: 19.91 kB / 0.7387 GB, free: 3.207 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003236/0.206, allocations: 144.8 kB / 0.7388 GB, free: 3.062 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.47e-05/0.206, allocations: 11.92 kB / 0.7389 GB, free: 3.051 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.206, allocations: 0 / 0.7389 GB, free: 3.051 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.206, allocations: 0 / 0.7389 GB, free: 3.051 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002843/0.2063, allocations: 213.6 kB / 0.7391 GB, free: 2.793 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.2063, allocations: 3.984 kB / 0.7391 GB, free: 2.789 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.299e-05/0.2064, allocations: 23.94 kB / 0.7391 GB, free: 2.766 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.2064, allocations: 0 / 0.7391 GB, free: 2.766 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.506e-05/0.2064, allocations: 8 kB / 0.7391 GB, free: 2.758 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.427e-06/0.2064, allocations: 15.92 kB / 0.7391 GB, free: 2.742 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2064, allocations: 0 / 0.7391 GB, free: 2.742 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002884/0.2067, allocations: 215.4 kB / 0.7393 GB, free: 2.516 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001037/0.2068, allocations: 108.9 kB / 0.7394 GB, free: 2.391 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.54e-05/0.2069, allocations: 7.938 kB / 0.7394 GB, free: 2.383 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002126/0.2071, allocations: 19.92 kB / 0.7394 GB, free: 2.363 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.882e-05/0.2071, allocations: 11.98 kB / 0.7395 GB, free: 2.352 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-05/0.2071, allocations: 15.98 kB / 0.7395 GB, free: 2.336 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001067/0.2072, allocations: 117.8 kB / 0.7396 GB, free: 2.223 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.2072, allocations: 0 / 0.7396 GB, free: 2.223 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004407/0.2077, allocations: 79.81 kB / 0.7397 GB, free: 2.145 MB / 0.545 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.0009183/0.2086, allocations: 0.8392 MB / 0.7405 GB, free: 1.281 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002836/0.2089, allocations: 108.7 kB / 0.7406 GB, free: 1.176 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.2089, allocations: 0 / 0.7406 GB, free: 1.176 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 7.144e-05/0.209, allocations: 43.98 kB / 0.7406 GB, free: 1.133 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000458/0.2094, allocations: 58.97 kB / 0.7407 GB, free: 1.082 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00268/0.2121, allocations: 2.05 MB / 0.7427 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004012/0.2125, allocations: 0.7129 MB / 0.7434 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001775/0.2127, allocations: 49.83 kB / 0.7434 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.792e-05/0.2128, allocations: 43.42 kB / 0.7435 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of SimCode: time 3.81e-07/0.2128, allocations: 0 / 0.7435 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03357/0.2463, allocations: 5.319 MB / 0.7487 GB, free: 8.82 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.389/8.635, allocations: 7.922 kB / 0.7487 GB, free: 8.812 MB / 0.5606 GB " [Timeout remaining time 651] (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Media.Examples.WaterProperties_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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: 12.787765417946503] Failed to read output from testmodel.py, exit status != 0: 8.70783231407404 8.733077405 8.53230631 Calling exit ...