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.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 90] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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: translateModel(IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001833/0.001833, allocations: 111 kB / 17.33 MB, free: 5.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001895/0.001895, allocations: 201.9 kB / 18.33 MB, free: 4.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.516/1.516, allocations: 225.6 MB / 244.8 MB, free: 13.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.9441/0.9441, allocations: 128.4 MB / 426.1 MB, free: 7.188 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002109/0.002109, allocations: 63.84 kB / 0.5911 GB, free: 21.45 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2122/0.2144, allocations: 83.27 MB / 0.6725 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.5905/0.8049, allocations: 135.8 MB / 0.805 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0002285/0.8051, allocations: 50.98 kB / 0.8051 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.107e-05/0.8051, allocations: 0 / 0.8051 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001426/0.8053, allocations: 7.609 kB / 0.8051 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 9.833e-05/0.8054, allocations: 13.75 kB / 0.8051 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001019/0.8064, allocations: 246.9 kB / 0.8053 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001029/0.8065, allocations: 36.92 kB / 0.8054 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 5.121e-05/0.8066, allocations: 3 kB / 0.8054 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 4.406e-05/0.8066, allocations: 14.52 kB / 0.8054 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 7.949e-05/0.8067, allocations: 12.39 kB / 0.8054 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.35e-05/0.8067, allocations: 1.094 kB / 0.8054 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005479/0.8072, allocations: 253.1 kB / 0.8057 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 4.791e-05/0.8073, allocations: 10.06 kB / 0.8057 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 3.148e-05/0.8073, allocations: 14.72 kB / 0.8057 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0003687/0.8077, allocations: 186.1 kB / 0.8059 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.8077, allocations: 0 / 0.8059 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.192e-06/0.8077, allocations: 0 / 0.8059 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.8077, allocations: 0 / 0.8059 GB, free: 12.59 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.0004834/0.8082, allocations: 359.2 kB / 0.8062 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.8082, allocations: 9.75 kB / 0.8062 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.553e-05/0.8083, allocations: 12.53 kB / 0.8062 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001431/0.8084, allocations: 161.5 kB / 0.8064 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.139e-05/0.8085, allocations: 31.64 kB / 0.8064 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.211e-05/0.8085, allocations: 7.594 kB / 0.8064 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001213/0.8086, allocations: 42.34 kB / 0.8065 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.8086, allocations: 1 kB / 0.8065 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.8086, allocations: 2.578 kB / 0.8065 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.611e-05/0.8086, allocations: 1.188 kB / 0.8065 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.243e-05/0.8087, allocations: 19.8 kB / 0.8065 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009444/0.8096, allocations: 0.6081 MB / 0.8071 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 4.891e-05/0.8097, allocations: 20.11 kB / 0.8071 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.899e-05/0.8097, allocations: 10.03 kB / 0.8071 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00029/0.81, allocations: 335.2 kB / 0.8074 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.784e-05/0.81, allocations: 34.97 kB / 0.8074 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.81, allocations: 0 / 0.8074 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1): time 0.0001681/0.8102, allocations: 42.59 kB / 0.8075 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.284e-05/0.8102, allocations: 51.41 kB / 0.8075 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001064/0.8104, allocations: 102.4 kB / 0.8076 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.35e-05/0.8104, allocations: 25.7 kB / 0.8077 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 6.101e-05/0.8104, allocations: 85.53 kB / 0.8077 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 9.898e-06/0.8104, allocations: 11.08 kB / 0.8078 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.185e-05/0.8105, allocations: 12.66 kB / 0.8078 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002548/0.8107, allocations: 323.9 kB / 0.8081 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.819e-05/0.8108, allocations: 5.047 kB / 0.8081 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.279e-05/0.8108, allocations: 15.92 kB / 0.8081 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.571e-05/0.8108, allocations: 22.53 kB / 0.8081 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.8108, allocations: 1.094 kB / 0.8081 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.663e-05/0.8109, allocations: 47.72 kB / 0.8082 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.8109, allocations: 11.25 kB / 0.8082 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.8109, allocations: 1.125 kB / 0.8082 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.811, allocations: 1.281 kB / 0.8082 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.391e-05/0.811, allocations: 8.156 kB / 0.8082 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.811, allocations: 3.922 kB / 0.8082 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.908e-05/0.811, allocations: 1.125 kB / 0.8082 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.107e-05/0.8111, allocations: 1.125 kB / 0.8082 GB, free: 10.11 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 0.0001188/0.8112, allocations: 115.6 kB / 0.8083 GB, free: 9.992 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.795e-05/0.8112, allocations: 5.328 kB / 0.8083 GB, free: 9.988 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001476/0.8113, allocations: 121.8 kB / 0.8084 GB, free: 9.863 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.337e-05/0.8114, allocations: 181 kB / 0.8086 GB, free: 9.684 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001834/0.8116, allocations: 179.4 kB / 0.8088 GB, free: 9.504 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.895e-05/0.8117, allocations: 185.3 kB / 0.8089 GB, free: 9.316 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003194/0.812, allocations: 411.8 kB / 0.8093 GB, free: 8.867 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-05/0.8121, allocations: 106.4 kB / 0.8094 GB, free: 8.758 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.783e-05/0.8121, allocations: 102.3 kB / 0.8095 GB, free: 8.652 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.859e-05/0.8122, allocations: 182.5 kB / 0.8097 GB, free: 8.469 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.723e-05/0.8123, allocations: 182.4 kB / 0.8099 GB, free: 8.285 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.194e-05/0.8124, allocations: 177.7 kB / 0.8101 GB, free: 8.105 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.399e-05/0.8125, allocations: 191.3 kB / 0.8102 GB, free: 7.918 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001853/0.8127, allocations: 303.1 kB / 0.8105 GB, free: 7.605 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001114/0.8128, allocations: 189.1 kB / 0.8107 GB, free: 7.398 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001108/0.8129, allocations: 180.2 kB / 0.8109 GB, free: 7.219 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001645/0.8131, allocations: 112.1 kB / 0.811 GB, free: 7.105 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.025e-05/0.8131, allocations: 179.9 kB / 0.8112 GB, free: 6.926 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.053e-05/0.8132, allocations: 102.4 kB / 0.8113 GB, free: 6.82 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 5.531e-05/0.8133, allocations: 90.72 kB / 0.8113 GB, free: 6.742 MB / 0.5919 GB Notification: Performance of sort global known variables: time 6e-08/0.8133, allocations: 0 / 0.8113 GB, free: 6.742 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003786/0.8136, allocations: 62.47 kB / 0.8114 GB, free: 6.723 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.0004101/0.814, allocations: 250.5 kB / 0.8116 GB, free: 6.539 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 8.67e-05/0.8141, allocations: 11.05 kB / 0.8116 GB, free: 6.539 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.8141, allocations: 0 / 0.8116 GB, free: 6.539 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 2.595e-06/0.8141, allocations: 1.625 kB / 0.8116 GB, free: 6.539 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005918/0.8147, allocations: 461.6 kB / 0.8121 GB, free: 6.09 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002743/0.815, allocations: 177.3 kB / 0.8123 GB, free: 5.914 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005217/0.8155, allocations: 0.6757 MB / 0.8129 GB, free: 5.219 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 4.417e-05/0.8156, allocations: 12.06 kB / 0.8129 GB, free: 5.211 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.905e-05/0.8156, allocations: 9.906 kB / 0.8129 GB, free: 5.207 MB / 0.5919 GB Notification: Performance of SimCode: time 2.81e-07/0.8156, allocations: 0 / 0.8129 GB, free: 5.207 MB / 0.5919 GB Notification: Performance of Templates: time 0.004274/0.8199, allocations: 1.297 MB / 0.8142 GB, free: 5.031 MB / 0.5919 GB make -j1 -f IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.makefile [Timeout 660] (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 & ./IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 480]