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.001321/0.001321, allocations: 99.64 kB / 18.95 MB, free: 2.676 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.001627/0.001627, allocations: 216.3 kB / 22.25 MB, free: 5.258 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.404/1.404, allocations: 230.6 MB / 256 MB, free: 7.801 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.002469/0.002469, allocations: 291.9 kB / 312.7 MB, free: 2.621 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.223/1.223, allocations: 180.6 MB / 0.5369 GB, free: 14.53 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.002916/0.002916, allocations: 105.6 kB / 0.7395 GB, free: 28.03 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1561/0.159, allocations: 95.37 MB / 0.8326 GB, free: 8.336 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.005755/0.1648, allocations: 3.917 MB / 0.8364 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0002072/0.165, allocations: 147.6 kB / 0.8366 GB, free: 4.242 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.793e-05/0.165, allocations: 0 / 0.8366 GB, free: 4.242 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 9.023e-05/0.1651, allocations: 3.938 kB / 0.8366 GB, free: 4.238 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.711e-05/0.1652, allocations: 11.97 kB / 0.8366 GB, free: 4.227 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003176/0.1655, allocations: 83.69 kB / 0.8367 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.675e-05/0.1656, allocations: 35.78 kB / 0.8367 GB, free: 4.109 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.694e-05/0.1656, allocations: 7.984 kB / 0.8367 GB, free: 4.102 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.438e-05/0.1657, allocations: 16 kB / 0.8367 GB, free: 4.086 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.577e-05/0.1657, allocations: 15.97 kB / 0.8368 GB, free: 4.07 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.056e-05/0.1657, allocations: 0 / 0.8368 GB, free: 4.07 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001646/0.1659, allocations: 47.83 kB / 0.8368 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.473e-05/0.1659, allocations: 19.91 kB / 0.8368 GB, free: 4.004 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.105e-05/0.166, allocations: 4 kB / 0.8368 GB, free: 4 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001445/0.1661, allocations: 68.02 kB / 0.8369 GB, free: 3.934 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.1661, allocations: 0 / 0.8369 GB, free: 3.934 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.132e-06/0.1661, allocations: 0 / 0.8369 GB, free: 3.934 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.228e-06/0.1661, allocations: 0 / 0.8369 GB, free: 3.934 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.0003605/0.1665, allocations: 258.3 kB / 0.8371 GB, free: 3.652 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.1665, allocations: 13.94 kB / 0.8371 GB, free: 3.641 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.712e-05/0.1666, allocations: 30.75 kB / 0.8372 GB, free: 3.602 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.619e-05/0.1666, allocations: 0.9375 kB / 0.8372 GB, free: 3.602 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000102/0.1667, allocations: 114.5 kB / 0.8373 GB, free: 3.465 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.207e-05/0.1668, allocations: 55.95 kB / 0.8373 GB, free: 3.398 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.347e-05/0.1668, allocations: 8.125 kB / 0.8373 GB, free: 3.391 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001305/0.1669, allocations: 67.38 kB / 0.8374 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.1669, allocations: 0 / 0.8374 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.1669, allocations: 4 kB / 0.8374 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.611e-05/0.1669, allocations: 8 kB / 0.8374 GB, free: 3.301 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.084e-05/0.167, allocations: 15.92 kB / 0.8374 GB, free: 3.285 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003757/0.1674, allocations: 228 kB / 0.8377 GB, free: 3.02 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 3.68e-05/0.1674, allocations: 14.58 kB / 0.8377 GB, free: 2.996 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.835e-05/0.1674, allocations: 8.922 kB / 0.8377 GB, free: 2.984 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 5.095e-05/0.1675, allocations: 11.98 kB / 0.8377 GB, free: 2.973 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.608e-05/0.1675, allocations: 34.56 kB / 0.8377 GB, free: 2.93 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 9.02e-07/0.1675, allocations: 0 / 0.8377 GB, free: 2.93 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001274/0.1676, allocations: 37.7 kB / 0.8378 GB, free: 2.887 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.306e-05/0.1676, allocations: 55.41 kB / 0.8378 GB, free: 2.82 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.02e-05/0.1677, allocations: 109.8 kB / 0.8379 GB, free: 2.703 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.045e-05/0.1678, allocations: 25.7 kB / 0.8379 GB, free: 2.672 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.966e-05/0.1678, allocations: 84.09 kB / 0.838 GB, free: 2.586 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.614e-06/0.1678, allocations: 7.953 kB / 0.838 GB, free: 2.578 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.178e-05/0.1678, allocations: 21.7 kB / 0.838 GB, free: 2.551 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.168, allocations: 314.8 kB / 0.8383 GB, free: 2.234 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.714e-05/0.168, allocations: 4 kB / 0.8384 GB, free: 2.23 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.95e-05/0.168, allocations: 21.66 kB / 0.8384 GB, free: 2.203 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.79e-05/0.1681, allocations: 25.64 kB / 0.8384 GB, free: 2.172 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.1681, allocations: 0 / 0.8384 GB, free: 2.172 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.766e-05/0.1682, allocations: 53.62 kB / 0.8384 GB, free: 2.113 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/0.1682, allocations: 4 kB / 0.8385 GB, free: 2.109 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.1682, allocations: 0 / 0.8385 GB, free: 2.109 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.1682, allocations: 0 / 0.8385 GB, free: 2.109 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.048e-05/0.1682, allocations: 8 kB / 0.8385 GB, free: 2.102 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/0.1682, allocations: 0 / 0.8385 GB, free: 2.102 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.608e-05/0.1682, allocations: 0 / 0.8385 GB, free: 2.102 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.135e-05/0.1683, allocations: 8 kB / 0.8385 GB, free: 2.094 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 7.791e-05/0.1683, allocations: 114.5 kB / 0.8386 GB, free: 1.973 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.526e-05/0.1684, allocations: 4 kB / 0.8386 GB, free: 1.969 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001088/0.1685, allocations: 124.9 kB / 0.8387 GB, free: 1.84 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.044e-05/0.1685, allocations: 184.3 kB / 0.8389 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.893e-05/0.1686, allocations: 176.3 kB / 0.839 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.246e-05/0.1687, allocations: 184.2 kB / 0.8392 GB, free: 1.285 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002838/0.169, allocations: 376.2 kB / 0.8396 GB, free: 0.8672 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.442e-05/0.1691, allocations: 108.9 kB / 0.8397 GB, free: 0.7539 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.409e-05/0.1691, allocations: 105 kB / 0.8398 GB, free: 0.6445 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.352e-05/0.1692, allocations: 184.3 kB / 0.84 GB, free: 468 kB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.728e-05/0.1693, allocations: 184.2 kB / 0.8401 GB, free: 276 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.699e-05/0.1693, allocations: 176.3 kB / 0.8403 GB, free: 92 kB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.807e-05/0.1694, allocations: 184.2 kB / 0.8405 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000165/0.1696, allocations: 307.8 kB / 0.8408 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.613e-05/0.1697, allocations: 104.9 kB / 0.8409 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.086e-05/0.1697, allocations: 184.3 kB / 0.841 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001514/0.1699, allocations: 108.9 kB / 0.8411 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.78e-05/0.17, allocations: 180.5 kB / 0.8413 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.12e-05/0.17, allocations: 101 kB / 0.8414 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 5.839e-05/0.1701, allocations: 95.2 kB / 0.8415 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.1701, allocations: 4 kB / 0.8415 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002421/0.1703, allocations: 19.88 kB / 0.8415 GB, free: 14.76 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.0004757/0.1708, allocations: 0.8204 MB / 0.8423 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 6.639e-05/0.1709, allocations: 15.86 kB / 0.8423 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1709, allocations: 0 / 0.8423 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.112e-06/0.1709, allocations: 0 / 0.8423 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004619/0.1713, allocations: 459.7 kB / 0.8428 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001053/0.1724, allocations: 1.337 MB / 0.8441 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.124e-05/0.1724, allocations: 55.36 kB / 0.8441 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 5.163e-05/0.1725, allocations: 4 kB / 0.8441 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.029e-05/0.1725, allocations: 15.42 kB / 0.8442 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of SimCode: time 2.81e-07/0.1725, allocations: 0 / 0.8442 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02883/0.2013, allocations: 2.041 MB / 0.8462 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.57/10.77, allocations: 6.547 kB / 0.8462 GB, free: 10.02 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: 14.889707527123392] Failed to read output from testmodel.py, exit status != 0: 10.869429922662675 10.88567324 10.716494209 Calling exit ...