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.001175/0.001175, allocations: 114.9 kB / 16.37 MB, free: 6.012 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.001239/0.001239, allocations: 192.6 kB / 17.31 MB, free: 5.613 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.352/1.352, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7829/0.7829, allocations: 135.1 MB / 426.3 MB, free: 4.125 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 63.89 kB / 0.5068 GB, free: 7.664 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3963/0.3976, allocations: 80.91 MB / 0.5858 GB, free: 25.5 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.004602/0.4022, allocations: 3.286 MB / 0.589 GB, free: 22.89 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 8.935e-05/0.4023, allocations: 57.02 kB / 0.589 GB, free: 22.84 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.858e-05/0.4024, allocations: 0 / 0.589 GB, free: 22.84 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 9.817e-05/0.4025, allocations: 0 / 0.589 GB, free: 22.84 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.208e-05/0.4026, allocations: 15.12 kB / 0.589 GB, free: 22.83 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004861/0.403, allocations: 188.6 kB / 0.5892 GB, free: 22.7 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.21e-05/0.4031, allocations: 32.62 kB / 0.5893 GB, free: 22.69 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.757e-05/0.4032, allocations: 7.078 kB / 0.5893 GB, free: 22.68 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.282e-05/0.4032, allocations: 23.61 kB / 0.5893 GB, free: 22.67 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.643e-05/0.4033, allocations: 9.047 kB / 0.5893 GB, free: 22.67 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.446e-05/0.4033, allocations: 1.406 kB / 0.5893 GB, free: 22.67 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000307/0.4036, allocations: 179 kB / 0.5895 GB, free: 22.56 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.866e-05/0.4037, allocations: 2.594 kB / 0.5895 GB, free: 22.56 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.205e-05/0.4037, allocations: 10.44 kB / 0.5895 GB, free: 22.55 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002573/0.404, allocations: 135 kB / 0.5896 GB, free: 22.49 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.404, allocations: 0 / 0.5896 GB, free: 22.49 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.404, allocations: 5.594 kB / 0.5896 GB, free: 22.48 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.404, allocations: 1.031 kB / 0.5896 GB, free: 22.48 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.0003854/0.4044, allocations: 347.5 kB / 0.5899 GB, free: 22.12 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.4045, allocations: 11.52 kB / 0.59 GB, free: 22.12 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.8e-05/0.4045, allocations: 2.406 kB / 0.59 GB, free: 22.12 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.735e-05/0.4046, allocations: 165.8 kB / 0.5901 GB, free: 21.92 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.574e-05/0.4047, allocations: 30.67 kB / 0.5901 GB, free: 21.89 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.969e-06/0.4047, allocations: 1.875 kB / 0.5901 GB, free: 21.89 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001435/0.4049, allocations: 52.14 kB / 0.5902 GB, free: 21.84 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.4049, allocations: 0 / 0.5902 GB, free: 21.84 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.4049, allocations: 0 / 0.5902 GB, free: 21.84 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.138e-05/0.4049, allocations: 1.219 kB / 0.5902 GB, free: 21.84 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.847e-05/0.405, allocations: 21.83 kB / 0.5902 GB, free: 21.83 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005481/0.4055, allocations: 0.586 MB / 0.5908 GB, free: 21.15 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.403e-05/0.4056, allocations: 17.2 kB / 0.5908 GB, free: 21.12 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.379e-05/0.4056, allocations: 6.203 kB / 0.5908 GB, free: 21.12 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001524/0.4058, allocations: 346.6 kB / 0.5911 GB, free: 20.72 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.165e-05/0.4058, allocations: 32.72 kB / 0.5912 GB, free: 20.68 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.914e-06/0.4058, allocations: 3.984 kB / 0.5912 GB, free: 20.68 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001455/0.4059, allocations: 41.42 kB / 0.5912 GB, free: 20.64 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.267e-05/0.406, allocations: 55.41 kB / 0.5913 GB, free: 20.57 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.132e-05/0.406, allocations: 105.8 kB / 0.5914 GB, free: 20.46 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.387e-06/0.4061, allocations: 26.39 kB / 0.5914 GB, free: 20.43 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.354e-05/0.4061, allocations: 88.7 kB / 0.5915 GB, free: 20.34 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.418e-06/0.4061, allocations: 3.906 kB / 0.5915 GB, free: 20.34 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.528e-05/0.4061, allocations: 18.55 kB / 0.5915 GB, free: 20.32 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.287e-05/0.4062, allocations: 319.6 kB / 0.5918 GB, free: 20 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.381e-05/0.4062, allocations: 4 kB / 0.5918 GB, free: 19.99 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.786e-05/0.4062, allocations: 15.09 kB / 0.5918 GB, free: 19.97 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.842e-05/0.4063, allocations: 27.23 kB / 0.5918 GB, free: 19.94 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.4063, allocations: 0 / 0.5918 GB, free: 19.94 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.32e-05/0.4063, allocations: 50.28 kB / 0.5919 GB, free: 19.89 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.041e-05/0.4064, allocations: 8.438 kB / 0.5919 GB, free: 19.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.4064, allocations: 0 / 0.5919 GB, free: 19.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.4064, allocations: 0.5625 kB / 0.5919 GB, free: 19.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.369e-05/0.4064, allocations: 4.625 kB / 0.5919 GB, free: 19.88 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.4064, allocations: 4 kB / 0.5919 GB, free: 19.87 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.829e-05/0.4065, allocations: 2.5 kB / 0.5919 GB, free: 19.87 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.225e-06/0.4065, allocations: 0 / 0.5919 GB, free: 19.87 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.887e-05/0.4065, allocations: 113.8 kB / 0.592 GB, free: 19.75 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.619e-05/0.4066, allocations: 3.906 kB / 0.592 GB, free: 19.75 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001004/0.4067, allocations: 122.1 kB / 0.5921 GB, free: 19.62 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.217e-05/0.4067, allocations: 185.7 kB / 0.5923 GB, free: 19.43 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.442e-05/0.4067, allocations: 180.3 kB / 0.5925 GB, free: 19.25 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.35e-05/0.4068, allocations: 185.2 kB / 0.5927 GB, free: 19.06 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001343/0.4069, allocations: 418.9 kB / 0.5931 GB, free: 18.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.518e-05/0.4069, allocations: 108.9 kB / 0.5932 GB, free: 18.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.115e-05/0.4069, allocations: 101 kB / 0.5933 GB, free: 18.38 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.1e-05/0.407, allocations: 177.8 kB / 0.5934 GB, free: 18.2 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.755e-05/0.407, allocations: 184.2 kB / 0.5936 GB, free: 18.01 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.34e-05/0.407, allocations: 181.4 kB / 0.5938 GB, free: 17.83 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.192e-05/0.407, allocations: 184.2 kB / 0.594 GB, free: 17.64 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.543e-05/0.4071, allocations: 310 kB / 0.5943 GB, free: 17.32 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.789e-05/0.4071, allocations: 182 kB / 0.5944 GB, free: 17.11 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.713e-05/0.4072, allocations: 185.8 kB / 0.5946 GB, free: 16.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001191/0.4073, allocations: 108.9 kB / 0.5947 GB, free: 16.81 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.427e-05/0.4073, allocations: 177.9 kB / 0.5949 GB, free: 16.63 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.458e-05/0.4074, allocations: 105 kB / 0.595 GB, free: 16.52 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.664e-05/0.4074, allocations: 86.09 kB / 0.5951 GB, free: 16.44 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4074, allocations: 0 / 0.5951 GB, free: 16.44 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002615/0.4077, allocations: 31.94 kB / 0.5951 GB, free: 16.41 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.0002019/0.4079, allocations: 243.3 kB / 0.5953 GB, free: 16.17 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 6.419e-05/0.408, allocations: 5.188 kB / 0.5953 GB, free: 16.16 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.408, allocations: 0 / 0.5953 GB, free: 16.16 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.283e-06/0.408, allocations: 5.531 kB / 0.5953 GB, free: 16.16 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003325/0.4083, allocations: 460.8 kB / 0.5958 GB, free: 15.71 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002114/0.4085, allocations: 184.6 kB / 0.596 GB, free: 15.5 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001037/0.4086, allocations: 0.6768 MB / 0.5966 GB, free: 14.8 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.485e-05/0.4087, allocations: 4 kB / 0.5966 GB, free: 14.79 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.363e-05/0.4087, allocations: 12.22 kB / 0.5966 GB, free: 14.78 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4087, allocations: 0 / 0.5966 GB, free: 14.78 MB / 446.1 MB Notification: Performance of Templates: time 0.003217/0.4119, allocations: 1.209 MB / 0.5978 GB, free: 13.67 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 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)