Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001327/0.001327, allocations: 108.2 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001413/0.001413, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.417/1.417, allocations: 225.6 MB / 247.8 MB, free: 13.92 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8513/0.8513, allocations: 134 MB / 436.6 MB, free: 1.234 MB / 334.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001918/0.001918, allocations: 68.59 kB / 0.6051 GB, free: 15.83 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1614/0.1633, allocations: 84.68 MB / 0.6878 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.5044/0.6677, allocations: 135.8 MB / 0.8204 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0001639/0.6679, allocations: 51.11 kB / 0.8205 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.484e-05/0.6679, allocations: 0 / 0.8205 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001128/0.668, allocations: 11.66 kB / 0.8205 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 7.103e-05/0.6681, allocations: 16.08 kB / 0.8205 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008145/0.6689, allocations: 246.6 kB / 0.8207 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 8.889e-05/0.669, allocations: 39.23 kB / 0.8208 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.14e-05/0.669, allocations: 5.25 kB / 0.8208 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 3.347e-05/0.669, allocations: 12.88 kB / 0.8208 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 6.877e-05/0.6691, allocations: 17.7 kB / 0.8208 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.159e-05/0.6691, allocations: 2.562 kB / 0.8208 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004292/0.6696, allocations: 253.6 kB / 0.821 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 3.835e-05/0.6696, allocations: 10.48 kB / 0.8211 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 1.955e-05/0.6696, allocations: 5.312 kB / 0.8211 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0002915/0.6699, allocations: 190.9 kB / 0.8212 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.6699, allocations: 0 / 0.8212 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.322e-06/0.6699, allocations: 0 / 0.8212 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.6699, allocations: 0 / 0.8212 GB, free: 11.22 MB / 0.5919 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.0004243/0.6703, allocations: 367.8 kB / 0.8216 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.6704, allocations: 9.562 kB / 0.8216 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.176e-05/0.6704, allocations: 33.56 kB / 0.8216 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.159e-05/0.6704, allocations: 4.922 kB / 0.8216 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001224/0.6706, allocations: 169.4 kB / 0.8218 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.072e-05/0.6706, allocations: 26.27 kB / 0.8218 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.877e-06/0.6706, allocations: 6.312 kB / 0.8218 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001284/0.6708, allocations: 50.48 kB / 0.8219 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.6708, allocations: 3.938 kB / 0.8219 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.6708, allocations: 7.297 kB / 0.8219 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.421e-05/0.6708, allocations: 2.625 kB / 0.8219 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.77e-05/0.6708, allocations: 12.53 kB / 0.8219 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007473/0.6716, allocations: 0.5976 MB / 0.8225 GB, free: 9.883 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 4.27e-05/0.6716, allocations: 24.89 kB / 0.8225 GB, free: 9.852 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.468e-05/0.6716, allocations: 8.797 kB / 0.8225 GB, free: 9.84 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002225/0.6719, allocations: 338.6 kB / 0.8228 GB, free: 9.465 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.719e-05/0.6719, allocations: 31.72 kB / 0.8229 GB, free: 9.426 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.6719, allocations: 0 / 0.8229 GB, free: 9.426 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1): time 0.000135/0.672, allocations: 35.3 kB / 0.8229 GB, free: 9.395 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.539e-05/0.6721, allocations: 54.97 kB / 0.823 GB, free: 9.332 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.316e-05/0.6721, allocations: 106.2 kB / 0.8231 GB, free: 9.227 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.816e-05/0.6722, allocations: 29.02 kB / 0.8231 GB, free: 9.195 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 4.81e-05/0.6722, allocations: 81.2 kB / 0.8232 GB, free: 9.113 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.873e-06/0.6722, allocations: 7.672 kB / 0.8232 GB, free: 9.109 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.042e-05/0.6722, allocations: 16.97 kB / 0.8232 GB, free: 9.094 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001294/0.6724, allocations: 323.4 kB / 0.8235 GB, free: 8.773 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.322e-05/0.6724, allocations: 2.688 kB / 0.8235 GB, free: 8.773 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.599e-05/0.6724, allocations: 22.11 kB / 0.8235 GB, free: 8.754 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.128e-05/0.6724, allocations: 17.72 kB / 0.8235 GB, free: 8.738 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.6724, allocations: 0 / 0.8235 GB, free: 8.738 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.708e-05/0.6725, allocations: 48.55 kB / 0.8236 GB, free: 8.703 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.6725, allocations: 6.906 kB / 0.8236 GB, free: 8.703 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.6725, allocations: 0 / 0.8236 GB, free: 8.703 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.6726, allocations: 0 / 0.8236 GB, free: 8.703 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.327e-05/0.6726, allocations: 8.938 kB / 0.8236 GB, free: 8.699 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.6726, allocations: 4.312 kB / 0.8236 GB, free: 8.699 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.732e-05/0.6726, allocations: 3.188 kB / 0.8236 GB, free: 8.699 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.118e-05/0.6726, allocations: 6.969 kB / 0.8236 GB, free: 8.695 MB / 0.5919 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.286e-05/0.6727, allocations: 109.8 kB / 0.8237 GB, free: 8.578 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.787e-05/0.6727, allocations: 6.672 kB / 0.8237 GB, free: 8.574 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001153/0.6728, allocations: 121.2 kB / 0.8238 GB, free: 8.453 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.89e-05/0.6729, allocations: 189.5 kB / 0.824 GB, free: 8.266 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.195e-05/0.673, allocations: 180.3 kB / 0.8242 GB, free: 8.082 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.067e-05/0.6731, allocations: 180.3 kB / 0.8244 GB, free: 7.898 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002484/0.6733, allocations: 413.3 kB / 0.8248 GB, free: 7.449 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.082e-05/0.6734, allocations: 101 kB / 0.8249 GB, free: 7.344 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.991e-05/0.6734, allocations: 107.6 kB / 0.825 GB, free: 7.238 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.95e-05/0.6735, allocations: 190.8 kB / 0.8251 GB, free: 7.051 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-05/0.6735, allocations: 176.3 kB / 0.8253 GB, free: 6.871 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.95e-05/0.6736, allocations: 184.5 kB / 0.8255 GB, free: 6.688 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.754e-05/0.6737, allocations: 176.3 kB / 0.8257 GB, free: 6.508 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001514/0.6738, allocations: 317.8 kB / 0.826 GB, free: 6.184 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 7.967e-05/0.6739, allocations: 182.1 kB / 0.8261 GB, free: 5.98 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.525e-05/0.674, allocations: 189.1 kB / 0.8263 GB, free: 5.793 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001505/0.6741, allocations: 106.3 kB / 0.8264 GB, free: 5.688 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.208e-05/0.6742, allocations: 179.9 kB / 0.8266 GB, free: 5.508 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.343e-05/0.6743, allocations: 111.1 kB / 0.8267 GB, free: 5.395 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 5.401e-05/0.6743, allocations: 86.75 kB / 0.8268 GB, free: 5.316 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.6743, allocations: 0 / 0.8268 GB, free: 5.316 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003131/0.6746, allocations: 54.88 kB / 0.8268 GB, free: 5.305 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.0006006/0.6752, allocations: 0.879 MB / 0.8277 GB, free: 4.477 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 7.09e-05/0.6753, allocations: 13.94 kB / 0.8277 GB, free: 4.473 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.6753, allocations: 0 / 0.8277 GB, free: 4.473 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.192e-06/0.6753, allocations: 0 / 0.8277 GB, free: 4.473 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004122/0.6757, allocations: 462.5 kB / 0.8281 GB, free: 4.023 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001084/0.6768, allocations: 1.349 MB / 0.8295 GB, free: 2.695 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002907/0.6771, allocations: 0.6742 MB / 0.8301 GB, free: 2 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 4.285e-05/0.6771, allocations: 14.5 kB / 0.8301 GB, free: 1.992 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.629e-05/0.6772, allocations: 9.875 kB / 0.8301 GB, free: 1.984 MB / 0.5919 GB Notification: Performance of SimCode: time 4.2e-07/0.6772, allocations: 0 / 0.8301 GB, free: 1.984 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0234/0.7006, allocations: 2.205 MB / 0.8323 GB, free: 1.16 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.877/8.578, allocations: 16.11 kB / 0.8323 GB, free: 1.152 MB / 0.5919 GB " [Timeout remaining time 651] (rm -f IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Examples_SteamTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Examples_SteamTemperatureEnthalpyInversion.fmu > IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.082120710983872] Failed to read output from testmodel.py, exit status != 0: 8.643106213305146 8.655852466 7.983421102 Calling exit ...