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.001033/0.001033, allocations: 94.86 kB / 16.67 MB, free: 6.109 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.001208/0.001208, allocations: 182 kB / 17.58 MB, free: 5.812 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.335/1.335, allocations: 223.3 MB / 241.6 MB, free: 204 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7293/0.7293, allocations: 115.5 MB / 408.2 MB, free: 7.113 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003565/0.0003565, allocations: 8 kB / 496.5 MB, free: 15.68 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3619/0.3623, allocations: 77.51 MB / 0.5606 GB, free: 36.23 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1523/0.5146, allocations: 131.5 MB / 0.689 GB, free: 15.44 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0001603/0.5148, allocations: 51.84 kB / 0.6891 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.471e-05/0.5149, allocations: 4 kB / 0.6891 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001128/0.515, allocations: 4 kB / 0.6891 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.727e-05/0.5151, allocations: 7.922 kB / 0.6891 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001008/0.5161, allocations: 223.1 kB / 0.6893 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001892/0.5163, allocations: 47.89 kB / 0.6894 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.534e-05/0.5164, allocations: 7.984 kB / 0.6894 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.744e-05/0.5164, allocations: 19.98 kB / 0.6894 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.7e-05/0.5165, allocations: 11.88 kB / 0.6894 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.522e-05/0.5165, allocations: 4 kB / 0.6894 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006297/0.5172, allocations: 239.4 kB / 0.6896 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.37e-05/0.5172, allocations: 4 kB / 0.6896 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.795e-05/0.5173, allocations: 45.61 kB / 0.6897 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000336/0.5176, allocations: 125.8 kB / 0.6898 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.5176, allocations: 0 / 0.6898 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.503e-06/0.5176, allocations: 4 kB / 0.6898 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.037e-06/0.5177, allocations: 0 / 0.6898 GB, free: 14.65 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.0004528/0.5181, allocations: 351.5 kB / 0.6901 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/0.5182, allocations: 11.97 kB / 0.6901 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.57e-05/0.5182, allocations: 4.938 kB / 0.6901 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001206/0.5183, allocations: 168.2 kB / 0.6903 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.816e-05/0.5184, allocations: 26.27 kB / 0.6903 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.226e-05/0.5184, allocations: 7.938 kB / 0.6903 GB, free: 14 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001463/0.5186, allocations: 45.69 kB / 0.6904 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.5186, allocations: 0 / 0.6904 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.485e-05/0.5186, allocations: 3.984 kB / 0.6904 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.338e-05/0.5187, allocations: 7.984 kB / 0.6904 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.447e-05/0.5187, allocations: 8 kB / 0.6904 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008562/0.5196, allocations: 0.595 MB / 0.691 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 4.237e-05/0.5196, allocations: 34.44 kB / 0.691 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.58e-05/0.5197, allocations: 8.797 kB / 0.691 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002301/0.5199, allocations: 336.5 kB / 0.6913 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.473e-05/0.5199, allocations: 30.56 kB / 0.6914 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 1.273e-06/0.5199, allocations: 0 / 0.6914 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001495/0.5201, allocations: 37.7 kB / 0.6914 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.75e-05/0.5201, allocations: 55.47 kB / 0.6915 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001185/0.5203, allocations: 101.8 kB / 0.6916 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.067e-05/0.5203, allocations: 33.7 kB / 0.6916 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.126e-05/0.5204, allocations: 88.03 kB / 0.6917 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 7.284e-06/0.5204, allocations: 3.938 kB / 0.6917 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.57e-05/0.5204, allocations: 9.719 kB / 0.6917 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001726/0.5206, allocations: 326.8 kB / 0.692 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.483e-05/0.5206, allocations: 4 kB / 0.692 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.601e-05/0.5206, allocations: 17.72 kB / 0.692 GB, free: 12 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.895e-05/0.5207, allocations: 21.72 kB / 0.692 GB, free: 11.97 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.5207, allocations: 0 / 0.692 GB, free: 11.97 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.876e-05/0.5208, allocations: 53.53 kB / 0.6921 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.5208, allocations: 4 kB / 0.6921 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.5208, allocations: 4 kB / 0.6921 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.5208, allocations: 0 / 0.6921 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.981e-05/0.5209, allocations: 12.05 kB / 0.6921 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.5209, allocations: 0 / 0.6921 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.156e-05/0.5209, allocations: 4 kB / 0.6921 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.333e-05/0.5209, allocations: 3.938 kB / 0.6921 GB, free: 11.88 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 9.308e-05/0.521, allocations: 109.8 kB / 0.6922 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.646e-05/0.5211, allocations: 4 kB / 0.6922 GB, free: 11.76 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000139/0.5212, allocations: 121 kB / 0.6923 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.174e-05/0.5213, allocations: 184.2 kB / 0.6925 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.486e-05/0.5214, allocations: 180.3 kB / 0.6927 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.08e-05/0.5215, allocations: 176.3 kB / 0.6929 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002428/0.5217, allocations: 413.1 kB / 0.6933 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.495e-05/0.5218, allocations: 101 kB / 0.6933 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.172e-05/0.5218, allocations: 112.9 kB / 0.6935 GB, free: 10.4 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.259e-05/0.5219, allocations: 180.3 kB / 0.6936 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.847e-05/0.522, allocations: 176.3 kB / 0.6938 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.128e-05/0.522, allocations: 188.1 kB / 0.694 GB, free: 9.844 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.028e-05/0.5221, allocations: 180.3 kB / 0.6941 GB, free: 9.66 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001572/0.5223, allocations: 315.6 kB / 0.6944 GB, free: 9.328 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001024/0.5224, allocations: 186 kB / 0.6946 GB, free: 9.121 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.317e-05/0.5225, allocations: 184.2 kB / 0.6948 GB, free: 8.934 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001564/0.5226, allocations: 109 kB / 0.6949 GB, free: 8.82 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.562e-05/0.5227, allocations: 184.2 kB / 0.6951 GB, free: 8.633 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.738e-05/0.5228, allocations: 105 kB / 0.6952 GB, free: 8.523 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.08e-05/0.5228, allocations: 91.2 kB / 0.6953 GB, free: 8.434 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.6e-07/0.5228, allocations: 0 / 0.6953 GB, free: 8.434 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000338/0.5232, allocations: 59.92 kB / 0.6953 GB, free: 8.375 MB / 0.5294 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.0003676/0.5236, allocations: 246.7 kB / 0.6956 GB, free: 8.121 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 7.705e-05/0.5236, allocations: 15.92 kB / 0.6956 GB, free: 8.105 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.5236, allocations: 0 / 0.6956 GB, free: 8.105 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 2.134e-06/0.5237, allocations: 0 / 0.6956 GB, free: 8.105 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004947/0.5242, allocations: 0.5274 MB / 0.6961 GB, free: 7.574 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000315/0.5245, allocations: 210 kB / 0.6963 GB, free: 7.336 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000286/0.5248, allocations: 0.677 MB / 0.697 GB, free: 6.633 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.616e-05/0.5248, allocations: 15.38 kB / 0.697 GB, free: 6.617 MB / 0.5294 GB Notification: Performance of SimCode: time 2.495e-06/0.5248, allocations: 0 / 0.697 GB, free: 6.617 MB / 0.5294 GB Notification: Performance of Templates: time 0.00325/0.5281, allocations: 1.23 MB / 0.6982 GB, free: 5.395 MB / 0.5294 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)