Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001937/0.001937, allocations: 106.6 kB / 15.99 MB, free: 6.348 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.002182/0.002182, allocations: 198.9 kB / 16.91 MB, free: 6.188 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.326/1.326, allocations: 222.9 MB / 240.6 MB, free: 13.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7835/0.7835, allocations: 132.2 MB / 422.9 MB, free: 6.797 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 63.91 kB / 0.5019 GB, free: 12.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4393/0.4406, allocations: 80.18 MB / 0.5802 GB, free: 27.03 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.004283/0.4449, allocations: 3.344 MB / 0.5835 GB, free: 24.38 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 8.416e-05/0.445, allocations: 60.09 kB / 0.5835 GB, free: 24.33 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.102e-05/0.445, allocations: 1.438 kB / 0.5835 GB, free: 24.33 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 9.678e-05/0.4451, allocations: 0 / 0.5835 GB, free: 24.33 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.378e-05/0.4452, allocations: 6.344 kB / 0.5835 GB, free: 24.32 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004598/0.4457, allocations: 177.4 kB / 0.5837 GB, free: 24.21 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.718e-05/0.4458, allocations: 34.75 kB / 0.5837 GB, free: 24.19 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.293e-05/0.4458, allocations: 1.406 kB / 0.5837 GB, free: 24.19 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.939e-05/0.4459, allocations: 23.38 kB / 0.5838 GB, free: 24.18 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.871e-05/0.4459, allocations: 15.38 kB / 0.5838 GB, free: 24.17 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.145e-05/0.446, allocations: 0 / 0.5838 GB, free: 24.17 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002851/0.4463, allocations: 177.4 kB / 0.584 GB, free: 24.07 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.076e-05/0.4463, allocations: 7.016 kB / 0.584 GB, free: 24.06 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.104e-05/0.4463, allocations: 12.44 kB / 0.584 GB, free: 24.05 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001718/0.4465, allocations: 89.5 kB / 0.5841 GB, free: 24.02 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.4465, allocations: 1.312 kB / 0.5841 GB, free: 24.02 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.4465, allocations: 0 / 0.5841 GB, free: 24.02 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.4465, allocations: 0 / 0.5841 GB, free: 24.02 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.0003452/0.4469, allocations: 348.4 kB / 0.5844 GB, free: 23.65 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.4469, allocations: 11.16 kB / 0.5844 GB, free: 23.65 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.938e-05/0.447, allocations: 10.08 kB / 0.5844 GB, free: 23.64 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.664e-05/0.4471, allocations: 166 kB / 0.5846 GB, free: 23.44 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.462e-05/0.4471, allocations: 28.61 kB / 0.5846 GB, free: 23.41 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.145e-05/0.4472, allocations: 1.656 kB / 0.5846 GB, free: 23.41 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001263/0.4473, allocations: 48.78 kB / 0.5846 GB, free: 23.37 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.4473, allocations: 1.406 kB / 0.5846 GB, free: 23.37 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.4473, allocations: 0 / 0.5846 GB, free: 23.37 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.839e-05/0.4473, allocations: 9.359 kB / 0.5847 GB, free: 23.36 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.345e-05/0.4474, allocations: 9.719 kB / 0.5847 GB, free: 23.36 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004697/0.4479, allocations: 0.5908 MB / 0.5852 GB, free: 22.68 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.967e-05/0.4479, allocations: 17.23 kB / 0.5853 GB, free: 22.65 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.615e-05/0.4479, allocations: 10.22 kB / 0.5853 GB, free: 22.64 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000145/0.4481, allocations: 346.3 kB / 0.5856 GB, free: 22.25 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.388e-05/0.4481, allocations: 32.56 kB / 0.5856 GB, free: 22.21 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.4481, allocations: 1.188 kB / 0.5856 GB, free: 22.21 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001281/0.4482, allocations: 40.02 kB / 0.5857 GB, free: 22.17 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.97e-05/0.4483, allocations: 57.8 kB / 0.5857 GB, free: 22.1 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.447e-05/0.4483, allocations: 104.2 kB / 0.5858 GB, free: 22 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.706e-06/0.4484, allocations: 25.7 kB / 0.5858 GB, free: 21.96 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.729e-05/0.4484, allocations: 85.42 kB / 0.5859 GB, free: 21.88 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.512e-06/0.4484, allocations: 9.516 kB / 0.5859 GB, free: 21.87 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.557e-05/0.4484, allocations: 14.19 kB / 0.586 GB, free: 21.86 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.294e-05/0.4485, allocations: 316.1 kB / 0.5863 GB, free: 21.54 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.407e-05/0.4485, allocations: 3.688 kB / 0.5863 GB, free: 21.54 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.922e-05/0.4485, allocations: 20.77 kB / 0.5863 GB, free: 21.52 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.987e-05/0.4486, allocations: 26.53 kB / 0.5863 GB, free: 21.49 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.4486, allocations: 4 kB / 0.5863 GB, free: 21.49 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.482e-05/0.4486, allocations: 43.84 kB / 0.5863 GB, free: 21.45 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.4486, allocations: 5.312 kB / 0.5864 GB, free: 21.45 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.4487, allocations: 1.156 kB / 0.5864 GB, free: 21.45 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.4487, allocations: 5.062 kB / 0.5864 GB, free: 21.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.403e-05/0.4487, allocations: 4.781 kB / 0.5864 GB, free: 21.45 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.4487, allocations: 6.219 kB / 0.5864 GB, free: 21.45 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.888e-05/0.4488, allocations: 9.188 kB / 0.5864 GB, free: 21.44 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.697e-06/0.4488, allocations: 3.375 kB / 0.5864 GB, free: 21.44 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 5.027e-05/0.4488, allocations: 115.9 kB / 0.5865 GB, free: 21.32 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.612e-05/0.4489, allocations: 1.531 kB / 0.5865 GB, free: 21.32 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.779e-05/0.4489, allocations: 112.5 kB / 0.5866 GB, free: 21.2 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.557e-05/0.449, allocations: 186.3 kB / 0.5868 GB, free: 21.01 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-05/0.449, allocations: 181.4 kB / 0.5869 GB, free: 20.83 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.243e-05/0.449, allocations: 178.2 kB / 0.5871 GB, free: 20.65 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001236/0.4492, allocations: 417.1 kB / 0.5875 GB, free: 20.19 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.414e-05/0.4492, allocations: 102.9 kB / 0.5876 GB, free: 20.08 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.423e-05/0.4492, allocations: 107 kB / 0.5877 GB, free: 19.97 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.397e-05/0.4492, allocations: 179.1 kB / 0.5879 GB, free: 19.79 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.471e-05/0.4493, allocations: 180.2 kB / 0.5881 GB, free: 19.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.072e-05/0.4493, allocations: 182.3 kB / 0.5882 GB, free: 19.43 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.075e-05/0.4493, allocations: 177.4 kB / 0.5884 GB, free: 19.25 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.821e-05/0.4494, allocations: 310.8 kB / 0.5887 GB, free: 18.93 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.869e-05/0.4494, allocations: 191.5 kB / 0.5889 GB, free: 18.71 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.985e-05/0.4495, allocations: 182.4 kB / 0.5891 GB, free: 18.53 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001255/0.4496, allocations: 105.1 kB / 0.5892 GB, free: 18.43 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.721e-05/0.4496, allocations: 186.2 kB / 0.5893 GB, free: 18.24 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.471e-05/0.4497, allocations: 101.9 kB / 0.5894 GB, free: 18.13 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.81e-05/0.4497, allocations: 84.56 kB / 0.5895 GB, free: 18.05 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4497, allocations: 0.625 kB / 0.5895 GB, free: 18.05 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002678/0.45, allocations: 38.39 kB / 0.5895 GB, free: 18.04 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.0002242/0.4502, allocations: 241.5 kB / 0.5898 GB, free: 17.85 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 7.128e-05/0.4503, allocations: 10.03 kB / 0.5898 GB, free: 17.85 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.4503, allocations: 1.344 kB / 0.5898 GB, free: 17.85 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.172e-06/0.4503, allocations: 5.5 kB / 0.5898 GB, free: 17.84 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003584/0.4507, allocations: 467.7 kB / 0.5902 GB, free: 17.39 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002137/0.4509, allocations: 207.9 kB / 0.5904 GB, free: 17.17 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001033/0.451, allocations: 0.6797 MB / 0.5911 GB, free: 16.46 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.827e-05/0.451, allocations: 13.09 kB / 0.5911 GB, free: 16.46 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.451, allocations: 0 / 0.5911 GB, free: 16.46 MB / 446.1 MB Notification: Performance of Templates: time 0.002505/0.4535, allocations: 1.178 MB / 0.5923 GB, free: 15.91 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile (rm -f IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)