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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001729/0.001729, allocations: 182.7 kB / 16.63 MB, free: 5.117 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.637/0.637, allocations: 87.51 MB / 104.9 MB, free: 13.01 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.385/1.385, allocations: 222.9 MB / 349.1 MB, free: 2.766 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001048/0.001048, allocations: 113.6 kB / 420 MB, free: 8.496 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001054/0.001055, allocations: 55.91 kB / 0.4891 GB, free: 7.727 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3319/0.333, allocations: 70.06 MB / 0.5575 GB, free: 44.75 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1392/0.4722, allocations: 133.3 MB / 0.6877 GB, free: 7.395 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.0002214/0.4724, allocations: 63.78 kB / 0.6877 GB, free: 7.332 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.084e-05/0.4725, allocations: 0 / 0.6877 GB, free: 7.332 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001338/0.4726, allocations: 0 / 0.6877 GB, free: 7.332 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 9.349e-05/0.4727, allocations: 15.91 kB / 0.6878 GB, free: 7.316 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009283/0.4737, allocations: 228.7 kB / 0.688 GB, free: 7.094 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001262/0.4738, allocations: 55.83 kB / 0.688 GB, free: 7.039 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 5.667e-05/0.4739, allocations: 8 kB / 0.688 GB, free: 7.031 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 4.694e-05/0.4739, allocations: 19.91 kB / 0.6881 GB, free: 7.012 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 8.659e-05/0.474, allocations: 11.98 kB / 0.6881 GB, free: 7 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.513e-05/0.4741, allocations: 0 / 0.6881 GB, free: 7 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005167/0.4746, allocations: 243.4 kB / 0.6883 GB, free: 6.762 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 5.897e-05/0.4746, allocations: 15.92 kB / 0.6883 GB, free: 6.746 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 3.658e-05/0.4747, allocations: 8 kB / 0.6883 GB, free: 6.738 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.000385/0.4751, allocations: 193.7 kB / 0.6885 GB, free: 6.551 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.4751, allocations: 3.938 kB / 0.6885 GB, free: 6.547 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.483e-06/0.4751, allocations: 4 kB / 0.6885 GB, free: 6.543 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.247e-06/0.4751, allocations: 0 / 0.6885 GB, free: 6.543 MB / 0.4948 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.0005256/0.4757, allocations: 367.4 kB / 0.6889 GB, free: 6.137 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.4757, allocations: 8.031 kB / 0.6889 GB, free: 6.129 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.035e-05/0.4758, allocations: 0.9375 kB / 0.6889 GB, free: 6.129 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001352/0.4759, allocations: 168.4 kB / 0.689 GB, free: 5.926 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.346e-05/0.476, allocations: 30.27 kB / 0.6891 GB, free: 5.891 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.049e-05/0.476, allocations: 3.938 kB / 0.6891 GB, free: 5.887 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001563/0.4762, allocations: 49.67 kB / 0.6891 GB, free: 5.832 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.4762, allocations: 0 / 0.6891 GB, free: 5.832 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.4762, allocations: 0 / 0.6891 GB, free: 5.832 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.084e-05/0.4762, allocations: 0 / 0.6891 GB, free: 5.832 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.272e-05/0.4763, allocations: 23.92 kB / 0.6891 GB, free: 5.809 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009234/0.4772, allocations: 0.5989 MB / 0.6897 GB, free: 5.086 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.251e-05/0.4773, allocations: 14.58 kB / 0.6897 GB, free: 5.062 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.652e-05/0.4773, allocations: 8.922 kB / 0.6897 GB, free: 5.051 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002237/0.4775, allocations: 340.3 kB / 0.6901 GB, free: 4.645 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.674e-05/0.4776, allocations: 34.56 kB / 0.6901 GB, free: 4.602 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1): time 1.172e-06/0.4776, allocations: 0 / 0.6901 GB, free: 4.602 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1): time 0.0001549/0.4777, allocations: 41.55 kB / 0.6901 GB, free: 4.555 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.916e-05/0.4778, allocations: 51.41 kB / 0.6902 GB, free: 4.492 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.097e-05/0.4779, allocations: 105.8 kB / 0.6903 GB, free: 4.379 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.494e-05/0.4779, allocations: 25.7 kB / 0.6903 GB, free: 4.348 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.213e-05/0.4779, allocations: 84.05 kB / 0.6904 GB, free: 4.262 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 8.156e-06/0.478, allocations: 7.922 kB / 0.6904 GB, free: 4.254 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.026e-05/0.478, allocations: 17.72 kB / 0.6904 GB, free: 4.23 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001058/0.4781, allocations: 318.9 kB / 0.6907 GB, free: 3.91 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.285e-05/0.4781, allocations: 4 kB / 0.6907 GB, free: 3.906 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.661e-05/0.4782, allocations: 21.7 kB / 0.6907 GB, free: 3.879 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.345e-05/0.4782, allocations: 21.66 kB / 0.6908 GB, free: 3.852 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.4782, allocations: 0 / 0.6908 GB, free: 3.852 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.762e-05/0.4783, allocations: 45.69 kB / 0.6908 GB, free: 3.801 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.4783, allocations: 12.06 kB / 0.6908 GB, free: 3.789 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.024e-06/0.4783, allocations: 288 / 0.6908 GB, free: 3.789 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.4783, allocations: 3.938 kB / 0.6908 GB, free: 3.785 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.538e-05/0.4784, allocations: 4 kB / 0.6908 GB, free: 3.781 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.4784, allocations: 0 / 0.6908 GB, free: 3.781 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.943e-05/0.4784, allocations: 4 kB / 0.6908 GB, free: 3.777 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.052e-05/0.4784, allocations: 3.938 kB / 0.6908 GB, free: 3.773 MB / 0.4948 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.687e-05/0.4785, allocations: 117.8 kB / 0.691 GB, free: 3.648 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.66e-05/0.4785, allocations: 7.891 kB / 0.691 GB, free: 3.641 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001195/0.4787, allocations: 120.9 kB / 0.6911 GB, free: 3.512 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.729e-05/0.4787, allocations: 184.2 kB / 0.6912 GB, free: 3.324 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-05/0.4788, allocations: 180.2 kB / 0.6914 GB, free: 3.141 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.504e-05/0.4789, allocations: 180.2 kB / 0.6916 GB, free: 2.957 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002501/0.4791, allocations: 409.2 kB / 0.692 GB, free: 2.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.656e-05/0.4792, allocations: 105 kB / 0.6921 GB, free: 2.391 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.028e-05/0.4792, allocations: 108.9 kB / 0.6922 GB, free: 2.277 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.216e-05/0.4793, allocations: 176.3 kB / 0.6924 GB, free: 2.098 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.108e-05/0.4794, allocations: 180.2 kB / 0.6925 GB, free: 1.914 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.714e-05/0.4795, allocations: 180.2 kB / 0.6927 GB, free: 1.73 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.137e-05/0.4796, allocations: 188.2 kB / 0.6929 GB, free: 1.539 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004524/0.48, allocations: 0.8492 MB / 0.6937 GB, free: 0.625 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.108e-05/0.4801, allocations: 182.1 kB / 0.6939 GB, free: 432 kB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.711e-05/0.4802, allocations: 192.1 kB / 0.6941 GB, free: 232 kB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001804/0.4804, allocations: 105 kB / 0.6942 GB, free: 120 kB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.977e-05/0.4805, allocations: 188.2 kB / 0.6943 GB, free: 15.93 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.814e-05/0.4805, allocations: 101 kB / 0.6944 GB, free: 15.82 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 4.93e-05/0.4806, allocations: 83.27 kB / 0.6945 GB, free: 15.74 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1e-07/0.4806, allocations: 0 / 0.6945 GB, free: 15.74 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0004924/0.4811, allocations: 59.92 kB / 0.6946 GB, free: 15.68 MB / 0.5105 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.00032/0.4814, allocations: 250.4 kB / 0.6948 GB, free: 15.42 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 7.234e-05/0.4815, allocations: 11.92 kB / 0.6948 GB, free: 15.41 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.4815, allocations: 0 / 0.6948 GB, free: 15.41 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 2.054e-06/0.4815, allocations: 4.125 kB / 0.6948 GB, free: 15.41 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003938/0.4819, allocations: 0.5289 MB / 0.6953 GB, free: 14.88 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002935/0.4822, allocations: 179.6 kB / 0.6955 GB, free: 14.68 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002517/0.4825, allocations: 0.6731 MB / 0.6962 GB, free: 13.98 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 4.297e-05/0.4826, allocations: 11.98 kB / 0.6962 GB, free: 13.96 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.546e-05/0.4826, allocations: 7.438 kB / 0.6962 GB, free: 13.96 MB / 0.5105 GB Notification: Performance of SimCode: time 2.11e-07/0.4826, allocations: 0 / 0.6962 GB, free: 13.96 MB / 0.5105 GB Notification: Performance of Templates: time 0.003653/0.4862, allocations: 1.293 MB / 0.6975 GB, free: 12.67 MB / 0.5105 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)