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.0009703/0.0009703, allocations: 80.48 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.001151/0.001151, allocations: 169.9 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.8933/0.8933, 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.5669/0.5669, allocations: 114 MB / 373.9 MB, free: 8.73 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.834e-06/1.834e-06, allocations: 3.938 kB / 0.5542 GB, free: 2.832 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.128e-05/2.311e-05, allocations: 7.359 kB / 0.5542 GB, free: 2.828 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1092/0.1092, allocations: 119 MB / 0.6704 GB, free: 11.35 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.000154/0.1094, allocations: 43.77 kB / 0.6704 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.615e-05/0.1094, allocations: 0 / 0.6704 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001159/0.1095, allocations: 11.92 kB / 0.6704 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 7.233e-05/0.1096, allocations: 7.922 kB / 0.6704 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.00072/0.1103, allocations: 254.8 kB / 0.6707 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 7.862e-05/0.1104, allocations: 35.84 kB / 0.6707 GB, free: 11 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 3.978e-05/0.1104, allocations: 0 / 0.6707 GB, free: 11 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 5.061e-05/0.1105, allocations: 23.92 kB / 0.6707 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 6.842e-05/0.1106, allocations: 15.97 kB / 0.6708 GB, free: 10.96 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.299e-05/0.1106, allocations: 4 kB / 0.6708 GB, free: 10.96 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002911/0.1109, allocations: 175.4 kB / 0.6709 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 4.906e-05/0.1109, allocations: 11.98 kB / 0.6709 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.188e-05/0.1109, allocations: 11.92 kB / 0.671 GB, free: 10.76 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002467/0.1112, allocations: 171.6 kB / 0.6711 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1112, allocations: 0 / 0.6711 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.623e-06/0.1112, allocations: 0 / 0.6711 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.551e-06/0.1112, allocations: 4 kB / 0.6711 GB, free: 10.59 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.0003398/0.1115, allocations: 280.3 kB / 0.6714 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.1116, allocations: 12.62 kB / 0.6714 GB, free: 10.28 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.127e-05/0.1116, allocations: 38.73 kB / 0.6714 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.17e-05/0.1116, allocations: 12.83 kB / 0.6715 GB, free: 10.22 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.36e-05/0.1117, allocations: 105.7 kB / 0.6716 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.79e-05/0.1118, allocations: 55.97 kB / 0.6716 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.723e-06/0.1118, allocations: 384 / 0.6716 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001276/0.1119, allocations: 79.44 kB / 0.6717 GB, free: 9.934 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-06/0.1119, allocations: 0 / 0.6717 GB, free: 9.934 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.706e-06/0.1119, allocations: 0 / 0.6717 GB, free: 9.934 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.654e-05/0.1119, allocations: 4 kB / 0.6717 GB, free: 9.93 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.105e-05/0.112, allocations: 19.98 kB / 0.6717 GB, free: 9.91 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004913/0.1125, allocations: 272 kB / 0.672 GB, free: 9.602 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 3.553e-05/0.1125, allocations: 22.56 kB / 0.672 GB, free: 9.57 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.114e-05/0.1125, allocations: 8.797 kB / 0.672 GB, free: 9.559 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.051e-05/0.1126, allocations: 31.92 kB / 0.672 GB, free: 9.531 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.989e-05/0.1126, allocations: 30.56 kB / 0.6721 GB, free: 9.492 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.1126, allocations: 0 / 0.6721 GB, free: 9.492 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.000121/0.1127, allocations: 37.69 kB / 0.6721 GB, free: 9.449 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.622e-05/0.1127, allocations: 55.53 kB / 0.6721 GB, free: 9.383 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.088e-05/0.1128, allocations: 101.9 kB / 0.6722 GB, free: 9.273 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.092e-05/0.1128, allocations: 29.64 kB / 0.6723 GB, free: 9.238 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.131e-05/0.1128, allocations: 88.08 kB / 0.6724 GB, free: 9.148 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.941e-06/0.1128, allocations: 3.953 kB / 0.6724 GB, free: 9.145 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.334e-05/0.1129, allocations: 17.72 kB / 0.6724 GB, free: 9.121 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.787e-05/0.1129, allocations: 322.7 kB / 0.6727 GB, free: 8.797 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.217e-05/0.113, allocations: 3.984 kB / 0.6727 GB, free: 8.793 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.964e-05/0.113, allocations: 17.91 kB / 0.6727 GB, free: 8.77 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.356e-05/0.113, allocations: 21.72 kB / 0.6727 GB, free: 8.742 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.113, allocations: 0 / 0.6727 GB, free: 8.742 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.971e-05/0.1131, allocations: 53.72 kB / 0.6728 GB, free: 8.684 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.1131, allocations: 4 kB / 0.6728 GB, free: 8.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.1131, allocations: 0 / 0.6728 GB, free: 8.68 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.1131, allocations: 3.984 kB / 0.6728 GB, free: 8.676 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.825e-05/0.1131, allocations: 4 kB / 0.6728 GB, free: 8.672 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.1131, allocations: 7.984 kB / 0.6728 GB, free: 8.664 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.111e-05/0.1131, allocations: 0 / 0.6728 GB, free: 8.664 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.215e-06/0.1131, allocations: 0 / 0.6728 GB, free: 8.664 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 0.000337/0.1135, allocations: 125.8 kB / 0.6729 GB, free: 8.531 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.336e-05/0.1135, allocations: 3.953 kB / 0.6729 GB, free: 8.527 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.934e-05/0.1136, allocations: 124.9 kB / 0.673 GB, free: 8.391 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-05/0.1136, allocations: 188.3 kB / 0.6732 GB, free: 8.199 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.374e-05/0.1137, allocations: 184.3 kB / 0.6734 GB, free: 8.012 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.665e-05/0.1137, allocations: 176.3 kB / 0.6736 GB, free: 7.832 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001361/0.1138, allocations: 380.2 kB / 0.6739 GB, free: 7.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.049e-05/0.1139, allocations: 108.9 kB / 0.674 GB, free: 7.297 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.406e-05/0.1139, allocations: 101 kB / 0.6741 GB, free: 7.191 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.023e-05/0.1139, allocations: 184.2 kB / 0.6743 GB, free: 7.004 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.877e-05/0.114, allocations: 180.3 kB / 0.6745 GB, free: 6.82 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.371e-05/0.114, allocations: 180.2 kB / 0.6746 GB, free: 6.637 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.625e-05/0.1141, allocations: 180.2 kB / 0.6748 GB, free: 6.453 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.08e-05/0.1141, allocations: 311.7 kB / 0.6751 GB, free: 6.125 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.748e-05/0.1142, allocations: 105 kB / 0.6752 GB, free: 6.016 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.711e-05/0.1142, allocations: 184.2 kB / 0.6754 GB, free: 5.828 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.713e-05/0.1143, allocations: 101 kB / 0.6755 GB, free: 5.723 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.293e-05/0.1143, allocations: 188.3 kB / 0.6757 GB, free: 5.531 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.448e-05/0.1144, allocations: 112.9 kB / 0.6758 GB, free: 5.414 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.901e-05/0.1144, allocations: 83.22 kB / 0.6758 GB, free: 5.332 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.1144, allocations: 4 kB / 0.6759 GB, free: 5.328 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002079/0.1146, allocations: 63.73 kB / 0.6759 GB, free: 5.266 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.0004278/0.115, allocations: 0.8749 MB / 0.6768 GB, free: 4.359 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.268e-05/0.1151, allocations: 11.94 kB / 0.6768 GB, free: 4.348 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1151, allocations: 0 / 0.6768 GB, free: 4.348 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.182e-06/0.1151, allocations: 0 / 0.6768 GB, free: 4.348 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002827/0.1154, allocations: 463.7 kB / 0.6772 GB, free: 3.891 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007309/0.1161, allocations: 1.351 MB / 0.6785 GB, free: 2.449 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.459e-05/0.1162, allocations: 55.36 kB / 0.6786 GB, free: 2.375 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.623e-05/0.1162, allocations: 12.11 kB / 0.6786 GB, free: 2.363 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.301e-05/0.1162, allocations: 12.5 kB / 0.6786 GB, free: 2.352 MB / 0.6355 GB Notification: Performance of SimCode: time 8.22e-07/0.1162, allocations: 0 / 0.6786 GB, free: 2.352 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.26/0.3763, allocations: 2.906 MB / 0.6815 GB, free: 168.7 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.441/7.817, allocations: 5.812 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Examples_SteamTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.316559643484652] Failed to read output from testmodel.py, exit status != 0: 7.896860980428755 7.906931088 7.793316465 Calling exit ...