Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.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.001789/0.001789, allocations: 119.2 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.002103/0.002103, allocations: 225.6 kB / 23.01 MB, free: 5.043 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.537/1.537, 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.066/1.066, allocations: 150 MB / 463.2 MB, free: 10.49 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.WaterTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_WaterTemperatureEnthalpyInversion",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.002101/0.002101, allocations: 63.06 kB / 0.6412 GB, free: 10.39 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2163/0.2184, allocations: 89.17 MB / 0.7283 GB, free: 1.297 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.00727/0.2257, allocations: 4.135 MB / 0.7324 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0002519/0.2259, allocations: 163.4 kB / 0.7325 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.855e-05/0.2259, allocations: 4 kB / 0.7325 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001172/0.2261, allocations: 0 / 0.7325 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.304e-05/0.2261, allocations: 11.92 kB / 0.7325 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004035/0.2265, allocations: 79.75 kB / 0.7326 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001097/0.2267, allocations: 43.83 kB / 0.7327 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.064e-05/0.2267, allocations: 0 / 0.7327 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.091e-05/0.2267, allocations: 11.98 kB / 0.7327 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 9.005e-05/0.2268, allocations: 23.86 kB / 0.7327 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.231e-05/0.2268, allocations: 0 / 0.7327 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002323/0.2271, allocations: 79.78 kB / 0.7328 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.769e-05/0.2271, allocations: 3.984 kB / 0.7328 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.203e-05/0.2272, allocations: 11.98 kB / 0.7328 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001654/0.2273, allocations: 68.08 kB / 0.7328 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.2273, allocations: 0 / 0.7328 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.224e-06/0.2273, allocations: 0 / 0.7328 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.2273, allocations: 0 / 0.7328 GB, free: 12.64 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.000513/0.2279, allocations: 266.3 kB / 0.7331 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 7.386e-05/0.2279, allocations: 12.03 kB / 0.7331 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.973e-05/0.228, allocations: 30.75 kB / 0.7331 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.541e-05/0.228, allocations: 0.9375 kB / 0.7331 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001515/0.2282, allocations: 106.5 kB / 0.7332 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001051/0.2283, allocations: 59.84 kB / 0.7333 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.979e-05/0.2283, allocations: 8.125 kB / 0.7333 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001763/0.2285, allocations: 45.67 kB / 0.7334 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.2285, allocations: 0 / 0.7334 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.2285, allocations: 0 / 0.7334 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.555e-05/0.2285, allocations: 4 kB / 0.7334 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.742e-05/0.2286, allocations: 15.98 kB / 0.7334 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005767/0.2292, allocations: 228 kB / 0.7336 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 6.904e-05/0.2292, allocations: 30.44 kB / 0.7336 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.926e-05/0.2292, allocations: 4.859 kB / 0.7336 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.011e-05/0.2293, allocations: 8.047 kB / 0.7336 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.848e-05/0.2294, allocations: 42.56 kB / 0.7337 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 1.322e-06/0.2294, allocations: 0 / 0.7337 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0002015/0.2296, allocations: 37.66 kB / 0.7337 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.447e-05/0.2296, allocations: 55.34 kB / 0.7338 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000118/0.2297, allocations: 105.8 kB / 0.7339 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.996e-05/0.2298, allocations: 25.7 kB / 0.7339 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.306e-05/0.2298, allocations: 88.03 kB / 0.734 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.275e-06/0.2298, allocations: 8.125 kB / 0.734 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.055e-05/0.2299, allocations: 21.7 kB / 0.734 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001685/0.23, allocations: 314.8 kB / 0.7343 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.575e-05/0.2301, allocations: 0 / 0.7343 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.722e-05/0.2301, allocations: 13.72 kB / 0.7343 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.014e-05/0.2302, allocations: 29.7 kB / 0.7343 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.2302, allocations: 0 / 0.7343 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.734e-05/0.2302, allocations: 45.64 kB / 0.7344 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.327e-05/0.2303, allocations: 11.98 kB / 0.7344 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.2303, allocations: 0 / 0.7344 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.2303, allocations: 0 / 0.7344 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.176e-05/0.2303, allocations: 4 kB / 0.7344 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.286e-06/0.2303, allocations: 4 kB / 0.7344 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.978e-05/0.2304, allocations: 3.953 kB / 0.7344 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.847e-06/0.2304, allocations: 0 / 0.7344 GB, free: 10.83 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.618e-05/0.2305, allocations: 125.8 kB / 0.7345 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.423e-05/0.2305, allocations: 0 / 0.7345 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001343/0.2306, allocations: 117 kB / 0.7346 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.165e-05/0.2307, allocations: 184.2 kB / 0.7348 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.193e-05/0.2308, allocations: 180.2 kB / 0.735 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.022e-05/0.2309, allocations: 188.3 kB / 0.7352 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002644/0.2311, allocations: 380.2 kB / 0.7355 GB, free: 9.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.903e-05/0.2312, allocations: 105 kB / 0.7356 GB, free: 9.48 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.202e-05/0.2313, allocations: 108.9 kB / 0.7357 GB, free: 9.367 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.256e-05/0.2313, allocations: 176.3 kB / 0.7359 GB, free: 9.188 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.715e-05/0.2314, allocations: 176.3 kB / 0.7361 GB, free: 9.008 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.328e-05/0.2315, allocations: 192.1 kB / 0.7362 GB, free: 8.812 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.834e-05/0.2316, allocations: 176.3 kB / 0.7364 GB, free: 8.633 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001707/0.2317, allocations: 311.7 kB / 0.7367 GB, free: 8.305 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.312e-05/0.2318, allocations: 101 kB / 0.7368 GB, free: 8.199 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.499e-05/0.2319, allocations: 188.2 kB / 0.737 GB, free: 8.008 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001618/0.2321, allocations: 109 kB / 0.7371 GB, free: 7.895 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001338/0.2322, allocations: 184.2 kB / 0.7373 GB, free: 7.707 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.794e-05/0.2322, allocations: 105 kB / 0.7374 GB, free: 7.598 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 9.912e-05/0.2323, allocations: 87.27 kB / 0.7375 GB, free: 7.512 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.2323, allocations: 0 / 0.7375 GB, free: 7.512 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002709/0.2326, allocations: 23.88 kB / 0.7375 GB, free: 7.488 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.0005556/0.2332, allocations: 0.8329 MB / 0.7383 GB, free: 6.625 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 8.507e-05/0.2332, allocations: 8 kB / 0.7383 GB, free: 6.617 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2332, allocations: 0 / 0.7383 GB, free: 6.617 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.132e-06/0.2332, allocations: 128 / 0.7383 GB, free: 6.617 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005232/0.2338, allocations: 459.7 kB / 0.7387 GB, free: 6.164 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001247/0.235, allocations: 1.325 MB / 0.74 GB, free: 4.75 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003328/0.2353, allocations: 0.6729 MB / 0.7407 GB, free: 4.051 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.361e-05/0.2354, allocations: 14.28 kB / 0.7407 GB, free: 4.039 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.008e-05/0.2354, allocations: 7.859 kB / 0.7407 GB, free: 4.031 MB / 0.5606 GB Notification: Performance of SimCode: time 3.91e-07/0.2354, allocations: 0 / 0.7407 GB, free: 4.031 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02917/0.2646, allocations: 1.59 MB / 0.7423 GB, free: 2.578 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/11.75, allocations: 5.188 kB / 0.7423 GB, free: 2.574 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion_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_WaterTemperatureEnthalpyInversion.fmu > IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.952563006001583] Failed to read output from testmodel.py, exit status != 0: 11.852500524000789 11.868451224 11.637901428 Calling exit ...