Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation.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.TemperatureDependentDensityTestImplementation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation") translateModel(Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001278/0.001278, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002052/0.002052, allocations: 199.7 kB / 16.54 MB, free: 6.672 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.531/1.531, allocations: 205.1 MB / 222.4 MB, free: 4.629 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3962/0.3962, allocations: 54.95 MB / 324.7 MB, free: 28 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.001605/0.001605, allocations: 63.91 kB / 395.4 MB, free: 11.77 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.1334, allocations: 59.59 MB / 455 MB, free: 116 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation): time 0.2507/0.3842, allocations: 15.12 MB / 470.1 MB, free: 30.72 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002641/0.3869, allocations: 2.129 MB / 472.2 MB, free: 29.21 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001791/0.3871, allocations: 2.938 kB / 472.2 MB, free: 29.21 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005887/0.3877, allocations: 180.8 kB / 472.4 MB, free: 29.11 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005234/0.3883, allocations: 325.5 kB / 472.7 MB, free: 28.91 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006455/0.3889, allocations: 314.3 kB / 473 MB, free: 28.75 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005905/0.3895, allocations: 0.8027 MB / 473.8 MB, free: 28.39 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001902/0.3897, allocations: 98.95 kB / 473.9 MB, free: 28.35 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007247/0.3904, allocations: 498.8 kB / 474.4 MB, free: 28.13 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002753/0.3907, allocations: 265.5 kB / 474.7 MB, free: 28.02 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.407e-05/0.3908, allocations: 30.56 kB / 474.7 MB, free: 28.01 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002652/0.3911, allocations: 129.4 kB / 474.8 MB, free: 27.98 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.559e-05/0.3912, allocations: 79.02 kB / 474.9 MB, free: 27.94 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001497/0.3913, allocations: 179.1 kB / 475.1 MB, free: 27.84 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004101/0.3917, allocations: 462.8 kB / 475.5 MB, free: 27.7 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.3917, allocations: 0 / 475.5 MB, free: 27.7 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.3918, allocations: 0 / 475.5 MB, free: 27.7 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.127e-05/0.3918, allocations: 0 / 475.5 MB, free: 27.7 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0006719/0.3924, allocations: 0.5802 MB / 476.1 MB, free: 27.21 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/0.3925, allocations: 10.25 kB / 476.1 MB, free: 27.21 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006181/0.3931, allocations: 76.55 kB / 476.2 MB, free: 27.19 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002858/0.3934, allocations: 283 kB / 476.5 MB, free: 26.93 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.858e-05/0.3934, allocations: 19.41 kB / 476.5 MB, free: 26.92 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.356e-05/0.3935, allocations: 25.05 kB / 476.5 MB, free: 26.91 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005167/0.394, allocations: 345.1 kB / 476.8 MB, free: 26.7 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.688e-05/0.394, allocations: 0.5625 kB / 476.8 MB, free: 26.7 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.526e-05/0.3941, allocations: 11.84 kB / 476.8 MB, free: 26.7 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.3941, allocations: 11.08 kB / 476.9 MB, free: 26.69 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000464/0.3946, allocations: 224 kB / 477.1 MB, free: 26.62 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001482/0.3961, allocations: 1.697 MB / 478.8 MB, free: 25.14 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003398/0.3964, allocations: 200.2 kB / 479 MB, free: 25.04 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001356/0.3966, allocations: 80.16 kB / 479 MB, free: 25.01 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.651e-05/0.3966, allocations: 4.562 kB / 479.1 MB, free: 25.01 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.256e-05/0.3966, allocations: 37.47 kB / 479.1 MB, free: 24.96 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 1.302e-06/0.3966, allocations: 0 / 479.1 MB, free: 24.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=27): time 0.003485/0.4001, allocations: 1.247 MB / 480.3 MB, free: 24.21 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.343e-05/0.4002, allocations: 58.06 kB / 480.4 MB, free: 24.14 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002653/0.4004, allocations: 275.8 kB / 480.7 MB, free: 23.98 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.256e-05/0.4005, allocations: 29.7 kB / 480.7 MB, free: 23.95 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.094e-05/0.4006, allocations: 180.5 kB / 480.9 MB, free: 23.79 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.813e-05/0.4006, allocations: 91.06 kB / 481 MB, free: 23.72 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.468e-05/0.4007, allocations: 71.77 kB / 481 MB, free: 23.68 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.461e-05/0.4008, allocations: 345.7 kB / 481.4 MB, free: 23.35 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000232/0.401, allocations: 97.06 kB / 481.5 MB, free: 23.32 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002591/0.4013, allocations: 187.9 kB / 481.6 MB, free: 23.18 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004435/0.4017, allocations: 293.2 kB / 481.9 MB, free: 22.98 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.4018, allocations: 0.5625 kB / 481.9 MB, free: 22.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009847/0.4027, allocations: 453.3 kB / 482.4 MB, free: 22.8 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.4028, allocations: 14.28 kB / 482.4 MB, free: 22.79 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.4028, allocations: 6.062 kB / 482.4 MB, free: 22.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005209/0.4033, allocations: 126.1 kB / 482.5 MB, free: 22.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000317/0.4036, allocations: 68.73 kB / 482.6 MB, free: 22.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003096/0.4067, allocations: 2.239 MB / 484.8 MB, free: 20.85 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004406/0.4072, allocations: 18.92 kB / 484.8 MB, free: 20.85 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.208e-05/0.4073, allocations: 16.78 kB / 484.9 MB, free: 20.84 MB / 382.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 (33): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0002114/0.4075, allocations: 154.8 kB / 485 MB, free: 20.7 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.49e-05/0.4075, allocations: 25.84 kB / 485 MB, free: 20.69 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.967e-05/0.4076, allocations: 36.12 kB / 485.1 MB, free: 20.66 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.4076, allocations: 2.781 kB / 485.1 MB, free: 20.66 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.4077, allocations: 0 / 485.1 MB, free: 20.66 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009546/0.4086, allocations: 0.6301 MB / 485.7 MB, free: 20.12 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001353/0.41, allocations: 0.82 MB / 486.5 MB, free: 19.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.41, allocations: 4.031 kB / 486.5 MB, free: 19.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001628/0.4102, allocations: 44.44 kB / 486.6 MB, free: 19.56 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006013/0.4108, allocations: 137.2 kB / 486.7 MB, free: 19.53 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.414e-05/0.4108, allocations: 10.66 kB / 486.7 MB, free: 19.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002456/0.4133, allocations: 2.153 MB / 488.9 MB, free: 17.68 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.4133, allocations: 3.938 kB / 488.9 MB, free: 17.68 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001066/0.4144, allocations: 0.562 MB / 489.4 MB, free: 17.34 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.618e-05/0.4145, allocations: 99.98 kB / 489.5 MB, free: 17.23 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.353e-05/0.4145, allocations: 10.66 kB / 489.5 MB, free: 17.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002509/0.4148, allocations: 13.48 kB / 489.5 MB, free: 17.22 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.225e-05/0.4148, allocations: 26.14 kB / 489.6 MB, free: 17.21 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.255e-05/0.4149, allocations: 16.75 kB / 489.6 MB, free: 17.21 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002194/0.4151, allocations: 192.9 kB / 489.8 MB, free: 17.1 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4151, allocations: 64 / 489.8 MB, free: 17.1 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005338/0.4156, allocations: 96.97 kB / 489.9 MB, free: 17.09 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (volume.medium.T) * 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 (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001694/0.4158, allocations: 133.6 kB / 490 MB, free: 16.98 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008058/0.4166, allocations: 434.4 kB / 490.4 MB, free: 16.75 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.4167, allocations: 4 kB / 490.4 MB, free: 16.74 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005781/0.4172, allocations: 283.4 kB / 490.7 MB, free: 16.58 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009015/0.4181, allocations: 163.1 kB / 490.9 MB, free: 16.54 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001096/0.4193, allocations: 0.672 MB / 491.5 MB, free: 16.13 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002042/0.4195, allocations: 0.7647 MB / 492.3 MB, free: 15.43 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002734/0.4198, allocations: 54.28 kB / 492.4 MB, free: 15.41 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.881e-05/0.4198, allocations: 27.19 kB / 492.4 MB, free: 15.41 MB / 382.1 MB Notification: Performance of SimCode: time 3.51e-07/0.4198, allocations: 0 / 492.4 MB, free: 15.41 MB / 382.1 MB Notification: Performance of Templates: time 0.01326/0.4331, allocations: 7.123 MB / 499.5 MB, free: 14.99 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation.makefile (rm -f Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation.pipe ; mkfifo Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation.pipe >> ../files/Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation.sim & ./Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation.pipe 2>&1)