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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) 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=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001346/0.001346, allocations: 100.7 kB / 16.64 MB, free: 6.824 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.001397/0.001398, allocations: 193.9 kB / 17.57 MB, free: 5.934 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.308/1.308, allocations: 222.9 MB / 241.2 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7451/0.7451, allocations: 122.8 MB / 414.2 MB, free: 76 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00139/0.00139, allocations: 63.91 kB / 0.4912 GB, free: 7.859 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3897/0.3911, allocations: 77.92 MB / 0.5673 GB, free: 32.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1356/0.5267, allocations: 133.5 MB / 0.6976 GB, free: 5.145 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0001654/0.527, allocations: 51.84 kB / 0.6977 GB, free: 5.094 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.053e-05/0.527, allocations: 0 / 0.6977 GB, free: 5.094 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.000105/0.5271, allocations: 3.938 kB / 0.6977 GB, free: 5.09 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.293e-05/0.5272, allocations: 8 kB / 0.6977 GB, free: 5.082 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000858/0.5281, allocations: 223.1 kB / 0.6979 GB, free: 4.863 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.753e-05/0.5282, allocations: 31.91 kB / 0.6979 GB, free: 4.832 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.751e-05/0.5282, allocations: 4 kB / 0.698 GB, free: 4.828 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.504e-05/0.5282, allocations: 15.92 kB / 0.698 GB, free: 4.812 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.942e-05/0.5283, allocations: 19.91 kB / 0.698 GB, free: 4.793 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.13e-05/0.5283, allocations: 4 kB / 0.698 GB, free: 4.789 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004467/0.5288, allocations: 243.4 kB / 0.6982 GB, free: 4.551 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.812e-05/0.5289, allocations: 11.98 kB / 0.6982 GB, free: 4.539 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 8.829e-05/0.5289, allocations: 11.92 kB / 0.6982 GB, free: 4.527 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000235/0.5292, allocations: 125.8 kB / 0.6984 GB, free: 4.406 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.5292, allocations: 3.984 kB / 0.6984 GB, free: 4.402 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.713e-06/0.5292, allocations: 0 / 0.6984 GB, free: 4.402 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.83e-06/0.5292, allocations: 3.938 kB / 0.6984 GB, free: 4.398 MB / 0.5294 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.0005014/0.5297, allocations: 355.4 kB / 0.6987 GB, free: 4.004 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.5298, allocations: 12.62 kB / 0.6987 GB, free: 3.992 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.272e-05/0.5298, allocations: 4.938 kB / 0.6987 GB, free: 3.988 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001321/0.53, allocations: 168.3 kB / 0.6989 GB, free: 3.785 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.153e-05/0.53, allocations: 26.27 kB / 0.6989 GB, free: 3.754 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.227e-05/0.53, allocations: 3.938 kB / 0.6989 GB, free: 3.75 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001322/0.5302, allocations: 45.69 kB / 0.699 GB, free: 3.699 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.5302, allocations: 0 / 0.699 GB, free: 3.699 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.5302, allocations: 0 / 0.699 GB, free: 3.699 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.143e-05/0.5302, allocations: 0 / 0.699 GB, free: 3.699 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.473e-05/0.5303, allocations: 19.98 kB / 0.699 GB, free: 3.68 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007899/0.5311, allocations: 0.6105 MB / 0.6996 GB, free: 2.945 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 3.504e-05/0.5311, allocations: 14.58 kB / 0.6996 GB, free: 2.922 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.683e-05/0.5312, allocations: 8.922 kB / 0.6996 GB, free: 2.91 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002133/0.5314, allocations: 332.4 kB / 0.6999 GB, free: 2.512 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.396e-05/0.5314, allocations: 34.56 kB / 0.6999 GB, free: 2.469 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.5314, allocations: 0 / 0.6999 GB, free: 2.469 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001477/0.5316, allocations: 45.62 kB / 0.7 GB, free: 2.418 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.424e-05/0.5316, allocations: 51.41 kB / 0.7 GB, free: 2.355 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.498e-05/0.5317, allocations: 101.9 kB / 0.7001 GB, free: 2.246 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.574e-05/0.5317, allocations: 25.7 kB / 0.7002 GB, free: 2.215 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.613e-05/0.5318, allocations: 88.03 kB / 0.7002 GB, free: 2.125 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.623e-06/0.5318, allocations: 11.97 kB / 0.7003 GB, free: 2.113 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.966e-05/0.5319, allocations: 13.72 kB / 0.7003 GB, free: 2.094 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001225/0.532, allocations: 318.8 kB / 0.7006 GB, free: 1.773 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.522e-05/0.532, allocations: 7.984 kB / 0.7006 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.303e-05/0.532, allocations: 17.72 kB / 0.7006 GB, free: 1.742 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.576e-05/0.5321, allocations: 29.66 kB / 0.7006 GB, free: 1.707 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.5321, allocations: 0 / 0.7006 GB, free: 1.707 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.14e-05/0.5322, allocations: 45.69 kB / 0.7007 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.5322, allocations: 5.875 kB / 0.7007 GB, free: 1.652 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.5322, allocations: 0 / 0.7007 GB, free: 1.652 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.5322, allocations: 4 kB / 0.7007 GB, free: 1.648 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.304e-05/0.5323, allocations: 4 kB / 0.7007 GB, free: 1.645 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.355e-06/0.5323, allocations: 7.922 kB / 0.7007 GB, free: 1.637 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.696e-05/0.5323, allocations: 0 / 0.7007 GB, free: 1.637 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.392e-05/0.5323, allocations: 11.94 kB / 0.7007 GB, free: 1.625 MB / 0.5294 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.229e-05/0.5324, allocations: 109.9 kB / 0.7008 GB, free: 1.508 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.572e-05/0.5324, allocations: 4 kB / 0.7008 GB, free: 1.504 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001566/0.5326, allocations: 124.8 kB / 0.7009 GB, free: 1.371 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000126/0.5327, allocations: 184.5 kB / 0.7011 GB, free: 1.184 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.864e-05/0.5328, allocations: 176.3 kB / 0.7013 GB, free: 1.004 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001332/0.5329, allocations: 184.2 kB / 0.7014 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002296/0.5332, allocations: 413.1 kB / 0.7018 GB, free: 364 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.298e-05/0.5332, allocations: 101 kB / 0.7019 GB, free: 256 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.388e-05/0.5332, allocations: 104.9 kB / 0.702 GB, free: 144 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.445e-05/0.5333, allocations: 192.2 kB / 0.7022 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.155e-05/0.5334, allocations: 176.3 kB / 0.7024 GB, free: 15.77 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.408e-05/0.5335, allocations: 184.2 kB / 0.7026 GB, free: 15.58 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.211e-05/0.5335, allocations: 176.3 kB / 0.7027 GB, free: 15.4 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001438/0.5337, allocations: 315.7 kB / 0.703 GB, free: 15.07 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.895e-05/0.5338, allocations: 182 kB / 0.7032 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.104e-05/0.5339, allocations: 180.3 kB / 0.7034 GB, free: 14.68 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001482/0.534, allocations: 113 kB / 0.7035 GB, free: 14.56 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.013e-05/0.5341, allocations: 180.2 kB / 0.7037 GB, free: 14.38 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.37e-05/0.5341, allocations: 105 kB / 0.7038 GB, free: 14.27 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.341e-05/0.5342, allocations: 87.22 kB / 0.7038 GB, free: 14.18 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5342, allocations: 0 / 0.7038 GB, free: 14.18 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003273/0.5345, allocations: 55.92 kB / 0.7039 GB, free: 14.13 MB / 0.545 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.0003333/0.5349, allocations: 253.5 kB / 0.7041 GB, free: 13.87 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 6.868e-05/0.5349, allocations: 11.94 kB / 0.7042 GB, free: 13.86 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.535, allocations: 4.125 kB / 0.7042 GB, free: 13.86 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.323e-06/0.535, allocations: 4 kB / 0.7042 GB, free: 13.85 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004259/0.5354, allocations: 455.9 kB / 0.7046 GB, free: 13.4 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000292/0.5357, allocations: 211.6 kB / 0.7048 GB, free: 13.16 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003426/0.536, allocations: 0.6845 MB / 0.7055 GB, free: 12.45 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.299e-05/0.5361, allocations: 7.438 kB / 0.7055 GB, free: 12.44 MB / 0.545 GB Notification: Performance of SimCode: time 4.71e-07/0.5361, allocations: 0 / 0.7055 GB, free: 12.44 MB / 0.545 GB Notification: Performance of Templates: time 0.003026/0.5391, allocations: 1.234 MB / 0.7067 GB, free: 11.21 MB / 0.545 GB make -j1 -f IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.makefile (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)