Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") translateModel(Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.001289/0.001289, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001463/0.001463, allocations: 193.5 kB / 16.14 MB, free: 6.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.49/1.49, allocations: 205.1 MB / 222 MB, free: 4.762 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3994/0.3994, allocations: 54.92 MB / 324.3 MB, free: 152 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001592/0.001592, allocations: 63.91 kB / 394.6 MB, free: 12.29 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1457/0.1473, allocations: 59.6 MB / 454.2 MB, free: 0.6172 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.2414/0.3887, allocations: 1.314 MB / 455.6 MB, free: 39.24 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002368/0.3911, allocations: 2.5 MB / 458.1 MB, free: 38.2 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.418e-05/0.3912, allocations: 0 / 458.1 MB, free: 38.2 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.138e-05/0.3913, allocations: 9.797 kB / 458.1 MB, free: 38.2 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.156e-05/0.3913, allocations: 3.625 kB / 458.1 MB, free: 38.2 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004825/0.3918, allocations: 120.7 kB / 458.2 MB, free: 38.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.777e-05/0.3919, allocations: 38.83 kB / 458.2 MB, free: 38.17 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.446e-05/0.3919, allocations: 2.781 kB / 458.2 MB, free: 38.17 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.862e-05/0.392, allocations: 15.08 kB / 458.2 MB, free: 38.17 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.132e-05/0.392, allocations: 24.98 kB / 458.3 MB, free: 38.16 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.258e-05/0.392, allocations: 2.531 kB / 458.3 MB, free: 38.16 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002632/0.3923, allocations: 112.1 kB / 458.4 MB, free: 38.15 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.544e-05/0.3923, allocations: 6.453 kB / 458.4 MB, free: 38.15 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.031e-05/0.3924, allocations: 17.31 kB / 458.4 MB, free: 38.14 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001979/0.3926, allocations: 80.89 kB / 458.5 MB, free: 38.13 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.3926, allocations: 0 / 458.5 MB, free: 38.13 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.3926, allocations: 0 / 458.5 MB, free: 38.13 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.128e-06/0.3926, allocations: 1.375 kB / 458.5 MB, free: 38.13 MB / 382.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.0003996/0.393, allocations: 347 kB / 458.8 MB, free: 37.77 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.3931, allocations: 11.44 kB / 458.8 MB, free: 37.77 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002296/0.3933, allocations: 18.52 kB / 458.9 MB, free: 37.77 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.83e-05/0.3934, allocations: 164.5 kB / 459 MB, free: 37.58 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.3934, allocations: 3.094 kB / 459 MB, free: 37.58 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.268e-05/0.3934, allocations: 9.844 kB / 459 MB, free: 37.58 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001445/0.3936, allocations: 79.36 kB / 459.1 MB, free: 37.52 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.3936, allocations: 1.703 kB / 459.1 MB, free: 37.52 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.459e-05/0.3936, allocations: 2.75 kB / 459.1 MB, free: 37.52 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.3936, allocations: 0 / 459.1 MB, free: 37.52 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.285e-05/0.3937, allocations: 12.5 kB / 459.1 MB, free: 37.52 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005161/0.3942, allocations: 472.6 kB / 459.6 MB, free: 37.05 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001193/0.3943, allocations: 80.64 kB / 459.7 MB, free: 36.98 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.366e-05/0.3944, allocations: 17.48 kB / 459.7 MB, free: 36.95 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.055e-05/0.3944, allocations: 0.6875 kB / 459.7 MB, free: 36.95 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.697e-05/0.3944, allocations: 42.06 kB / 459.7 MB, free: 36.91 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.222e-06/0.3944, allocations: 0 / 459.7 MB, free: 36.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.000565/0.395, allocations: 302.6 kB / 460 MB, free: 36.66 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.303e-05/0.395, allocations: 106.4 kB / 460.1 MB, free: 36.54 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.889e-05/0.3951, allocations: 101.4 kB / 460.2 MB, free: 36.44 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.101e-05/0.3951, allocations: 29.11 kB / 460.2 MB, free: 36.41 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.37e-05/0.3952, allocations: 90.89 kB / 460.3 MB, free: 36.32 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.55e-05/0.3952, allocations: 28.44 kB / 460.4 MB, free: 36.31 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.317e-05/0.3952, allocations: 29.31 kB / 460.4 MB, free: 36.29 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.7e-05/0.3953, allocations: 314.8 kB / 460.7 MB, free: 35.98 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.465e-05/0.3953, allocations: 14.94 kB / 460.7 MB, free: 35.98 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.843e-05/0.3953, allocations: 52.44 kB / 460.8 MB, free: 35.93 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.933e-05/0.3954, allocations: 73.69 kB / 460.8 MB, free: 35.88 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.3954, allocations: 0 / 460.8 MB, free: 35.88 MB / 382.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001119/0.3956, allocations: 103.7 kB / 460.9 MB, free: 35.85 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.3956, allocations: 5.594 kB / 460.9 MB, free: 35.85 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.3956, allocations: 2.781 kB / 460.9 MB, free: 35.85 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.3956, allocations: 0 / 460.9 MB, free: 35.85 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.409e-05/0.3957, allocations: 23.5 kB / 461 MB, free: 35.85 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.243e-06/0.3957, allocations: 2.844 kB / 461 MB, free: 35.85 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.599e-05/0.3957, allocations: 4.906 kB / 461 MB, free: 35.85 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.3958, allocations: 3.938 kB / 461 MB, free: 35.85 MB / 382.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.28e-05/0.3958, allocations: 124.5 kB / 461.1 MB, free: 35.73 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.428e-05/0.3959, allocations: 7.375 kB / 461.1 MB, free: 35.73 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.275e-05/0.3959, allocations: 10.97 kB / 461.1 MB, free: 35.72 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.3959, allocations: 4.594 kB / 461.1 MB, free: 35.72 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.271e-06/0.3959, allocations: 5.906 kB / 461.1 MB, free: 35.72 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.3959, allocations: 0 / 461.1 MB, free: 35.72 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002896/0.3962, allocations: 180 kB / 461.3 MB, free: 35.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3962, allocations: 2.969 kB / 461.3 MB, free: 35.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.916e-05/0.3963, allocations: 17.58 kB / 461.3 MB, free: 35.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.3963, allocations: 2.844 kB / 461.3 MB, free: 35.52 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.3963, allocations: 1.312 kB / 461.3 MB, free: 35.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.3964, allocations: 4.719 kB / 461.3 MB, free: 35.52 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3964, allocations: 0 / 461.3 MB, free: 35.52 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001651/0.3965, allocations: 331.8 kB / 461.7 MB, free: 35.24 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.902e-05/0.3966, allocations: 84.14 kB / 461.7 MB, free: 35.14 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.379e-05/0.3966, allocations: 6.594 kB / 461.7 MB, free: 35.14 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001686/0.3968, allocations: 5.969 kB / 461.8 MB, free: 35.14 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.458e-05/0.3968, allocations: 5.844 kB / 461.8 MB, free: 35.14 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.845e-06/0.3968, allocations: 6.438 kB / 461.8 MB, free: 35.14 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.943e-05/0.3968, allocations: 82.28 kB / 461.8 MB, free: 35.07 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3969, allocations: 0 / 461.8 MB, free: 35.07 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002912/0.3971, allocations: 10.84 kB / 461.9 MB, free: 35.07 MB / 382.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.0001122/0.3973, allocations: 111.3 kB / 462 MB, free: 34.98 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.574e-05/0.3974, allocations: 47.38 kB / 462 MB, free: 34.98 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.3974, allocations: 2.531 kB / 462 MB, free: 34.98 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.213e-05/0.3974, allocations: 17.33 kB / 462 MB, free: 34.98 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004382/0.3978, allocations: 9.547 kB / 462 MB, free: 34.98 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005332/0.3984, allocations: 357.8 kB / 462.4 MB, free: 34.71 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001165/0.3985, allocations: 0.6897 MB / 463.1 MB, free: 34.02 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.275e-05/0.3986, allocations: 7.719 kB / 463.1 MB, free: 34.02 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.03e-05/0.3986, allocations: 14.34 kB / 463.1 MB, free: 34.01 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3986, allocations: 0 / 463.1 MB, free: 34.01 MB / 382.1 MB Notification: Performance of Templates: time 0.002728/0.4013, allocations: 0.6185 MB / 463.7 MB, free: 33.97 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.makefile (rm -f Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & ./Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1)