Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.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.001208/0.001208, allocations: 72.5 kB / 19.92 MB, free: 4.633 MB / 18.57 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.001378/0.001378, allocations: 174.3 kB / 23.21 MB, free: 1.355 MB / 18.57 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 0.9208/0.9208, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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 0.5647/0.5647, allocations: 114 MB / 373.9 MB, free: 8.719 MB / 346.7 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.SteamTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.532e-06/1.532e-06, allocations: 0 / 0.5542 GB, free: 2.809 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.308e-05/2.462e-05, allocations: 6.609 kB / 0.5542 GB, free: 2.805 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1175/0.1175, allocations: 119 MB / 0.6704 GB, free: 11.33 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0001571/0.1177, allocations: 51.8 kB / 0.6704 GB, free: 11.28 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.456e-05/0.1177, allocations: 7.828 kB / 0.6704 GB, free: 11.28 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001685/0.1179, allocations: 0 / 0.6704 GB, free: 11.28 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0001174/0.118, allocations: 15.86 kB / 0.6705 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009425/0.1189, allocations: 242.8 kB / 0.6707 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001105/0.119, allocations: 39.84 kB / 0.6707 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 5.737e-05/0.1191, allocations: 7.984 kB / 0.6707 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 6.682e-05/0.1192, allocations: 27.91 kB / 0.6708 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 8.606e-05/0.1192, allocations: 4 kB / 0.6708 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.825e-05/0.1193, allocations: 0 / 0.6708 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003643/0.1196, allocations: 179.4 kB / 0.6709 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 5.835e-05/0.1197, allocations: 11.97 kB / 0.6709 GB, free: 10.76 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.678e-05/0.1197, allocations: 11.94 kB / 0.671 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002898/0.12, allocations: 167.6 kB / 0.6711 GB, free: 10.58 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.12, allocations: 3.938 kB / 0.6711 GB, free: 10.58 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.463e-06/0.12, allocations: 4 kB / 0.6711 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.12, allocations: 0 / 0.6711 GB, free: 10.57 MB / 0.6355 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.0003741/0.1204, allocations: 290 kB / 0.6714 GB, free: 10.26 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.1204, allocations: 12.62 kB / 0.6714 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.497e-05/0.1205, allocations: 30.75 kB / 0.6714 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.503e-05/0.1205, allocations: 4.891 kB / 0.6714 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.645e-05/0.1206, allocations: 117.7 kB / 0.6716 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.262e-05/0.1207, allocations: 55.97 kB / 0.6716 GB, free: 10 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.025e-06/0.1207, allocations: 384 / 0.6716 GB, free: 10 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001426/0.1208, allocations: 71.52 kB / 0.6717 GB, free: 9.918 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.1208, allocations: 4 kB / 0.6717 GB, free: 9.914 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.1208, allocations: 4 kB / 0.6717 GB, free: 9.91 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.191e-05/0.1209, allocations: 0 / 0.6717 GB, free: 9.91 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.457e-05/0.1209, allocations: 19.92 kB / 0.6717 GB, free: 9.891 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006279/0.1215, allocations: 268 kB / 0.672 GB, free: 9.586 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.195e-05/0.1216, allocations: 18.58 kB / 0.672 GB, free: 9.559 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.819e-05/0.1216, allocations: 4.859 kB / 0.672 GB, free: 9.551 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 5.682e-05/0.1217, allocations: 36.03 kB / 0.672 GB, free: 9.516 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.749e-05/0.1217, allocations: 34.56 kB / 0.6721 GB, free: 9.473 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 1.162e-06/0.1217, allocations: 0 / 0.6721 GB, free: 9.473 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001593/0.1218, allocations: 41.64 kB / 0.6721 GB, free: 9.426 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.299e-05/0.1219, allocations: 51.41 kB / 0.6721 GB, free: 9.363 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.355e-05/0.122, allocations: 105.8 kB / 0.6722 GB, free: 9.25 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.574e-05/0.122, allocations: 29.7 kB / 0.6723 GB, free: 9.215 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.347e-05/0.122, allocations: 84.09 kB / 0.6724 GB, free: 9.129 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.652e-06/0.122, allocations: 7.891 kB / 0.6724 GB, free: 9.121 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.513e-05/0.1221, allocations: 21.7 kB / 0.6724 GB, free: 9.094 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.835e-05/0.1222, allocations: 314.8 kB / 0.6727 GB, free: 8.777 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.567e-05/0.1222, allocations: 4.125 kB / 0.6727 GB, free: 8.773 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.505e-05/0.1222, allocations: 21.7 kB / 0.6727 GB, free: 8.746 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.759e-05/0.1222, allocations: 25.66 kB / 0.6727 GB, free: 8.715 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.1222, allocations: 0 / 0.6727 GB, free: 8.715 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.021e-05/0.1223, allocations: 49.62 kB / 0.6728 GB, free: 8.66 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.1223, allocations: 8 kB / 0.6728 GB, free: 8.652 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.1223, allocations: 0 / 0.6728 GB, free: 8.652 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.1224, allocations: 0 / 0.6728 GB, free: 8.652 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.456e-05/0.1224, allocations: 4 kB / 0.6728 GB, free: 8.648 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.1224, allocations: 4.062 kB / 0.6728 GB, free: 8.645 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.473e-05/0.1224, allocations: 4 kB / 0.6728 GB, free: 8.641 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.164e-05/0.1225, allocations: 0 / 0.6728 GB, free: 8.641 MB / 0.6355 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.362e-05/0.1225, allocations: 125.7 kB / 0.6729 GB, free: 8.508 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.575e-05/0.1226, allocations: 3.953 kB / 0.6729 GB, free: 8.504 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001451/0.1227, allocations: 120.9 kB / 0.673 GB, free: 8.371 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.829e-05/0.1228, allocations: 180.3 kB / 0.6732 GB, free: 8.188 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.635e-05/0.1228, allocations: 188.3 kB / 0.6734 GB, free: 7.996 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.175e-05/0.1229, allocations: 184.2 kB / 0.6736 GB, free: 7.809 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001833/0.123, allocations: 376.2 kB / 0.6739 GB, free: 7.391 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.93e-05/0.1231, allocations: 108.9 kB / 0.674 GB, free: 7.277 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.228e-05/0.1231, allocations: 105 kB / 0.6741 GB, free: 7.168 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.839e-05/0.1232, allocations: 180.3 kB / 0.6743 GB, free: 6.984 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.355e-05/0.1232, allocations: 180.2 kB / 0.6745 GB, free: 6.801 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.098e-05/0.1233, allocations: 180.3 kB / 0.6746 GB, free: 6.617 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.156e-05/0.1233, allocations: 184.2 kB / 0.6748 GB, free: 6.43 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001475/0.1235, allocations: 303.8 kB / 0.6751 GB, free: 6.109 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.822e-05/0.1235, allocations: 108.9 kB / 0.6752 GB, free: 5.996 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.286e-05/0.1236, allocations: 184.2 kB / 0.6754 GB, free: 5.809 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001262/0.1237, allocations: 112.9 kB / 0.6755 GB, free: 5.691 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.549e-05/0.1238, allocations: 176.3 kB / 0.6757 GB, free: 5.512 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.395e-05/0.1238, allocations: 109 kB / 0.6758 GB, free: 5.398 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.652e-05/0.1239, allocations: 87.27 kB / 0.6759 GB, free: 5.312 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.1239, allocations: 3.938 kB / 0.6759 GB, free: 5.309 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002619/0.1241, allocations: 59.69 kB / 0.6759 GB, free: 5.25 MB / 0.6355 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.0008027/0.1249, allocations: 0.8866 MB / 0.6768 GB, free: 4.332 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 8.003e-05/0.125, allocations: 11.94 kB / 0.6768 GB, free: 4.32 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.125, allocations: 0 / 0.6768 GB, free: 4.32 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.172e-06/0.125, allocations: 0 / 0.6768 GB, free: 4.32 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003167/0.1253, allocations: 459.7 kB / 0.6772 GB, free: 3.867 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009402/0.1263, allocations: 1.339 MB / 0.6785 GB, free: 2.438 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.905e-05/0.1263, allocations: 63.47 kB / 0.6786 GB, free: 2.355 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.51e-05/0.1264, allocations: 8.031 kB / 0.6786 GB, free: 2.352 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.01e-05/0.1264, allocations: 12.5 kB / 0.6786 GB, free: 2.34 MB / 0.6355 GB Notification: Performance of SimCode: time 1.062e-06/0.1264, allocations: 0 / 0.6786 GB, free: 2.34 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2526/0.379, allocations: 2.914 MB / 0.6815 GB, free: 168.7 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.288/7.667, allocations: 9.688 kB / 0.6815 GB, free: 168.7 MB / 0.6355 GB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion_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_SteamTemperatureEnthalpyInversion.fmu > IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.329642901197076] Failed to read output from testmodel.py, exit status != 0: 7.7478080270811915 7.760918057 7.637836618 Calling exit ...