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.001865/0.001865, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.002454/0.002454, allocations: 217.3 kB / 22.99 MB, free: 4.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.577/1.577, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.018/1.018, allocations: 149.9 MB / 463.1 MB, free: 10.37 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.002105/0.002105, allocations: 71.16 kB / 0.6411 GB, free: 10.16 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2166/0.2187, allocations: 89.17 MB / 0.7281 GB, free: 1.066 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.006398/0.2251, allocations: 3.907 MB / 0.732 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0002298/0.2253, allocations: 139.5 kB / 0.7321 GB, free: 13 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.852e-05/0.2253, allocations: 4 kB / 0.7321 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001192/0.2255, allocations: 0 / 0.7321 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 9.653e-05/0.2256, allocations: 19.91 kB / 0.7321 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000439/0.226, allocations: 79.69 kB / 0.7322 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001026/0.2261, allocations: 27.92 kB / 0.7322 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.863e-05/0.2262, allocations: 7.984 kB / 0.7322 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.052e-05/0.2262, allocations: 19.92 kB / 0.7322 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 9.206e-05/0.2263, allocations: 23.91 kB / 0.7323 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.327e-05/0.2263, allocations: 0 / 0.7323 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002064/0.2265, allocations: 43.83 kB / 0.7323 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.375e-05/0.2266, allocations: 11.98 kB / 0.7323 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.858e-05/0.2266, allocations: 7.984 kB / 0.7323 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000181/0.2268, allocations: 60.09 kB / 0.7324 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.684e-06/0.2268, allocations: 3.984 kB / 0.7324 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.964e-06/0.2268, allocations: 0 / 0.7324 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.124e-06/0.2268, allocations: 0 / 0.7324 GB, free: 12.69 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.0005746/0.2274, allocations: 258.3 kB / 0.7326 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/0.2274, allocations: 16.03 kB / 0.7326 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.389e-05/0.2275, allocations: 34.69 kB / 0.7327 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.845e-05/0.2275, allocations: 0.9375 kB / 0.7327 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002118/0.2277, allocations: 106.5 kB / 0.7328 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.829e-05/0.2278, allocations: 55.97 kB / 0.7328 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.651e-05/0.2278, allocations: 8.125 kB / 0.7328 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001772/0.228, allocations: 71.36 kB / 0.7329 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.228, allocations: 0 / 0.7329 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.228, allocations: 0 / 0.7329 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.888e-05/0.228, allocations: 0 / 0.7329 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.393e-05/0.2281, allocations: 23.98 kB / 0.7329 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000524/0.2286, allocations: 231.9 kB / 0.7332 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 6.165e-05/0.2287, allocations: 14.58 kB / 0.7332 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.013e-05/0.2287, allocations: 8.922 kB / 0.7332 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 5.14e-05/0.2288, allocations: 4 kB / 0.7332 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.929e-05/0.2288, allocations: 38.55 kB / 0.7332 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.2288, allocations: 4 kB / 0.7332 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001747/0.229, allocations: 37.59 kB / 0.7333 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.166e-05/0.229, allocations: 51.41 kB / 0.7333 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001344/0.2292, allocations: 117.8 kB / 0.7334 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.224e-05/0.2292, allocations: 29.64 kB / 0.7334 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.046e-05/0.2293, allocations: 84.09 kB / 0.7335 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.624e-06/0.2293, allocations: 4 kB / 0.7335 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.545e-05/0.2293, allocations: 17.72 kB / 0.7335 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001801/0.2295, allocations: 318.8 kB / 0.7339 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.623e-05/0.2295, allocations: 4 kB / 0.7339 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.776e-05/0.2295, allocations: 21.72 kB / 0.7339 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.657e-05/0.2296, allocations: 21.64 kB / 0.7339 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.2296, allocations: 4 kB / 0.7339 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.78e-05/0.2296, allocations: 49.66 kB / 0.7339 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.2297, allocations: 5.875 kB / 0.734 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.2297, allocations: 0 / 0.734 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.2297, allocations: 3.984 kB / 0.734 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.116e-05/0.2297, allocations: 11.94 kB / 0.734 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.18e-05/0.2298, allocations: 0 / 0.734 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.731e-05/0.2298, allocations: 0 / 0.734 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.929e-06/0.2298, allocations: 0 / 0.734 GB, free: 10.85 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.985e-05/0.2299, allocations: 121.8 kB / 0.7341 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.351e-05/0.2299, allocations: 0 / 0.7341 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001329/0.23, allocations: 117 kB / 0.7342 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.228e-05/0.2301, allocations: 188.2 kB / 0.7344 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.128e-05/0.2302, allocations: 180.3 kB / 0.7345 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.683e-05/0.2303, allocations: 180.2 kB / 0.7347 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002829/0.2306, allocations: 376.2 kB / 0.7351 GB, free: 9.621 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.676e-05/0.2307, allocations: 109 kB / 0.7352 GB, free: 9.508 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.343e-05/0.2307, allocations: 104.9 kB / 0.7353 GB, free: 9.398 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.09e-05/0.2308, allocations: 180.2 kB / 0.7355 GB, free: 9.215 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.145e-05/0.2309, allocations: 188.2 kB / 0.7356 GB, free: 9.023 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001347/0.231, allocations: 176.3 kB / 0.7358 GB, free: 8.844 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.838e-05/0.2311, allocations: 176.3 kB / 0.736 GB, free: 8.664 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001914/0.2313, allocations: 315.7 kB / 0.7363 GB, free: 8.332 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.68e-05/0.2314, allocations: 108.9 kB / 0.7364 GB, free: 8.219 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001543/0.2315, allocations: 180.3 kB / 0.7365 GB, free: 8.035 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001602/0.2317, allocations: 109 kB / 0.7367 GB, free: 7.922 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.395e-05/0.2318, allocations: 184.2 kB / 0.7368 GB, free: 7.734 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001555/0.2319, allocations: 108.9 kB / 0.7369 GB, free: 7.621 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.677e-05/0.232, allocations: 83.28 kB / 0.737 GB, free: 7.539 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9.1e-08/0.232, allocations: 7.938 kB / 0.737 GB, free: 7.531 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002606/0.2322, allocations: 31.86 kB / 0.737 GB, free: 7.5 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.000697/0.2329, allocations: 0.8165 MB / 0.7378 GB, free: 6.652 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 8.729e-05/0.233, allocations: 11.98 kB / 0.7379 GB, free: 6.641 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.233, allocations: 0 / 0.7379 GB, free: 6.641 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 5.62e-06/0.233, allocations: 3.938 kB / 0.7379 GB, free: 6.637 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005828/0.2336, allocations: 455.7 kB / 0.7383 GB, free: 6.188 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001411/0.235, allocations: 1.326 MB / 0.7396 GB, free: 4.773 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.536e-05/0.2351, allocations: 59.34 kB / 0.7396 GB, free: 4.695 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.614e-05/0.2351, allocations: 4 kB / 0.7397 GB, free: 4.691 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.294e-05/0.2352, allocations: 11.44 kB / 0.7397 GB, free: 4.68 MB / 0.5606 GB Notification: Performance of SimCode: time 8.02e-07/0.2352, allocations: 0 / 0.7397 GB, free: 4.68 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0337/0.2689, allocations: 2.031 MB / 0.7416 GB, free: 2.789 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.48, allocations: 4.5 kB / 0.7417 GB, free: 2.789 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.713465652894229] Failed to read output from testmodel.py, exit status != 0: 11.58064026478678 11.596858593 11.366788897 Calling exit ...