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.001354/0.001354, allocations: 119 kB / 19.69 MB, free: 2.199 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.001628/0.001628, allocations: 222.9 kB / 23.01 MB, free: 5.047 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.587/1.587, allocations: 230.6 MB / 256.8 MB, free: 7.98 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 1.063/1.063, allocations: 150 MB / 463.2 MB, free: 10.46 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.002901/0.002901, allocations: 70.05 kB / 0.6413 GB, free: 10.32 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2422/0.2451, allocations: 89.16 MB / 0.7284 GB, free: 1.215 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.WaterProperties): time 0.01066/0.2558, allocations: 4.843 MB / 0.7331 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005022/0.2608, allocations: 2.741 MB / 0.7358 GB, free: 9.594 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002294/0.261, allocations: 0 / 0.7358 GB, free: 9.594 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004242/0.2614, allocations: 51.67 kB / 0.7358 GB, free: 9.543 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0004905/0.2619, allocations: 95.36 kB / 0.7359 GB, free: 9.449 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002335/0.2643, allocations: 0.5232 MB / 0.7364 GB, free: 8.93 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0005394/0.2648, allocations: 235.9 kB / 0.7367 GB, free: 8.699 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 7.972e-05/0.2649, allocations: 5.75 kB / 0.7367 GB, free: 8.691 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003417/0.2652, allocations: 119.7 kB / 0.7368 GB, free: 8.574 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002296/0.2654, allocations: 91.59 kB / 0.7369 GB, free: 8.484 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.191e-05/0.2655, allocations: 8 kB / 0.7369 GB, free: 8.477 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001255/0.2667, allocations: 395.3 kB / 0.7373 GB, free: 8.09 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001069/0.2668, allocations: 47.83 kB / 0.7373 GB, free: 8.043 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001514/0.267, allocations: 79.64 kB / 0.7374 GB, free: 7.965 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001224/0.2682, allocations: 371 kB / 0.7377 GB, free: 7.602 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 8.716e-06/0.2682, allocations: 4 kB / 0.7377 GB, free: 7.598 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.635e-06/0.2682, allocations: 0 / 0.7377 GB, free: 7.598 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.816e-06/0.2682, allocations: 0 / 0.7377 GB, free: 7.598 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.001184/0.2694, allocations: 449.4 kB / 0.7382 GB, free: 7.125 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.294e-05/0.2695, allocations: 8.031 kB / 0.7382 GB, free: 7.117 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.897e-05/0.2696, allocations: 50.73 kB / 0.7382 GB, free: 7.059 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002439/0.2698, allocations: 24.84 kB / 0.7382 GB, free: 7.035 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004029/0.2702, allocations: 158.2 kB / 0.7384 GB, free: 6.855 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.45e-05/0.2702, allocations: 12.7 kB / 0.7384 GB, free: 6.844 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.908e-05/0.2703, allocations: 12.38 kB / 0.7384 GB, free: 6.832 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005568/0.2708, allocations: 256 kB / 0.7387 GB, free: 6.562 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.2708, allocations: 0 / 0.7387 GB, free: 6.562 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.389e-05/0.2709, allocations: 15.98 kB / 0.7387 GB, free: 6.547 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.469e-05/0.2709, allocations: 7.984 kB / 0.7387 GB, free: 6.539 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008202/0.2717, allocations: 439.5 kB / 0.7391 GB, free: 6.109 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001785/0.2735, allocations: 0.9285 MB / 0.74 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004236/0.2739, allocations: 148.9 kB / 0.7401 GB, free: 4.945 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001429/0.2741, allocations: 48.89 kB / 0.7402 GB, free: 4.895 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001162/0.2752, allocations: 467.8 kB / 0.7406 GB, free: 4.418 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.898e-05/0.2753, allocations: 38.56 kB / 0.7407 GB, free: 4.371 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=15): time 2.635e-06/0.2753, allocations: 0 / 0.7407 GB, free: 4.371 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15): time 0.0005116/0.2758, allocations: 156 kB / 0.7408 GB, free: 4.215 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.797e-05/0.2759, allocations: 55.39 kB / 0.7409 GB, free: 4.148 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002465/0.2761, allocations: 172.1 kB / 0.741 GB, free: 3.969 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.211e-05/0.2762, allocations: 33.7 kB / 0.7411 GB, free: 3.93 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002046/0.2764, allocations: 140.2 kB / 0.7412 GB, free: 3.789 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.648e-05/0.2764, allocations: 59.47 kB / 0.7413 GB, free: 3.73 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.88e-05/0.2765, allocations: 49.66 kB / 0.7413 GB, free: 3.676 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002945/0.2768, allocations: 326.8 kB / 0.7416 GB, free: 3.348 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000108/0.2769, allocations: 39.97 kB / 0.7417 GB, free: 3.309 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002269/0.2772, allocations: 137.7 kB / 0.7418 GB, free: 3.125 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003618/0.2775, allocations: 201.4 kB / 0.742 GB, free: 2.879 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/0.2775, allocations: 0 / 0.742 GB, free: 2.879 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005639/0.2781, allocations: 213.5 kB / 0.7422 GB, free: 2.664 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.827e-05/0.2781, allocations: 8 kB / 0.7422 GB, free: 2.656 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.354e-05/0.2781, allocations: 7.938 kB / 0.7422 GB, free: 2.648 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.97e-05/0.2782, allocations: 7.938 kB / 0.7422 GB, free: 2.641 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002793/0.2784, allocations: 51.92 kB / 0.7423 GB, free: 2.59 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.381e-05/0.2784, allocations: 7.938 kB / 0.7423 GB, free: 2.582 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002017/0.2786, allocations: 35.77 kB / 0.7423 GB, free: 2.547 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.22e-05/0.2787, allocations: 15.98 kB / 0.7423 GB, free: 2.531 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.0001971/0.2789, allocations: 133.9 kB / 0.7424 GB, free: 2.391 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.101e-05/0.279, allocations: 19.91 kB / 0.7425 GB, free: 2.371 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004627/0.2794, allocations: 153.9 kB / 0.7426 GB, free: 2.215 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.077e-05/0.2795, allocations: 7.938 kB / 0.7426 GB, free: 2.207 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.888e-06/0.2795, allocations: 7.984 kB / 0.7426 GB, free: 2.199 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.2795, allocations: 0 / 0.7426 GB, free: 2.199 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003987/0.2799, allocations: 184.6 kB / 0.7428 GB, free: 1.977 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.2799, allocations: 0 / 0.7428 GB, free: 1.977 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001402/0.28, allocations: 27.98 kB / 0.7428 GB, free: 1.949 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.28, allocations: 0 / 0.7428 GB, free: 1.949 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.54e-05/0.28, allocations: 8 kB / 0.7428 GB, free: 1.941 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.305e-05/0.28, allocations: 3.938 kB / 0.7428 GB, free: 1.938 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.28, allocations: 0 / 0.7428 GB, free: 1.938 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00043/0.2805, allocations: 223.3 kB / 0.7431 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001278/0.2806, allocations: 35.88 kB / 0.7431 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.303e-05/0.2806, allocations: 0 / 0.7431 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002972/0.2809, allocations: 23.91 kB / 0.7431 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.238e-05/0.281, allocations: 15.92 kB / 0.7431 GB, free: 1.629 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.716e-05/0.281, allocations: 15.98 kB / 0.7431 GB, free: 1.613 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001548/0.2812, allocations: 116 kB / 0.7433 GB, free: 1.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.2812, allocations: 0 / 0.7433 GB, free: 1.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000678/0.2818, allocations: 83.8 kB / 0.7433 GB, free: 1.418 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.001147/0.283, allocations: 0.8398 MB / 0.7442 GB, free: 0.5547 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004049/0.2834, allocations: 112.5 kB / 0.7443 GB, free: 456 kB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/0.2834, allocations: 192 / 0.7443 GB, free: 456 kB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001026/0.2835, allocations: 47.92 kB / 0.7443 GB, free: 408 kB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007123/0.2842, allocations: 51.88 kB / 0.7444 GB, free: 356 kB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003882/0.2881, allocations: 2.044 MB / 0.7464 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004924/0.2886, allocations: 0.7167 MB / 0.7471 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002759/0.2889, allocations: 49.84 kB / 0.7471 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001201/0.289, allocations: 43.42 kB / 0.7471 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of SimCode: time 1.803e-06/0.289, allocations: 0 / 0.7471 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04797/0.337, allocations: 5.564 MB / 0.7526 GB, free: 7.906 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.81/12.14, allocations: 5.266 kB / 0.7526 GB, free: 7.902 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 & 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: 16.768446775000484] Failed to read output from testmodel.py, exit status != 0: 12.258005638999748 12.660710299 12.389550029 Calling exit ...