Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.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.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") translateModel(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001619/0.001619, allocations: 106.6 kB / 16.35 MB, free: 5.824 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.001509/0.001509, allocations: 189.4 kB / 17.29 MB, free: 5.48 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.401/1.401, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8309/0.8309, allocations: 132.2 MB / 423.3 MB, free: 6.586 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 59.91 kB / 0.5032 GB, free: 10.93 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3648/0.366, allocations: 80.18 MB / 0.5815 GB, free: 27.62 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002178/0.3683, allocations: 1.262 MB / 0.5827 GB, free: 26.63 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00236/0.3706, allocations: 2.505 MB / 0.5852 GB, free: 24.61 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.873e-05/0.3707, allocations: 0.6562 kB / 0.5852 GB, free: 24.61 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.952e-05/0.3707, allocations: 6.516 kB / 0.5852 GB, free: 24.61 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.49e-05/0.3708, allocations: 5.281 kB / 0.5852 GB, free: 24.61 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004853/0.3713, allocations: 128.5 kB / 0.5853 GB, free: 24.51 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.427e-05/0.3714, allocations: 34.62 kB / 0.5853 GB, free: 24.5 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.724e-05/0.3714, allocations: 2.031 kB / 0.5853 GB, free: 24.5 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.933e-05/0.3714, allocations: 25.17 kB / 0.5854 GB, free: 24.48 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.127e-05/0.3715, allocations: 15.25 kB / 0.5854 GB, free: 24.47 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.084e-05/0.3715, allocations: 1.875 kB / 0.5854 GB, free: 24.47 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002898/0.3718, allocations: 110.3 kB / 0.5855 GB, free: 24.42 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.785e-05/0.3718, allocations: 18.84 kB / 0.5855 GB, free: 24.41 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.336e-05/0.3719, allocations: 10.69 kB / 0.5855 GB, free: 24.4 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002016/0.3721, allocations: 80.61 kB / 0.5856 GB, free: 24.36 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.3721, allocations: 0 / 0.5856 GB, free: 24.36 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.464e-06/0.3721, allocations: 1.938 kB / 0.5856 GB, free: 24.36 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.012e-05/0.3721, allocations: 5.688 kB / 0.5856 GB, free: 24.36 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003592/0.3725, allocations: 364 kB / 0.5859 GB, free: 23.98 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.3725, allocations: 9.156 kB / 0.5859 GB, free: 23.98 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002024/0.3728, allocations: 14.8 kB / 0.586 GB, free: 23.97 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.281e-05/0.3728, allocations: 162.3 kB / 0.5861 GB, free: 23.78 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/0.3729, allocations: 4.188 kB / 0.5861 GB, free: 23.78 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.677e-05/0.3729, allocations: 7 kB / 0.5861 GB, free: 23.77 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001209/0.373, allocations: 76.16 kB / 0.5862 GB, free: 23.7 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.156e-06/0.373, allocations: 3.938 kB / 0.5862 GB, free: 23.7 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.373, allocations: 1.344 kB / 0.5862 GB, free: 23.7 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.3731, allocations: 1.469 kB / 0.5862 GB, free: 23.7 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.172e-05/0.3731, allocations: 6.281 kB / 0.5862 GB, free: 23.7 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004771/0.3736, allocations: 480.4 kB / 0.5867 GB, free: 23.19 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001111/0.3737, allocations: 71.84 kB / 0.5867 GB, free: 23.11 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.58e-05/0.3737, allocations: 29.06 kB / 0.5868 GB, free: 23.08 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.201e-05/0.3738, allocations: 1.375 kB / 0.5868 GB, free: 23.08 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.734e-05/0.3738, allocations: 35.34 kB / 0.5868 GB, free: 23.04 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.412e-06/0.3738, allocations: 0 / 0.5868 GB, free: 23.04 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005211/0.3743, allocations: 303.8 kB / 0.5871 GB, free: 22.74 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.347e-05/0.3744, allocations: 107.7 kB / 0.5872 GB, free: 22.61 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.33e-05/0.3744, allocations: 98.55 kB / 0.5873 GB, free: 22.51 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.688e-06/0.3744, allocations: 28.42 kB / 0.5873 GB, free: 22.48 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.521e-05/0.3745, allocations: 93.31 kB / 0.5874 GB, free: 22.39 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.376e-05/0.3745, allocations: 23.06 kB / 0.5874 GB, free: 22.37 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.471e-05/0.3745, allocations: 29.98 kB / 0.5875 GB, free: 22.34 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.427e-05/0.3746, allocations: 321.1 kB / 0.5878 GB, free: 22.02 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.666e-05/0.3746, allocations: 19.02 kB / 0.5878 GB, free: 22.01 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.533e-05/0.3746, allocations: 48.94 kB / 0.5878 GB, free: 21.96 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.407e-05/0.3747, allocations: 76.08 kB / 0.5879 GB, free: 21.89 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.3747, allocations: 2.438 kB / 0.5879 GB, free: 21.89 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001187/0.3748, allocations: 97.7 kB / 0.588 GB, free: 21.82 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.3749, allocations: 8.594 kB / 0.588 GB, free: 21.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.3749, allocations: 4.562 kB / 0.588 GB, free: 21.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.3749, allocations: 2.469 kB / 0.588 GB, free: 21.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.785e-05/0.375, allocations: 24.92 kB / 0.588 GB, free: 21.81 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.784e-06/0.375, allocations: 1.375 kB / 0.588 GB, free: 21.81 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.633e-05/0.375, allocations: 2.625 kB / 0.588 GB, free: 21.81 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.616e-06/0.3751, allocations: 7.875 kB / 0.588 GB, free: 21.81 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * 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.207e-05/0.3751, allocations: 117.4 kB / 0.5882 GB, free: 21.69 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.87e-05/0.3752, allocations: 7.688 kB / 0.5882 GB, free: 21.68 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.708e-05/0.3752, allocations: 9.656 kB / 0.5882 GB, free: 21.68 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.3752, allocations: 1.156 kB / 0.5882 GB, free: 21.68 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.3752, allocations: 10.05 kB / 0.5882 GB, free: 21.67 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.3752, allocations: 1.25 kB / 0.5882 GB, free: 21.67 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000282/0.3755, allocations: 184.1 kB / 0.5884 GB, free: 21.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.3755, allocations: 1.125 kB / 0.5884 GB, free: 21.46 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.97e-05/0.3756, allocations: 14.41 kB / 0.5884 GB, free: 21.46 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.3756, allocations: 0 / 0.5884 GB, free: 21.46 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-06/0.3757, allocations: 1.562 kB / 0.5884 GB, free: 21.46 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.3757, allocations: 1.156 kB / 0.5884 GB, free: 21.46 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.3757, allocations: 2.969 kB / 0.5884 GB, free: 21.46 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001651/0.3758, allocations: 333.7 kB / 0.5887 GB, free: 21.14 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.507e-05/0.3759, allocations: 85.58 kB / 0.5888 GB, free: 21.05 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.398e-05/0.3759, allocations: 2.188 kB / 0.5888 GB, free: 21.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001719/0.3761, allocations: 6.656 kB / 0.5888 GB, free: 21.04 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.843e-05/0.3761, allocations: 7.734 kB / 0.5888 GB, free: 21.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.216e-06/0.3761, allocations: 7.281 kB / 0.5888 GB, free: 21.04 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.065e-05/0.3761, allocations: 78.44 kB / 0.5889 GB, free: 20.96 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3762, allocations: 1.438 kB / 0.5889 GB, free: 20.96 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003088/0.3765, allocations: 13.22 kB / 0.5889 GB, free: 20.96 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (hLiqSym,cpSym,cvSym) * 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 (7): * Single equations (assignments): 7 * 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.000113/0.3766, allocations: 106.3 kB / 0.589 GB, free: 20.87 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001191/0.3767, allocations: 47.17 kB / 0.589 GB, free: 20.85 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.3767, allocations: 9.641 kB / 0.589 GB, free: 20.84 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.438e-05/0.3768, allocations: 15.75 kB / 0.5891 GB, free: 20.84 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004015/0.3772, allocations: 12.56 kB / 0.5891 GB, free: 20.83 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005464/0.3777, allocations: 345.9 kB / 0.5894 GB, free: 20.59 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001161/0.3778, allocations: 0.6868 MB / 0.5901 GB, free: 19.89 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.14e-05/0.3779, allocations: 7.219 kB / 0.5901 GB, free: 19.88 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.123e-05/0.3779, allocations: 11.22 kB / 0.5901 GB, free: 19.88 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3779, allocations: 0 / 0.5901 GB, free: 19.88 MB / 446.1 MB Notification: Performance of Templates: time 0.002845/0.3808, allocations: 0.6385 MB / 0.5907 GB, free: 19.57 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.makefile (rm -f IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & ./IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1)