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.001899/0.001899, 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.002629/0.002629, allocations: 222.3 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.577/1.577, allocations: 230.6 MB / 256.8 MB, free: 7.984 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: 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.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.002107/0.002107, allocations: 61.72 kB / 0.6412 GB, free: 10.35 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1992/0.2014, allocations: 89.17 MB / 0.7283 GB, free: 1.242 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.007064/0.2084, allocations: 3.828 MB / 0.7321 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0002884/0.2087, allocations: 159.5 kB / 0.7322 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.355e-05/0.2087, allocations: 0 / 0.7322 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001535/0.2089, allocations: 3.938 kB / 0.7322 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 9.454e-05/0.209, allocations: 15.92 kB / 0.7322 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005245/0.2095, allocations: 79.73 kB / 0.7323 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001272/0.2096, allocations: 43.84 kB / 0.7324 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.552e-05/0.2097, allocations: 0 / 0.7324 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.992e-05/0.2097, allocations: 15.92 kB / 0.7324 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 9.516e-05/0.2098, allocations: 19.97 kB / 0.7324 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.31e-05/0.2099, allocations: 0 / 0.7324 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000827/0.2107, allocations: 235.5 kB / 0.7326 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.403e-05/0.2107, allocations: 7.984 kB / 0.7326 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.302e-05/0.2108, allocations: 7.938 kB / 0.7326 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001954/0.211, allocations: 75.78 kB / 0.7327 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.211, allocations: 0 / 0.7327 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.824e-06/0.211, allocations: 4 kB / 0.7327 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.693e-06/0.211, allocations: 0 / 0.7327 GB, free: 12.73 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.0004703/0.2114, allocations: 262.2 kB / 0.733 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.36e-05/0.2115, allocations: 12.02 kB / 0.733 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.627e-05/0.2115, allocations: 34.75 kB / 0.733 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.684e-05/0.2116, allocations: 0.9375 kB / 0.733 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001275/0.2117, allocations: 114.5 kB / 0.7331 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.363e-05/0.2118, allocations: 51.97 kB / 0.7332 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.027e-05/0.2118, allocations: 8.125 kB / 0.7332 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001515/0.212, allocations: 41.69 kB / 0.7332 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.212, allocations: 4 kB / 0.7332 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.212, allocations: 0 / 0.7332 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.199e-05/0.212, allocations: 3.984 kB / 0.7332 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.245e-05/0.2121, allocations: 19.92 kB / 0.7332 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004896/0.2126, allocations: 228 kB / 0.7335 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 5.485e-05/0.2126, allocations: 22.58 kB / 0.7335 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.693e-05/0.2126, allocations: 4.859 kB / 0.7335 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 5.841e-05/0.2127, allocations: 8.062 kB / 0.7335 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.23e-05/0.2127, allocations: 42.48 kB / 0.7335 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.2127, allocations: 0 / 0.7335 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001903/0.2129, allocations: 41.59 kB / 0.7336 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.473e-05/0.213, allocations: 51.41 kB / 0.7336 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001268/0.2131, allocations: 106 kB / 0.7337 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.676e-05/0.2131, allocations: 29.7 kB / 0.7337 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.784e-05/0.2132, allocations: 84.09 kB / 0.7338 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.466e-06/0.2132, allocations: 4 kB / 0.7338 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.519e-05/0.2133, allocations: 9.719 kB / 0.7338 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001692/0.2134, allocations: 330.8 kB / 0.7342 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.678e-05/0.2134, allocations: 0 / 0.7342 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.503e-05/0.2135, allocations: 17.72 kB / 0.7342 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.517e-05/0.2135, allocations: 29.64 kB / 0.7342 GB, free: 11 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.2135, allocations: 0 / 0.7342 GB, free: 11 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.508e-05/0.2136, allocations: 45.64 kB / 0.7342 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.6e-05/0.2137, allocations: 9.875 kB / 0.7343 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.2137, allocations: 3.984 kB / 0.7343 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.2137, allocations: 0 / 0.7343 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.576e-05/0.2138, allocations: 8.062 kB / 0.7343 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/0.2138, allocations: 3.938 kB / 0.7343 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.759e-05/0.2138, allocations: 7.953 kB / 0.7343 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.107e-05/0.2138, allocations: 0 / 0.7343 GB, free: 10.91 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.0001129/0.2139, allocations: 113.8 kB / 0.7344 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.754e-05/0.2139, allocations: 0 / 0.7344 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001591/0.2141, allocations: 124.9 kB / 0.7345 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001089/0.2142, allocations: 180.3 kB / 0.7347 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000104/0.2143, allocations: 176.3 kB / 0.7348 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.52e-05/0.2144, allocations: 184.2 kB / 0.735 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002991/0.2147, allocations: 376.2 kB / 0.7354 GB, free: 9.695 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.316e-05/0.2148, allocations: 112.9 kB / 0.7355 GB, free: 9.578 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.122e-05/0.2148, allocations: 101 kB / 0.7356 GB, free: 9.473 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000101/0.2149, allocations: 184.3 kB / 0.7358 GB, free: 9.285 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001025/0.215, allocations: 180.2 kB / 0.7359 GB, free: 9.102 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.738e-05/0.2151, allocations: 180.3 kB / 0.7361 GB, free: 8.918 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001142/0.2152, allocations: 180.2 kB / 0.7363 GB, free: 8.734 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002165/0.2155, allocations: 315.7 kB / 0.7366 GB, free: 8.402 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.156e-05/0.2155, allocations: 105 kB / 0.7367 GB, free: 8.293 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001151/0.2156, allocations: 184.3 kB / 0.7369 GB, free: 8.105 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002001/0.2158, allocations: 108.9 kB / 0.737 GB, free: 7.992 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.629e-05/0.2159, allocations: 180.3 kB / 0.7371 GB, free: 7.809 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.428e-05/0.216, allocations: 112.9 kB / 0.7372 GB, free: 7.691 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 9.153e-05/0.2161, allocations: 83.27 kB / 0.7373 GB, free: 7.609 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9.1e-08/0.2161, allocations: 3.938 kB / 0.7373 GB, free: 7.605 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002962/0.2164, allocations: 19.88 kB / 0.7373 GB, free: 7.586 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.0006551/0.217, allocations: 0.836 MB / 0.7382 GB, free: 6.723 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001097/0.2171, allocations: 11.94 kB / 0.7382 GB, free: 6.711 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.18e-05/0.2172, allocations: 4 kB / 0.7382 GB, free: 6.707 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.532e-06/0.2172, allocations: 0 / 0.7382 GB, free: 6.707 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006253/0.2178, allocations: 456.4 kB / 0.7386 GB, free: 6.258 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001364/0.2192, allocations: 1.317 MB / 0.7399 GB, free: 4.852 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004264/0.2196, allocations: 0.6767 MB / 0.7406 GB, free: 4.148 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.736e-05/0.2196, allocations: 11.14 kB / 0.7406 GB, free: 4.141 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.769e-05/0.2197, allocations: 7.438 kB / 0.7406 GB, free: 4.133 MB / 0.5606 GB Notification: Performance of SimCode: time 1.573e-06/0.2197, allocations: 4 kB / 0.7406 GB, free: 4.129 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03099/0.2507, allocations: 1.599 MB / 0.7421 GB, free: 2.691 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/11.64, allocations: 1.25 kB / 0.7421 GB, free: 2.691 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.81772503799948] Failed to read output from testmodel.py, exit status != 0: 11.739613966001343 11.757456953 11.542744355 Calling exit ...