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.00175/0.00175, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.002504/0.002504, allocations: 207.9 kB / 22.98 MB, free: 4.609 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.758 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.9999/0.9999, allocations: 149.9 MB / 463.1 MB, free: 10.35 MB / 366.1 MB " [Timeout remaining time 178] 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.002438/0.002438, allocations: 74 kB / 0.6411 GB, free: 10.09 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2136/0.216, allocations: 89.17 MB / 0.7282 GB, free: 0.9961 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.WaterProperties): time 0.008037/0.2241, allocations: 4.505 MB / 0.7326 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003581/0.2276, allocations: 2.461 MB / 0.735 GB, free: 9.996 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001831/0.2278, allocations: 4 kB / 0.735 GB, free: 9.992 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002981/0.2281, allocations: 43.69 kB / 0.735 GB, free: 9.949 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0004332/0.2286, allocations: 103.3 kB / 0.7351 GB, free: 9.848 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001964/0.2305, allocations: 0.5106 MB / 0.7356 GB, free: 9.34 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0004676/0.231, allocations: 231.9 kB / 0.7359 GB, free: 9.113 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 6.727e-05/0.2311, allocations: 17.67 kB / 0.7359 GB, free: 9.094 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003369/0.2314, allocations: 115.7 kB / 0.736 GB, free: 8.98 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002133/0.2316, allocations: 95.58 kB / 0.7361 GB, free: 8.887 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.403e-05/0.2316, allocations: 8 kB / 0.7361 GB, free: 8.879 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009339/0.2326, allocations: 315.4 kB / 0.7364 GB, free: 8.57 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.821e-05/0.2327, allocations: 39.83 kB / 0.7364 GB, free: 8.531 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001143/0.2328, allocations: 75.72 kB / 0.7365 GB, free: 8.457 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0009566/0.2337, allocations: 351.1 kB / 0.7368 GB, free: 8.113 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.2338, allocations: 3.984 kB / 0.7368 GB, free: 8.109 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.833e-06/0.2338, allocations: 4 kB / 0.7368 GB, free: 8.105 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.067e-05/0.2338, allocations: 0 / 0.7368 GB, free: 8.105 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.0008749/0.2346, allocations: 437.5 kB / 0.7372 GB, free: 7.645 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/0.2347, allocations: 12.03 kB / 0.7373 GB, free: 7.633 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.6e-05/0.2348, allocations: 58.66 kB / 0.7373 GB, free: 7.566 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001868/0.235, allocations: 24.83 kB / 0.7373 GB, free: 7.543 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000354/0.2353, allocations: 154.3 kB / 0.7375 GB, free: 7.367 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.504e-05/0.2353, allocations: 16.7 kB / 0.7375 GB, free: 7.352 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.566e-05/0.2354, allocations: 16.36 kB / 0.7375 GB, free: 7.336 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005916/0.2359, allocations: 487.4 kB / 0.738 GB, free: 6.785 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.236, allocations: 3.938 kB / 0.738 GB, free: 6.781 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.57e-05/0.236, allocations: 12 kB / 0.738 GB, free: 6.77 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.855e-05/0.236, allocations: 4 kB / 0.738 GB, free: 6.766 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005668/0.2366, allocations: 423.5 kB / 0.7384 GB, free: 6.352 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00131/0.2379, allocations: 0.8047 MB / 0.7392 GB, free: 5.488 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003507/0.2382, allocations: 147.5 kB / 0.7393 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001084/0.2383, allocations: 56.81 kB / 0.7394 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008108/0.2392, allocations: 451.8 kB / 0.7398 GB, free: 4.816 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.428e-05/0.2392, allocations: 38.56 kB / 0.7399 GB, free: 4.77 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=15): time 1.934e-06/0.2392, allocations: 0 / 0.7399 GB, free: 4.77 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15): time 0.0003645/0.2396, allocations: 154.4 kB / 0.74 GB, free: 4.613 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.898e-05/0.2396, allocations: 55.34 kB / 0.7401 GB, free: 4.547 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001885/0.2398, allocations: 176.1 kB / 0.7402 GB, free: 4.363 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.442e-05/0.2398, allocations: 33.7 kB / 0.7403 GB, free: 4.324 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001131/0.24, allocations: 140 kB / 0.7404 GB, free: 4.18 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.894e-05/0.24, allocations: 59.47 kB / 0.7404 GB, free: 4.121 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.994e-05/0.2401, allocations: 53.66 kB / 0.7405 GB, free: 4.062 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001581/0.2403, allocations: 330.8 kB / 0.7408 GB, free: 3.73 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.509e-05/0.2403, allocations: 35.97 kB / 0.7408 GB, free: 3.695 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001676/0.2405, allocations: 137.7 kB / 0.741 GB, free: 3.512 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002759/0.2408, allocations: 196.3 kB / 0.7412 GB, free: 3.273 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.512e-06/0.2408, allocations: 4 kB / 0.7412 GB, free: 3.27 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003733/0.2412, allocations: 217.2 kB / 0.7414 GB, free: 3.051 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.2412, allocations: 10.19 kB / 0.7414 GB, free: 3.043 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.2412, allocations: 4 kB / 0.7414 GB, free: 3.039 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.175e-05/0.2412, allocations: 7.938 kB / 0.7414 GB, free: 3.031 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001931/0.2414, allocations: 59.91 kB / 0.7415 GB, free: 2.973 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.718e-05/0.2414, allocations: 11.94 kB / 0.7415 GB, free: 2.961 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001349/0.2415, allocations: 32.2 kB / 0.7415 GB, free: 2.93 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.844e-05/0.2416, allocations: 20 kB / 0.7415 GB, free: 2.91 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.0001332/0.2417, allocations: 125.8 kB / 0.7416 GB, free: 2.777 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.533e-05/0.2418, allocations: 19.91 kB / 0.7417 GB, free: 2.758 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003161/0.2421, allocations: 155 kB / 0.7418 GB, free: 2.598 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.107e-05/0.2421, allocations: 3.938 kB / 0.7418 GB, free: 2.594 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.2421, allocations: 0 / 0.7418 GB, free: 2.594 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.758e-06/0.2421, allocations: 0 / 0.7418 GB, free: 2.594 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002715/0.2424, allocations: 188.5 kB / 0.742 GB, free: 2.367 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.2424, allocations: 4 kB / 0.742 GB, free: 2.363 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001117/0.2425, allocations: 27.92 kB / 0.742 GB, free: 2.336 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.763e-06/0.2425, allocations: 8 kB / 0.742 GB, free: 2.328 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.2425, allocations: 4 kB / 0.742 GB, free: 2.324 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.898e-06/0.2425, allocations: 3.938 kB / 0.742 GB, free: 2.32 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2425, allocations: 0 / 0.742 GB, free: 2.32 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002974/0.2428, allocations: 226.2 kB / 0.7422 GB, free: 2.086 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.219e-05/0.2429, allocations: 31.84 kB / 0.7423 GB, free: 2.055 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.737e-05/0.2429, allocations: 7.938 kB / 0.7423 GB, free: 2.047 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001962/0.2431, allocations: 19.92 kB / 0.7423 GB, free: 2.027 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.5e-05/0.2431, allocations: 11.92 kB / 0.7423 GB, free: 2.016 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.285e-05/0.2432, allocations: 8 kB / 0.7423 GB, free: 2.008 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000109/0.2433, allocations: 127.9 kB / 0.7424 GB, free: 1.883 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.2433, allocations: 0 / 0.7424 GB, free: 1.883 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004206/0.2437, allocations: 79.83 kB / 0.7425 GB, free: 1.805 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.000835/0.2445, allocations: 0.8254 MB / 0.7433 GB, free: 0.9531 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002629/0.2448, allocations: 115.8 kB / 0.7434 GB, free: 0.8398 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.2448, allocations: 0 / 0.7434 GB, free: 0.8398 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 7.91e-05/0.2449, allocations: 47.3 kB / 0.7435 GB, free: 0.7969 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004513/0.2453, allocations: 56.83 kB / 0.7435 GB, free: 0.7422 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002554/0.2479, allocations: 2.04 MB / 0.7455 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001095/0.248, allocations: 103.2 kB / 0.7456 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001747/0.2482, allocations: 53.83 kB / 0.7457 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.236e-05/0.2482, allocations: 51.41 kB / 0.7457 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of SimCode: time 5.91e-07/0.2482, allocations: 0 / 0.7457 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03739/0.2856, allocations: 6.082 MB / 0.7517 GB, free: 8.445 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/11.71, allocations: 10.48 kB / 0.7517 GB, free: 8.438 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.23530296003446] Failed to read output from testmodel.py, exit status != 0: 11.82147802831605 12.170599494 11.933648204 Calling exit ...