Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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: 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.002063/0.002063, allocations: 213.2 kB / 22.99 MB, free: 4.605 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.509/1.509, 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.037/1.037, allocations: 149.9 MB / 463 MB, free: 10.33 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.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",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.002342/0.002342, allocations: 67.33 kB / 0.641 GB, free: 10.17 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2091/0.2115, allocations: 89.18 MB / 0.7281 GB, free: 1.062 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.007337/0.2188, allocations: 3.625 MB / 0.7317 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0002464/0.2191, allocations: 139.6 kB / 0.7318 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.689e-05/0.2191, allocations: 0 / 0.7318 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001193/0.2192, allocations: 3.938 kB / 0.7318 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 9.15e-05/0.2193, allocations: 19.91 kB / 0.7318 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004635/0.2198, allocations: 79 kB / 0.7319 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001137/0.2199, allocations: 39.84 kB / 0.7319 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.213e-05/0.2199, allocations: 4 kB / 0.732 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.439e-05/0.22, allocations: 15.92 kB / 0.732 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001044/0.2201, allocations: 19.97 kB / 0.732 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.426e-05/0.2201, allocations: 0 / 0.732 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007546/0.2209, allocations: 203.6 kB / 0.7322 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.264e-05/0.2209, allocations: 7.984 kB / 0.7322 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.265e-05/0.2209, allocations: 19.86 kB / 0.7322 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001881/0.2211, allocations: 55.88 kB / 0.7323 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.2211, allocations: 0 / 0.7323 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.353e-06/0.2211, allocations: 4 kB / 0.7323 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.029e-06/0.2211, allocations: 0 / 0.7323 GB, free: 12.82 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.0005046/0.2216, allocations: 266.2 kB / 0.7325 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.878e-05/0.2217, allocations: 8.031 kB / 0.7325 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.46e-05/0.2217, allocations: 30.75 kB / 0.7326 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.368e-05/0.2218, allocations: 4.938 kB / 0.7326 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000145/0.2219, allocations: 110.5 kB / 0.7327 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001181/0.222, allocations: 55.95 kB / 0.7327 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.107e-05/0.2221, allocations: 8.125 kB / 0.7327 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001799/0.2222, allocations: 71.33 kB / 0.7328 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.2222, allocations: 4 kB / 0.7328 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.2223, allocations: 0 / 0.7328 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.453e-05/0.2223, allocations: 7.938 kB / 0.7328 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.155e-05/0.2223, allocations: 11.98 kB / 0.7328 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005217/0.2229, allocations: 224 kB / 0.733 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 5.37e-05/0.2229, allocations: 22.58 kB / 0.7331 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.183e-05/0.2229, allocations: 12.78 kB / 0.7331 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.096e-05/0.223, allocations: 4.062 kB / 0.7331 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.277e-05/0.223, allocations: 34.56 kB / 0.7331 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.223, allocations: 0 / 0.7331 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001851/0.2232, allocations: 37.66 kB / 0.7331 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.555e-05/0.2233, allocations: 55.41 kB / 0.7332 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.2234, allocations: 101.8 kB / 0.7333 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.031e-05/0.2234, allocations: 25.7 kB / 0.7333 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.628e-05/0.2235, allocations: 92.09 kB / 0.7334 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.071e-06/0.2235, allocations: 0 / 0.7334 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.598e-05/0.2235, allocations: 17.7 kB / 0.7334 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001613/0.2237, allocations: 322.8 kB / 0.7337 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.896e-05/0.2237, allocations: 7.938 kB / 0.7337 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.576e-05/0.2237, allocations: 18.02 kB / 0.7337 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.79e-05/0.2238, allocations: 25.72 kB / 0.7338 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.2238, allocations: 4 kB / 0.7338 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.392e-05/0.2239, allocations: 53.58 kB / 0.7338 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.2239, allocations: 4 kB / 0.7338 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.2239, allocations: 0 / 0.7338 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/0.2239, allocations: 4.094 kB / 0.7338 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.194e-05/0.224, allocations: 11.92 kB / 0.7338 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.224, allocations: 0 / 0.7338 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.923e-05/0.224, allocations: 4.062 kB / 0.7339 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.234e-05/0.224, allocations: 4 kB / 0.7339 GB, free: 10.96 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 0.0001131/0.2241, allocations: 113.8 kB / 0.734 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.92e-05/0.2242, allocations: 4 kB / 0.734 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001424/0.2243, allocations: 124.9 kB / 0.7341 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.8e-05/0.2244, allocations: 176.3 kB / 0.7343 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001023/0.2245, allocations: 184.2 kB / 0.7344 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.883e-05/0.2246, allocations: 180.3 kB / 0.7346 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002985/0.2249, allocations: 380.2 kB / 0.735 GB, free: 9.738 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.149e-05/0.2249, allocations: 109 kB / 0.7351 GB, free: 9.625 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.093e-05/0.225, allocations: 101 kB / 0.7352 GB, free: 9.52 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001098/0.2251, allocations: 180.2 kB / 0.7353 GB, free: 9.336 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001068/0.2252, allocations: 184.3 kB / 0.7355 GB, free: 9.148 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.409e-05/0.2253, allocations: 180.2 kB / 0.7357 GB, free: 8.965 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001034/0.2254, allocations: 184.2 kB / 0.7359 GB, free: 8.777 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002113/0.2256, allocations: 307.7 kB / 0.7362 GB, free: 8.453 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.614e-05/0.2257, allocations: 112.9 kB / 0.7363 GB, free: 8.336 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00012/0.2258, allocations: 192.2 kB / 0.7364 GB, free: 8.141 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000166/0.226, allocations: 105 kB / 0.7365 GB, free: 8.031 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/0.2261, allocations: 180.3 kB / 0.7367 GB, free: 7.848 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.206e-05/0.2261, allocations: 104.9 kB / 0.7368 GB, free: 7.738 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 8.008e-05/0.2262, allocations: 95.27 kB / 0.7369 GB, free: 7.645 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2262, allocations: 0 / 0.7369 GB, free: 7.645 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002858/0.2265, allocations: 15.94 kB / 0.7369 GB, free: 7.629 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.0006009/0.2271, allocations: 0.8204 MB / 0.7377 GB, free: 6.781 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 8.034e-05/0.2272, allocations: 7.938 kB / 0.7377 GB, free: 6.773 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.2272, allocations: 0 / 0.7377 GB, free: 6.773 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 5.891e-06/0.2272, allocations: 4 kB / 0.7377 GB, free: 6.77 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005999/0.2278, allocations: 463.8 kB / 0.7382 GB, free: 6.312 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001375/0.2292, allocations: 1.329 MB / 0.7395 GB, free: 4.895 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.206e-05/0.2292, allocations: 55.36 kB / 0.7395 GB, free: 4.82 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.792e-05/0.2293, allocations: 7.984 kB / 0.7395 GB, free: 4.812 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.492e-05/0.2293, allocations: 11.44 kB / 0.7395 GB, free: 4.801 MB / 0.5606 GB Notification: Performance of SimCode: time 4.31e-07/0.2293, allocations: 0 / 0.7395 GB, free: 4.801 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03448/0.2638, allocations: 2.033 MB / 0.7415 GB, free: 2.938 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.45, allocations: 10.14 kB / 0.7415 GB, free: 2.934 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_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_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.459053031168878] Failed to read output from testmodel.py, exit status != 0: 11.564207867719233 11.586942457 11.362198178 Calling exit ...