Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 112.3 kB / 16.42 MB, free: 6.488 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.001149/0.001149, allocations: 186.7 kB / 17.35 MB, free: 5.727 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.204/1.204, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7161/0.7161, allocations: 135.1 MB / 426.3 MB, free: 4.098 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001083/0.001083, allocations: 70.64 kB / 0.5863 GB, free: 21.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1165, allocations: 80.92 MB / 0.6653 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.3877/0.5042, allocations: 135.4 MB / 0.7975 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0001355/0.5044, allocations: 53.59 kB / 0.7976 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.36e-05/0.5044, allocations: 0 / 0.7976 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 8.584e-05/0.5045, allocations: 0 / 0.7976 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 6.484e-05/0.5046, allocations: 14.78 kB / 0.7976 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006908/0.5053, allocations: 247.6 kB / 0.7978 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 7.753e-05/0.5054, allocations: 37.7 kB / 0.7979 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 2.953e-05/0.5054, allocations: 0.9688 kB / 0.7979 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 3.376e-05/0.5055, allocations: 11.95 kB / 0.7979 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 6.207e-05/0.5055, allocations: 19.23 kB / 0.7979 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.109e-05/0.5055, allocations: 1.25 kB / 0.7979 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004066/0.506, allocations: 246.5 kB / 0.7981 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 3.682e-05/0.506, allocations: 12.42 kB / 0.7982 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 2.522e-05/0.506, allocations: 10.17 kB / 0.7982 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0002981/0.5063, allocations: 187 kB / 0.7983 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.5063, allocations: 0 / 0.7983 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.032e-06/0.5063, allocations: 0 / 0.7983 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.604e-06/0.5064, allocations: 0 / 0.7983 GB, free: 12.77 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.0003612/0.5067, allocations: 364.5 kB / 0.7987 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.5068, allocations: 10.42 kB / 0.7987 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.568e-05/0.5068, allocations: 6.688 kB / 0.7987 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.92e-05/0.5069, allocations: 165.7 kB / 0.7989 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.723e-05/0.507, allocations: 33.77 kB / 0.7989 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.055e-06/0.507, allocations: 5.156 kB / 0.7989 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001151/0.5071, allocations: 48.12 kB / 0.7989 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.131e-06/0.5071, allocations: 0 / 0.7989 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.427e-06/0.5071, allocations: 1.312 kB / 0.799 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.463e-05/0.5072, allocations: 3.297 kB / 0.799 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.733e-05/0.5072, allocations: 14.92 kB / 0.799 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006203/0.5078, allocations: 0.6053 MB / 0.7996 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 2.744e-05/0.5079, allocations: 19.58 kB / 0.7996 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.26e-05/0.5079, allocations: 7.859 kB / 0.7996 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001757/0.5081, allocations: 337.5 kB / 0.7999 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.137e-05/0.5081, allocations: 35.81 kB / 0.7999 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.5081, allocations: 1.375 kB / 0.7999 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1): time 0.0001168/0.5082, allocations: 33.59 kB / 0.8 GB, free: 11 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.14e-05/0.5083, allocations: 51.41 kB / 0.8 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.024e-05/0.5083, allocations: 106.7 kB / 0.8001 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.27e-05/0.5083, allocations: 25.7 kB / 0.8001 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 4.083e-05/0.5084, allocations: 88.77 kB / 0.8002 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.712e-06/0.5084, allocations: 5.438 kB / 0.8002 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.368e-05/0.5084, allocations: 22.05 kB / 0.8003 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 8.584e-05/0.5085, allocations: 323 kB / 0.8006 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.293e-05/0.5086, allocations: 2.812 kB / 0.8006 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.081e-05/0.5086, allocations: 16.34 kB / 0.8006 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.873e-05/0.5086, allocations: 22.84 kB / 0.8006 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.5086, allocations: 0 / 0.8006 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.025e-05/0.5087, allocations: 59.34 kB / 0.8007 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.057e-05/0.5087, allocations: 4.5 kB / 0.8007 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.5087, allocations: 1.125 kB / 0.8007 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.004e-05/0.5087, allocations: 1.125 kB / 0.8007 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.591e-05/0.5088, allocations: 6.406 kB / 0.8007 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.593e-06/0.5088, allocations: 1.188 kB / 0.8007 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.733e-05/0.5088, allocations: 1.094 kB / 0.8007 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.5088, allocations: 3.266 kB / 0.8007 GB, free: 10.29 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 6.531e-05/0.5089, allocations: 119.2 kB / 0.8008 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.605e-05/0.5089, allocations: 2.125 kB / 0.8008 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.884e-05/0.509, allocations: 122 kB / 0.8009 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.017e-05/0.5091, allocations: 177.3 kB / 0.8011 GB, free: 9.871 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.933e-05/0.5091, allocations: 111.3 kB / 0.8012 GB, free: 9.758 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.675e-05/0.5092, allocations: 179.2 kB / 0.8014 GB, free: 9.559 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.748e-05/0.5092, allocations: 188 kB / 0.8015 GB, free: 9.371 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001413/0.5094, allocations: 110.9 kB / 0.8016 GB, free: 9.262 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.836e-05/0.5095, allocations: 180.7 kB / 0.8018 GB, free: 9.082 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 7.309e-05/0.5095, allocations: 256.5 kB / 0.8021 GB, free: 8.824 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000139/0.5097, allocations: 389 kB / 0.8024 GB, free: 8.43 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.118e-05/0.5097, allocations: 103.5 kB / 0.8025 GB, free: 8.324 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.272e-05/0.5098, allocations: 88.94 kB / 0.8026 GB, free: 8.246 MB / 0.5919 GB Notification: Performance of Backend: time 1.71e-07/0.5098, allocations: 1.344 kB / 0.8026 GB, free: 8.246 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004534/0.5102, allocations: 167.6 kB / 0.8028 GB, free: 8.16 MB / 0.5919 GB Notification: Performance of SimCode: time 0.0004211/0.5107, allocations: 0.8517 MB / 0.8036 GB, free: 7.293 MB / 0.5919 GB Notification: Performance of Templates: time 0.002903/0.5136, allocations: 1.202 MB / 0.8048 GB, free: 7.117 MB / 0.5919 GB make -j1 -f IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.makefile (rm -f IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.sim & ./IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1)