Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001617/0.001617, allocations: 110.4 kB / 15.99 MB, free: 6.352 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.001569/0.001569, allocations: 197.2 kB / 16.91 MB, free: 6.184 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.395/1.395, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8729/0.8729, allocations: 135.2 MB / 425.9 MB, free: 4.246 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00197/0.00197, allocations: 67.89 kB / 0.5055 GB, free: 8.668 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3971/0.3991, allocations: 80.92 MB / 0.5846 GB, free: 25.27 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.004025/0.4032, allocations: 3.341 MB / 0.5878 GB, free: 22.61 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 8.414e-05/0.4033, allocations: 52.42 kB / 0.5879 GB, free: 22.57 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.363e-05/0.4033, allocations: 0.6562 kB / 0.5879 GB, free: 22.57 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 9.693e-05/0.4035, allocations: 4.969 kB / 0.5879 GB, free: 22.57 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.174e-05/0.4035, allocations: 12.22 kB / 0.5879 GB, free: 22.56 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004555/0.404, allocations: 173 kB / 0.5881 GB, free: 22.45 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.152e-05/0.4041, allocations: 37.14 kB / 0.5881 GB, free: 22.43 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.929e-05/0.4041, allocations: 4.125 kB / 0.5881 GB, free: 22.43 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.704e-05/0.4042, allocations: 20.45 kB / 0.5881 GB, free: 22.41 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.003e-05/0.4042, allocations: 11.3 kB / 0.5881 GB, free: 22.41 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.003e-05/0.4043, allocations: 1.438 kB / 0.5881 GB, free: 22.41 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002789/0.4045, allocations: 178 kB / 0.5883 GB, free: 22.3 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.879e-05/0.4046, allocations: 5.203 kB / 0.5883 GB, free: 22.3 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.43e-05/0.4046, allocations: 16.83 kB / 0.5883 GB, free: 22.29 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001601/0.4048, allocations: 85.23 kB / 0.5884 GB, free: 22.26 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.4048, allocations: 1.188 kB / 0.5884 GB, free: 22.26 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.4048, allocations: 0.5 kB / 0.5884 GB, free: 22.26 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.4048, allocations: 0.5 kB / 0.5884 GB, free: 22.26 MB / 446.1 MB 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.0003448/0.4052, allocations: 354.1 kB / 0.5887 GB, free: 21.88 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.4052, allocations: 10.7 kB / 0.5888 GB, free: 21.88 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.19e-05/0.4053, allocations: 2.406 kB / 0.5888 GB, free: 21.88 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.515e-05/0.4053, allocations: 161.6 kB / 0.5889 GB, free: 21.69 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.542e-05/0.4054, allocations: 36.84 kB / 0.5889 GB, free: 21.65 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.826e-06/0.4054, allocations: 5.781 kB / 0.5889 GB, free: 21.64 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001339/0.4056, allocations: 49.25 kB / 0.589 GB, free: 21.6 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.4056, allocations: 3.938 kB / 0.589 GB, free: 21.6 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.4056, allocations: 1.312 kB / 0.589 GB, free: 21.6 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.646e-05/0.4056, allocations: 1 kB / 0.589 GB, free: 21.6 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.907e-05/0.4057, allocations: 14.98 kB / 0.589 GB, free: 21.59 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004807/0.4061, allocations: 0.581 MB / 0.5896 GB, free: 20.92 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.225e-05/0.4062, allocations: 25.88 kB / 0.5896 GB, free: 20.89 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.256e-05/0.4062, allocations: 6.203 kB / 0.5896 GB, free: 20.88 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001437/0.4064, allocations: 342.8 kB / 0.5899 GB, free: 20.49 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.228e-05/0.4064, allocations: 37.11 kB / 0.59 GB, free: 20.45 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/0.4064, allocations: 0 / 0.59 GB, free: 20.45 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001326/0.4065, allocations: 35.11 kB / 0.59 GB, free: 20.41 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.58e-05/0.4066, allocations: 54.84 kB / 0.5901 GB, free: 20.35 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.736e-05/0.4066, allocations: 111.4 kB / 0.5902 GB, free: 20.23 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.526e-06/0.4066, allocations: 25.7 kB / 0.5902 GB, free: 20.2 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.866e-05/0.4067, allocations: 91.5 kB / 0.5903 GB, free: 20.11 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.703e-06/0.4067, allocations: 4.844 kB / 0.5903 GB, free: 20.11 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.544e-05/0.4067, allocations: 13 kB / 0.5903 GB, free: 20.09 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.357e-05/0.4068, allocations: 320 kB / 0.5906 GB, free: 19.77 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.469e-05/0.4068, allocations: 8.312 kB / 0.5906 GB, free: 19.77 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.867e-05/0.4068, allocations: 13.88 kB / 0.5906 GB, free: 19.75 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.951e-05/0.4068, allocations: 24.58 kB / 0.5906 GB, free: 19.73 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.562e-06/0.4068, allocations: 1.094 kB / 0.5906 GB, free: 19.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.323e-05/0.4069, allocations: 47.17 kB / 0.5907 GB, free: 19.69 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.4069, allocations: 6.094 kB / 0.5907 GB, free: 19.69 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.4069, allocations: 1.312 kB / 0.5907 GB, free: 19.69 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.407, allocations: 1.125 kB / 0.5907 GB, free: 19.69 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.043e-05/0.407, allocations: 13.52 kB / 0.5907 GB, free: 19.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.407, allocations: 0 / 0.5907 GB, free: 19.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.697e-05/0.407, allocations: 2.219 kB / 0.5907 GB, free: 19.68 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.074e-05/0.4071, allocations: 2.344 kB / 0.5907 GB, free: 19.68 MB / 446.1 MB 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 4.942e-05/0.4071, allocations: 118.2 kB / 0.5908 GB, free: 19.56 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.577e-05/0.4071, allocations: 9.281 kB / 0.5908 GB, free: 19.55 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.323e-05/0.4072, allocations: 119.7 kB / 0.591 GB, free: 19.43 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.846e-05/0.4073, allocations: 177.7 kB / 0.5911 GB, free: 19.25 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-05/0.4073, allocations: 183.1 kB / 0.5913 GB, free: 19.07 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.017e-05/0.4073, allocations: 177.6 kB / 0.5915 GB, free: 18.89 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001301/0.4074, allocations: 417.5 kB / 0.5919 GB, free: 18.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.336e-05/0.4075, allocations: 106.3 kB / 0.592 GB, free: 18.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.354e-05/0.4075, allocations: 104 kB / 0.5921 GB, free: 18.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.368e-05/0.4075, allocations: 185.2 kB / 0.5922 GB, free: 18.03 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.408e-05/0.4075, allocations: 177.6 kB / 0.5924 GB, free: 17.85 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.022e-05/0.4076, allocations: 185.6 kB / 0.5926 GB, free: 17.66 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.161e-05/0.4076, allocations: 178 kB / 0.5928 GB, free: 17.48 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.621e-05/0.4077, allocations: 309.5 kB / 0.5931 GB, free: 17.16 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.911e-05/0.4077, allocations: 184 kB / 0.5932 GB, free: 16.96 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.663e-05/0.4077, allocations: 182.2 kB / 0.5934 GB, free: 16.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001266/0.4079, allocations: 109 kB / 0.5935 GB, free: 16.66 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.672e-05/0.4079, allocations: 182.8 kB / 0.5937 GB, free: 16.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.254e-05/0.4079, allocations: 102.4 kB / 0.5938 GB, free: 16.38 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.828e-05/0.408, allocations: 88.42 kB / 0.5939 GB, free: 16.29 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.408, allocations: 1.375 kB / 0.5939 GB, free: 16.29 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000278/0.4082, allocations: 34.5 kB / 0.5939 GB, free: 16.28 MB / 446.1 MB 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.0002251/0.4085, allocations: 238.2 kB / 0.5941 GB, free: 16.09 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 7.261e-05/0.4086, allocations: 14.48 kB / 0.5941 GB, free: 16.09 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.4086, allocations: 0 / 0.5941 GB, free: 16.09 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.212e-06/0.4086, allocations: 0 / 0.5941 GB, free: 16.09 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003403/0.4089, allocations: 462.9 kB / 0.5946 GB, free: 15.64 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002181/0.4091, allocations: 204.1 kB / 0.5948 GB, free: 15.42 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.17e-05/0.4092, allocations: 0.6754 MB / 0.5954 GB, free: 14.72 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.786e-05/0.4093, allocations: 12.66 kB / 0.5954 GB, free: 14.71 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4093, allocations: 0.9062 kB / 0.5954 GB, free: 14.71 MB / 446.1 MB Notification: Performance of Templates: time 0.002616/0.4119, allocations: 1.193 MB / 0.5966 GB, free: 13.79 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile (rm -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)