Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.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.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") translateModel(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001174/0.001174, allocations: 117.5 kB / 16.37 MB, free: 6.016 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.0011/0.0011, allocations: 189.7 kB / 17.3 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.366/1.366, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7877/0.7877, allocations: 132.2 MB / 423.3 MB, free: 6.625 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 67.89 kB / 0.5032 GB, free: 10.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3798/0.381, allocations: 80.18 MB / 0.5815 GB, free: 27.66 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.005151/0.3862, allocations: 4.055 MB / 0.5855 GB, free: 24.42 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002464/0.3887, allocations: 2.432 MB / 0.5878 GB, free: 22.47 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001189/0.3889, allocations: 2.312 kB / 0.5878 GB, free: 22.47 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003105/0.3892, allocations: 46.39 kB / 0.5879 GB, free: 22.43 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003104/0.3896, allocations: 101.6 kB / 0.588 GB, free: 22.35 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001328/0.3909, allocations: 0.5143 MB / 0.5885 GB, free: 21.98 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003351/0.3913, allocations: 259.8 kB / 0.5887 GB, free: 21.84 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.259e-05/0.3913, allocations: 9.688 kB / 0.5887 GB, free: 21.84 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002188/0.3916, allocations: 120.2 kB / 0.5888 GB, free: 21.78 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001552/0.3917, allocations: 99.83 kB / 0.5889 GB, free: 21.72 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.547e-05/0.3918, allocations: 8.969 kB / 0.589 GB, free: 21.72 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008274/0.3926, allocations: 457.9 kB / 0.5894 GB, free: 21.48 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.689e-05/0.3927, allocations: 49.52 kB / 0.5894 GB, free: 21.44 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000108/0.3928, allocations: 82.44 kB / 0.5895 GB, free: 21.4 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006202/0.3934, allocations: 407.6 kB / 0.5899 GB, free: 21.18 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.3934, allocations: 1.344 kB / 0.5899 GB, free: 21.18 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3934, allocations: 0 / 0.5899 GB, free: 21.18 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.052e-05/0.3935, allocations: 0 / 0.5899 GB, free: 21.18 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0006814/0.3941, allocations: 0.5041 MB / 0.5904 GB, free: 20.7 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.3942, allocations: 9.188 kB / 0.5904 GB, free: 20.7 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00191/0.3961, allocations: 183.4 kB / 0.5906 GB, free: 20.61 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002838/0.3964, allocations: 212.7 kB / 0.5908 GB, free: 20.38 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.32e-05/0.3964, allocations: 11.39 kB / 0.5908 GB, free: 20.37 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.715e-05/0.3965, allocations: 15.44 kB / 0.5908 GB, free: 20.37 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006228/0.3971, allocations: 310.7 kB / 0.5911 GB, free: 20.12 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.3971, allocations: 1.875 kB / 0.5911 GB, free: 20.12 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.428e-05/0.3972, allocations: 11.77 kB / 0.5911 GB, free: 20.12 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.629e-05/0.3972, allocations: 14.31 kB / 0.5911 GB, free: 20.11 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006591/0.3979, allocations: 264.4 kB / 0.5914 GB, free: 19.96 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00133/0.3992, allocations: 1.376 MB / 0.5927 GB, free: 18.48 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005487/0.3998, allocations: 187.6 kB / 0.5929 GB, free: 18.29 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001848/0.4, allocations: 87.09 kB / 0.593 GB, free: 18.2 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.668e-05/0.4, allocations: 7.984 kB / 0.593 GB, free: 18.19 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.556e-05/0.4, allocations: 31.06 kB / 0.593 GB, free: 18.15 MB / 446.1 MB Notification: Performance of pre-optimization done (n=18): time 1.753e-06/0.4001, allocations: 0 / 0.593 GB, free: 18.15 MB / 446.1 MB Notification: Performance of matching and sorting (n=18): time 0.0006652/0.4007, allocations: 248.9 kB / 0.5933 GB, free: 17.91 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.604e-05/0.4008, allocations: 55.41 kB / 0.5933 GB, free: 17.84 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/0.4009, allocations: 158.4 kB / 0.5935 GB, free: 17.68 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.286e-05/0.4009, allocations: 29.7 kB / 0.5935 GB, free: 17.64 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.169e-05/0.401, allocations: 124.6 kB / 0.5936 GB, free: 17.52 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.355e-05/0.401, allocations: 64.61 kB / 0.5937 GB, free: 17.45 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.2e-05/0.4011, allocations: 53.83 kB / 0.5937 GB, free: 17.39 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.916e-05/0.4011, allocations: 322.8 kB / 0.594 GB, free: 17.07 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001809/0.4013, allocations: 69.58 kB / 0.5941 GB, free: 17 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002032/0.4015, allocations: 147.1 kB / 0.5942 GB, free: 16.83 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003774/0.4019, allocations: 215 kB / 0.5944 GB, free: 16.59 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.4019, allocations: 0 / 0.5944 GB, free: 16.59 MB / 446.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004804/0.4024, allocations: 247.9 kB / 0.5947 GB, free: 16.35 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.4025, allocations: 10.03 kB / 0.5947 GB, free: 16.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.4025, allocations: 0 / 0.5947 GB, free: 16.34 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.019e-05/0.4025, allocations: 4 kB / 0.5947 GB, free: 16.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003416/0.4028, allocations: 67.89 kB / 0.5948 GB, free: 16.27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.796e-06/0.4029, allocations: 8.641 kB / 0.5948 GB, free: 16.26 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002202/0.4031, allocations: 32.69 kB / 0.5948 GB, free: 16.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.188e-05/0.4031, allocations: 11.98 kB / 0.5948 GB, free: 16.22 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (28): * Single equations (assignments): 28 * 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 9.727e-05/0.4032, allocations: 130.3 kB / 0.5949 GB, free: 16.08 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.94e-05/0.4033, allocations: 20.62 kB / 0.595 GB, free: 16.06 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005236/0.4038, allocations: 228.9 kB / 0.5952 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.4038, allocations: 0.875 kB / 0.5952 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.4038, allocations: 4 kB / 0.5952 GB, free: 15.83 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.4038, allocations: 0.7188 kB / 0.5952 GB, free: 15.83 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002184/0.4041, allocations: 253.3 kB / 0.5954 GB, free: 15.54 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.4041, allocations: 4.5 kB / 0.5954 GB, free: 15.53 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002724/0.4043, allocations: 40.75 kB / 0.5955 GB, free: 15.49 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.4044, allocations: 1.219 kB / 0.5955 GB, free: 15.49 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.088e-05/0.4044, allocations: 19.86 kB / 0.5955 GB, free: 15.47 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.4044, allocations: 0 / 0.5955 GB, free: 15.47 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.4044, allocations: 5.75 kB / 0.5955 GB, free: 15.47 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004392/0.4048, allocations: 296.2 kB / 0.5958 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.684e-05/0.4049, allocations: 100.9 kB / 0.5959 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.277e-05/0.405, allocations: 6.406 kB / 0.5959 GB, free: 15.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002595/0.4052, allocations: 23.97 kB / 0.5959 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.713e-05/0.4053, allocations: 7.984 kB / 0.5959 GB, free: 15.01 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.326e-05/0.4053, allocations: 8 kB / 0.5959 GB, free: 15 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.284e-05/0.4054, allocations: 123.7 kB / 0.596 GB, free: 14.89 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4054, allocations: 0 / 0.596 GB, free: 14.89 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003662/0.4058, allocations: 68.03 kB / 0.5961 GB, free: 14.82 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 (20): * Single equations (assignments): 20 * 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.0001907/0.4059, allocations: 136 kB / 0.5962 GB, free: 14.68 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004607/0.4064, allocations: 184.3 kB / 0.5964 GB, free: 14.51 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.4064, allocations: 4 kB / 0.5964 GB, free: 14.51 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001925/0.4066, allocations: 79.89 kB / 0.5965 GB, free: 14.43 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004512/0.4071, allocations: 62.67 kB / 0.5965 GB, free: 14.37 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008488/0.4079, allocations: 418.2 kB / 0.5969 GB, free: 13.94 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001377/0.4081, allocations: 0.7211 MB / 0.5976 GB, free: 13.2 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002238/0.4083, allocations: 49.92 kB / 0.5977 GB, free: 13.15 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.715e-05/0.4084, allocations: 23.44 kB / 0.5977 GB, free: 13.12 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4084, allocations: 0 / 0.5977 GB, free: 13.12 MB / 446.1 MB Notification: Performance of Templates: time 0.00565/0.4141, allocations: 3.395 MB / 0.601 GB, free: 9.809 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.makefile (rm -f IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & ./IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1)