Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Media.Examples.WaterTestImplementation.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.Examples.WaterTestImplementation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Examples.WaterTestImplementation") translateModel(Annex60.Media.Examples.WaterTestImplementation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Examples.WaterTestImplementation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001096/0.001096, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00156/0.00156, allocations: 193.2 kB / 16.25 MB, free: 6.617 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.543/1.543, allocations: 205.1 MB / 222.1 MB, free: 4.695 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4092/0.4092, allocations: 54.93 MB / 324.4 MB, free: 192 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.001376/0.001376, allocations: 75.89 kB / 394.9 MB, free: 12.17 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1469/0.1483, allocations: 59.58 MB / 454.4 MB, free: 0.5273 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Examples.WaterTestImplementation): time 0.2314/0.3797, allocations: 13.12 MB / 467.6 MB, free: 32.37 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001974/0.3818, allocations: 1.6 MB / 469.2 MB, free: 31.24 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001628/0.3819, allocations: 3.5 kB / 469.2 MB, free: 31.24 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005749/0.3826, allocations: 149.2 kB / 469.3 MB, free: 31.16 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004744/0.3831, allocations: 298.8 kB / 469.6 MB, free: 30.98 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004059/0.3835, allocations: 168.8 kB / 469.8 MB, free: 30.89 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000496/0.384, allocations: 0.6812 MB / 470.4 MB, free: 30.57 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001753/0.3842, allocations: 95.05 kB / 470.5 MB, free: 30.55 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004612/0.3846, allocations: 357.1 kB / 470.9 MB, free: 30.39 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002561/0.3849, allocations: 255.6 kB / 471.1 MB, free: 30.28 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.559e-05/0.3849, allocations: 22.53 kB / 471.2 MB, free: 30.28 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001069/0.3851, allocations: 32 kB / 471.2 MB, free: 30.28 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.707e-05/0.3851, allocations: 66.17 kB / 471.3 MB, free: 30.24 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001316/0.3853, allocations: 162 kB / 471.4 MB, free: 30.16 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003276/0.3856, allocations: 364.4 kB / 471.8 MB, free: 30.03 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.3856, allocations: 5.438 kB / 471.8 MB, free: 30.03 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.3856, allocations: 6.906 kB / 471.8 MB, free: 30.02 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.3856, allocations: 0 / 471.8 MB, free: 30.02 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.0006789/0.3863, allocations: 0.5439 MB / 472.3 MB, free: 29.55 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.3864, allocations: 8.219 kB / 472.3 MB, free: 29.55 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002677/0.3867, allocations: 43.22 kB / 472.4 MB, free: 29.54 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002775/0.3869, allocations: 264.2 kB / 472.6 MB, free: 29.29 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.833e-05/0.387, allocations: 18.41 kB / 472.6 MB, free: 29.29 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.666e-05/0.387, allocations: 41.7 kB / 472.7 MB, free: 29.26 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004014/0.3874, allocations: 300.9 kB / 473 MB, free: 29.06 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.713e-05/0.3875, allocations: 4.656 kB / 473 MB, free: 29.05 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.937e-05/0.3875, allocations: 11 kB / 473 MB, free: 29.05 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.92e-05/0.3875, allocations: 11.73 kB / 473 MB, free: 29.05 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002462/0.3878, allocations: 171.5 kB / 473.2 MB, free: 28.99 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001255/0.3891, allocations: 1.834 MB / 475 MB, free: 27.32 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001635/0.3892, allocations: 115.7 kB / 475.1 MB, free: 27.26 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.889e-05/0.3893, allocations: 53.55 kB / 475.2 MB, free: 27.23 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.415e-05/0.3893, allocations: 3.5 kB / 475.2 MB, free: 27.23 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.616e-05/0.3894, allocations: 39.06 kB / 475.2 MB, free: 27.19 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 1.192e-06/0.3894, allocations: 0 / 475.2 MB, free: 27.19 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.001082/0.3905, allocations: 0.64 MB / 475.9 MB, free: 26.68 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.268e-05/0.3905, allocations: 51.41 kB / 475.9 MB, free: 26.62 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002224/0.3907, allocations: 278.3 kB / 476.2 MB, free: 26.45 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.718e-05/0.3907, allocations: 32.64 kB / 476.2 MB, free: 26.41 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.658e-05/0.3908, allocations: 190.9 kB / 476.4 MB, free: 26.25 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.607e-05/0.3909, allocations: 58.42 kB / 476.5 MB, free: 26.21 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.216e-05/0.3909, allocations: 64.91 kB / 476.5 MB, free: 26.16 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.498e-05/0.3911, allocations: 337.2 kB / 476.8 MB, free: 25.84 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.099e-05/0.3912, allocations: 61.72 kB / 476.9 MB, free: 25.82 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001427/0.3913, allocations: 155.6 kB / 477.1 MB, free: 25.67 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002601/0.3916, allocations: 237.1 kB / 477.3 MB, free: 25.47 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.3916, allocations: 2.781 kB / 477.3 MB, free: 25.47 MB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003924/0.392, allocations: 281.5 kB / 477.6 MB, free: 25.33 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.971e-05/0.392, allocations: 8.516 kB / 477.6 MB, free: 25.33 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.392, allocations: 11.38 kB / 477.6 MB, free: 25.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001156/0.3922, allocations: 24.61 kB / 477.6 MB, free: 25.31 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002609/0.3924, allocations: 67.14 kB / 477.7 MB, free: 25.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00109/0.3935, allocations: 1.387 MB / 479.1 MB, free: 23.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001865/0.3937, allocations: 24.23 kB / 479.1 MB, free: 23.88 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.36e-05/0.3938, allocations: 21.22 kB / 479.1 MB, free: 23.87 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (35): * Single equations (assignments): 34 * 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 {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001662/0.3939, allocations: 144.8 kB / 479.3 MB, free: 23.73 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.347e-05/0.394, allocations: 22.75 kB / 479.3 MB, free: 23.72 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.576e-05/0.3941, allocations: 29.02 kB / 479.3 MB, free: 23.71 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.3941, allocations: 2.812 kB / 479.3 MB, free: 23.71 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.3941, allocations: 0 / 479.3 MB, free: 23.71 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003507/0.3945, allocations: 461.6 kB / 479.8 MB, free: 23.23 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007735/0.3953, allocations: 0.5782 MB / 480.3 MB, free: 22.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.3953, allocations: 0 / 480.3 MB, free: 22.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001438/0.3954, allocations: 40.7 kB / 480.4 MB, free: 22.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.3954, allocations: 3.938 kB / 480.4 MB, free: 22.77 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.39e-05/0.3955, allocations: 2.969 kB / 480.4 MB, free: 22.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/0.3955, allocations: 3.062 kB / 480.4 MB, free: 22.77 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.3955, allocations: 4.156 kB / 480.4 MB, free: 22.76 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003726/0.3958, allocations: 331.3 kB / 480.7 MB, free: 22.51 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.137e-05/0.3959, allocations: 106 kB / 480.8 MB, free: 22.4 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.502e-05/0.396, allocations: 6.781 kB / 480.8 MB, free: 22.39 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002073/0.3962, allocations: 14.89 kB / 480.8 MB, free: 22.39 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.345e-05/0.3962, allocations: 10.88 kB / 480.8 MB, free: 22.39 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.451e-05/0.3962, allocations: 6.438 kB / 480.9 MB, free: 22.39 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001622/0.3964, allocations: 203.2 kB / 481.1 MB, free: 22.28 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3964, allocations: 4 kB / 481.1 MB, free: 22.27 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003542/0.3968, allocations: 69.66 kB / 481.1 MB, free: 22.27 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (16): * Single equations (assignments): 16 * 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.0001047/0.3969, allocations: 98.44 kB / 481.2 MB, free: 22.18 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00044/0.3973, allocations: 277.8 kB / 481.5 MB, free: 22.01 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.3973, allocations: 0 / 481.5 MB, free: 22.01 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.304e-05/0.3974, allocations: 67.66 kB / 481.6 MB, free: 21.98 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001004/0.3984, allocations: 157.8 kB / 481.7 MB, free: 21.95 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009997/0.3994, allocations: 0.6638 MB / 482.4 MB, free: 21.48 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002201/0.3997, allocations: 0.7583 MB / 483.1 MB, free: 20.77 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002185/0.3999, allocations: 46.47 kB / 483.2 MB, free: 20.77 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.1e-05/0.3999, allocations: 26.62 kB / 483.2 MB, free: 20.75 MB / 382.1 MB Notification: Performance of SimCode: time 3.91e-07/0.4, allocations: 0 / 483.2 MB, free: 20.75 MB / 382.1 MB Notification: Performance of Templates: time 0.008076/0.408, allocations: 4.672 MB / 487.9 MB, free: 20.5 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Media.Examples.WaterTestImplementation.makefile (rm -f Annex60_1.0.0_Annex60.Media.Examples.WaterTestImplementation.pipe ; mkfifo Annex60_1.0.0_Annex60.Media.Examples.WaterTestImplementation.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Media.Examples.WaterTestImplementation.pipe >> ../files/Annex60_1.0.0_Annex60.Media.Examples.WaterTestImplementation.sim & ./Annex60_1.0.0_Annex60.Media.Examples.WaterTestImplementation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Media.Examples.WaterTestImplementation.pipe 2>&1)