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.001085/0.001085, allocations: 102.4 kB / 16.35 MB, free: 5.875 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.001074/0.001074, allocations: 191 kB / 17.29 MB, free: 5.516 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.321/1.321, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8042/0.8042, allocations: 135.1 MB / 426.3 MB, free: 4.117 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001304, allocations: 59.91 kB / 0.5067 GB, free: 7.652 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3742/0.3755, allocations: 80.9 MB / 0.5858 GB, free: 25.53 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.004078/0.3796, allocations: 3.28 MB / 0.589 GB, free: 22.92 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 7.915e-05/0.3797, allocations: 47.3 kB / 0.589 GB, free: 22.89 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.539e-05/0.3798, allocations: 1.312 kB / 0.589 GB, free: 22.89 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001028/0.3799, allocations: 9.062 kB / 0.589 GB, free: 22.88 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.086e-05/0.38, allocations: 14.78 kB / 0.589 GB, free: 22.87 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004635/0.3804, allocations: 180 kB / 0.5892 GB, free: 22.75 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.565e-05/0.3805, allocations: 37.47 kB / 0.5892 GB, free: 22.73 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.846e-05/0.3806, allocations: 5.422 kB / 0.5892 GB, free: 22.72 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.568e-05/0.3806, allocations: 13.88 kB / 0.5893 GB, free: 22.72 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.113e-05/0.3807, allocations: 15.25 kB / 0.5893 GB, free: 22.71 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.144e-05/0.3807, allocations: 5.188 kB / 0.5893 GB, free: 22.71 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002957/0.381, allocations: 171.1 kB / 0.5894 GB, free: 22.61 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.746e-05/0.381, allocations: 11.27 kB / 0.5894 GB, free: 22.6 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.507e-05/0.3811, allocations: 13.05 kB / 0.5895 GB, free: 22.59 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000242/0.3813, allocations: 128.1 kB / 0.5896 GB, free: 22.53 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.3813, allocations: 4.484 kB / 0.5896 GB, free: 22.53 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.3813, allocations: 0.9062 kB / 0.5896 GB, free: 22.53 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.3814, allocations: 0 / 0.5896 GB, free: 22.53 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.0003396/0.3817, allocations: 352.8 kB / 0.5899 GB, free: 22.16 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.3817, allocations: 9.734 kB / 0.5899 GB, free: 22.16 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.994e-05/0.3818, allocations: 6.219 kB / 0.5899 GB, free: 22.16 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.011e-05/0.3819, allocations: 170.7 kB / 0.5901 GB, free: 21.95 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.48e-05/0.3819, allocations: 27.58 kB / 0.5901 GB, free: 21.92 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.171e-05/0.3819, allocations: 2.594 kB / 0.5901 GB, free: 21.92 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000125/0.3821, allocations: 44.41 kB / 0.5902 GB, free: 21.88 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.3821, allocations: 0 / 0.5902 GB, free: 21.88 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.3821, allocations: 9.047 kB / 0.5902 GB, free: 21.88 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.596e-05/0.3821, allocations: 3.469 kB / 0.5902 GB, free: 21.88 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.158e-05/0.3822, allocations: 16.78 kB / 0.5902 GB, free: 21.87 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004627/0.3826, allocations: 0.5856 MB / 0.5908 GB, free: 21.17 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.423e-05/0.3827, allocations: 23.58 kB / 0.5908 GB, free: 21.14 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.258e-05/0.3827, allocations: 6.297 kB / 0.5908 GB, free: 21.13 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001368/0.3828, allocations: 344.4 kB / 0.5911 GB, free: 20.72 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.006e-05/0.3829, allocations: 40.34 kB / 0.5912 GB, free: 20.67 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.162e-06/0.3829, allocations: 0 / 0.5912 GB, free: 20.67 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001265/0.383, allocations: 37.55 kB / 0.5912 GB, free: 20.63 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.095e-05/0.383, allocations: 51.41 kB / 0.5913 GB, free: 20.57 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.324e-05/0.3831, allocations: 115.2 kB / 0.5914 GB, free: 20.45 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.055e-06/0.3831, allocations: 25.7 kB / 0.5914 GB, free: 20.41 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.379e-05/0.3831, allocations: 80.14 kB / 0.5915 GB, free: 20.33 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.481e-06/0.3831, allocations: 9.375 kB / 0.5915 GB, free: 20.32 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.402e-05/0.3832, allocations: 17.7 kB / 0.5915 GB, free: 20.3 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.339e-05/0.3832, allocations: 319.9 kB / 0.5918 GB, free: 19.98 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.235e-05/0.3832, allocations: 0 / 0.5918 GB, free: 19.98 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.888e-05/0.3833, allocations: 25.23 kB / 0.5918 GB, free: 19.95 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.594e-05/0.3833, allocations: 17.72 kB / 0.5918 GB, free: 19.93 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.3833, allocations: 0 / 0.5918 GB, free: 19.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.902e-05/0.3834, allocations: 49.62 kB / 0.5919 GB, free: 19.88 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/0.3834, allocations: 8 kB / 0.5919 GB, free: 19.87 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.3834, allocations: 0 / 0.5919 GB, free: 19.87 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.3834, allocations: 0.5 kB / 0.5919 GB, free: 19.87 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.057e-05/0.3835, allocations: 4.562 kB / 0.5919 GB, free: 19.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.3835, allocations: 3.984 kB / 0.5919 GB, free: 19.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.798e-05/0.3835, allocations: 5.781 kB / 0.5919 GB, free: 19.86 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.3835, allocations: 3.938 kB / 0.5919 GB, free: 19.85 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.775e-05/0.3836, allocations: 117.8 kB / 0.592 GB, free: 19.73 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.556e-05/0.3836, allocations: 9.234 kB / 0.592 GB, free: 19.72 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.98e-05/0.3837, allocations: 113 kB / 0.5921 GB, free: 19.6 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.45e-05/0.3837, allocations: 182 kB / 0.5923 GB, free: 19.42 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.39e-05/0.3837, allocations: 180.3 kB / 0.5925 GB, free: 19.23 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.432e-05/0.3838, allocations: 185.2 kB / 0.5927 GB, free: 19.05 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001306/0.3839, allocations: 409.8 kB / 0.5931 GB, free: 18.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.477e-05/0.3839, allocations: 110.9 kB / 0.5932 GB, free: 18.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.457e-05/0.3839, allocations: 104.9 kB / 0.5933 GB, free: 18.37 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.089e-05/0.384, allocations: 176.3 kB / 0.5934 GB, free: 18.19 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.72e-05/0.384, allocations: 177.1 kB / 0.5936 GB, free: 18.01 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.397e-05/0.384, allocations: 185.4 kB / 0.5938 GB, free: 17.82 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.992e-05/0.384, allocations: 180.2 kB / 0.5939 GB, free: 17.64 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.536e-05/0.3841, allocations: 317.9 kB / 0.5942 GB, free: 17.3 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.952e-05/0.3842, allocations: 179.2 kB / 0.5944 GB, free: 17.11 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.854e-05/0.3842, allocations: 188.2 kB / 0.5946 GB, free: 16.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001217/0.3843, allocations: 106 kB / 0.5947 GB, free: 16.8 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.07e-05/0.3844, allocations: 184.9 kB / 0.5949 GB, free: 16.62 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.589e-05/0.3844, allocations: 111.5 kB / 0.595 GB, free: 16.5 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.799e-05/0.3844, allocations: 83.22 kB / 0.5951 GB, free: 16.42 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3844, allocations: 0 / 0.5951 GB, free: 16.42 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002548/0.3847, allocations: 35.94 kB / 0.5951 GB, free: 16.39 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.0002032/0.3849, allocations: 237.6 kB / 0.5953 GB, free: 16.15 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 6.536e-05/0.385, allocations: 11.94 kB / 0.5953 GB, free: 16.14 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.385, allocations: 0 / 0.5953 GB, free: 16.14 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.062e-06/0.385, allocations: 0 / 0.5953 GB, free: 16.14 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003068/0.3853, allocations: 457.5 kB / 0.5958 GB, free: 15.69 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002103/0.3855, allocations: 183.4 kB / 0.5959 GB, free: 15.48 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001385/0.3857, allocations: 0.6807 MB / 0.5966 GB, free: 14.78 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.686e-05/0.3857, allocations: 13.2 kB / 0.5966 GB, free: 14.77 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.486e-05/0.3857, allocations: 8.812 kB / 0.5966 GB, free: 14.76 MB / 446.1 MB Notification: Performance of SimCode: time 2.71e-07/0.3857, allocations: 0 / 0.5966 GB, free: 14.76 MB / 446.1 MB Notification: Performance of Templates: time 0.003297/0.389, allocations: 1.205 MB / 0.5978 GB, free: 13.65 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 cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)