Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001639/0.001639, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002175/0.002175, allocations: 217.2 kB / 22.25 MB, free: 5.078 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.638/1.638, allocations: 230.6 MB / 256 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002678/0.002678, allocations: 285.4 kB / 312.7 MB, free: 2.816 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.281/1.281, allocations: 180.6 MB / 0.5369 GB, free: 13.04 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002885/0.002885, allocations: 104.2 kB / 0.7396 GB, free: 28.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1938/0.1967, allocations: 95.39 MB / 0.8327 GB, free: 8.664 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.00594/0.2026, allocations: 4.133 MB / 0.8367 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0002394/0.2029, allocations: 163.5 kB / 0.8369 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.79e-05/0.2029, allocations: 3.938 kB / 0.8369 GB, free: 4.332 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001099/0.203, allocations: 0 / 0.8369 GB, free: 4.332 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 7.58e-05/0.2031, allocations: 11.92 kB / 0.8369 GB, free: 4.32 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003941/0.2035, allocations: 93.42 kB / 0.837 GB, free: 4.23 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 9.221e-05/0.2036, allocations: 31.91 kB / 0.837 GB, free: 4.199 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.911e-05/0.2036, allocations: 0 / 0.837 GB, free: 4.199 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.208e-05/0.2037, allocations: 15.94 kB / 0.8371 GB, free: 4.184 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 8.318e-05/0.2038, allocations: 15.91 kB / 0.8371 GB, free: 4.168 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.349e-05/0.2038, allocations: 11.94 kB / 0.8371 GB, free: 4.156 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002277/0.204, allocations: 79.77 kB / 0.8372 GB, free: 4.078 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.484e-05/0.204, allocations: 4 kB / 0.8372 GB, free: 4.074 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.922e-05/0.2041, allocations: 11.98 kB / 0.8372 GB, free: 4.062 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001679/0.2042, allocations: 68.08 kB / 0.8372 GB, free: 3.996 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.2042, allocations: 0 / 0.8372 GB, free: 3.996 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.253e-06/0.2042, allocations: 0 / 0.8372 GB, free: 3.996 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.2043, allocations: 0 / 0.8372 GB, free: 3.996 MB / 0.5762 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.0003955/0.2046, allocations: 266.3 kB / 0.8375 GB, free: 3.707 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.2047, allocations: 9.344 kB / 0.8375 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.397e-05/0.2047, allocations: 34.75 kB / 0.8375 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.376e-05/0.2048, allocations: 8.922 kB / 0.8375 GB, free: 3.648 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001127/0.2049, allocations: 106.5 kB / 0.8376 GB, free: 3.52 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.641e-05/0.2049, allocations: 51.97 kB / 0.8377 GB, free: 3.457 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.121e-05/0.205, allocations: 8.125 kB / 0.8377 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001328/0.2051, allocations: 45.67 kB / 0.8377 GB, free: 3.398 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.2051, allocations: 0 / 0.8377 GB, free: 3.398 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.2051, allocations: 3.984 kB / 0.8377 GB, free: 3.395 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.143e-05/0.2051, allocations: 8 kB / 0.8378 GB, free: 3.387 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.821e-05/0.2052, allocations: 15.94 kB / 0.8378 GB, free: 3.371 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004489/0.2056, allocations: 228 kB / 0.838 GB, free: 3.105 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 3.914e-05/0.2057, allocations: 14.58 kB / 0.838 GB, free: 3.082 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.807e-05/0.2057, allocations: 8.922 kB / 0.838 GB, free: 3.07 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 5.222e-05/0.2057, allocations: 7.984 kB / 0.838 GB, free: 3.062 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.472e-05/0.2058, allocations: 38.56 kB / 0.8381 GB, free: 3.016 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 9.51e-07/0.2058, allocations: 3.938 kB / 0.8381 GB, free: 3.012 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001447/0.2059, allocations: 41.64 kB / 0.8381 GB, free: 2.965 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.199e-05/0.206, allocations: 51.41 kB / 0.8381 GB, free: 2.902 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.912e-05/0.2061, allocations: 105.8 kB / 0.8382 GB, free: 2.789 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.836e-05/0.2061, allocations: 29.7 kB / 0.8383 GB, free: 2.754 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.061e-05/0.2061, allocations: 84.09 kB / 0.8384 GB, free: 2.668 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.845e-06/0.2061, allocations: 3.953 kB / 0.8384 GB, free: 2.664 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.245e-05/0.2062, allocations: 25.83 kB / 0.8384 GB, free: 2.633 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.2063, allocations: 314.8 kB / 0.8387 GB, free: 2.316 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.422e-05/0.2063, allocations: 4 kB / 0.8387 GB, free: 2.312 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.422e-05/0.2063, allocations: 17.7 kB / 0.8387 GB, free: 2.289 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.445e-05/0.2064, allocations: 21.66 kB / 0.8387 GB, free: 2.262 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.2064, allocations: 8 kB / 0.8387 GB, free: 2.254 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.377e-05/0.2064, allocations: 45.69 kB / 0.8388 GB, free: 2.203 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/0.2065, allocations: 4 kB / 0.8388 GB, free: 2.199 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.2065, allocations: 3.938 kB / 0.8388 GB, free: 2.195 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.2065, allocations: 7.938 kB / 0.8388 GB, free: 2.188 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.866e-05/0.2065, allocations: 4 kB / 0.8388 GB, free: 2.184 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.2065, allocations: 0 / 0.8388 GB, free: 2.184 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.637e-05/0.2065, allocations: 0 / 0.8388 GB, free: 2.184 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.197e-06/0.2065, allocations: 4 kB / 0.8388 GB, free: 2.18 MB / 0.5762 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 8.146e-05/0.2066, allocations: 114.5 kB / 0.8389 GB, free: 2.059 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.893e-05/0.2067, allocations: 7.984 kB / 0.8389 GB, free: 2.051 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001013/0.2068, allocations: 113 kB / 0.839 GB, free: 1.934 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.774e-05/0.2068, allocations: 184.2 kB / 0.8392 GB, free: 1.746 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.458e-05/0.2069, allocations: 176.3 kB / 0.8394 GB, free: 1.566 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.067e-05/0.207, allocations: 192.2 kB / 0.8396 GB, free: 1.371 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002506/0.2072, allocations: 380.2 kB / 0.8399 GB, free: 0.9492 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.593e-05/0.2073, allocations: 101 kB / 0.84 GB, free: 0.8438 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.948e-05/0.2073, allocations: 104.9 kB / 0.8401 GB, free: 0.7344 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.717e-05/0.2074, allocations: 188.5 kB / 0.8403 GB, free: 0.543 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.647e-05/0.2075, allocations: 180.2 kB / 0.8405 GB, free: 368 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.112e-05/0.2076, allocations: 180.3 kB / 0.8406 GB, free: 180 kB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.845e-05/0.2076, allocations: 184.2 kB / 0.8408 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001603/0.2078, allocations: 303.8 kB / 0.8411 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.058e-05/0.2078, allocations: 112.9 kB / 0.8412 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.482e-05/0.2079, allocations: 188.2 kB / 0.8414 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001654/0.2081, allocations: 108.9 kB / 0.8415 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.175e-05/0.2082, allocations: 180.3 kB / 0.8417 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.958e-05/0.2082, allocations: 101 kB / 0.8418 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 5.418e-05/0.2083, allocations: 91.27 kB / 0.8418 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.2083, allocations: 0 / 0.8418 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002573/0.2086, allocations: 19.88 kB / 0.8419 GB, free: 14.85 MB / 0.5919 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.0005237/0.2091, allocations: 0.8243 MB / 0.8427 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 7.98e-05/0.2092, allocations: 12 kB / 0.8427 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2092, allocations: 0 / 0.8427 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.332e-06/0.2092, allocations: 3.938 kB / 0.8427 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005318/0.2097, allocations: 459.8 kB / 0.8431 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001131/0.2108, allocations: 1.332 MB / 0.8444 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002826/0.2111, allocations: 0.669 MB / 0.8451 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 4.375e-05/0.2111, allocations: 15.92 kB / 0.8451 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.693e-05/0.2112, allocations: 15.38 kB / 0.8451 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of SimCode: time 3.01e-07/0.2112, allocations: 0 / 0.8451 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02757/0.2387, allocations: 1.603 MB / 0.8467 GB, free: 9.914 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.51/10.74, allocations: 6.625 kB / 0.8467 GB, free: 9.914 MB / 0.5919 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Media_Examples_WaterTemperatureEnthalpyInversion.fmu > BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.357267870000214] Failed to read output from testmodel.py, exit status != 0: 10.845677183002408 10.862552063 10.655101694 Calling exit ...