Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Fluid.Examples.Tanks.ThreeTanks.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) 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(Modelica.Fluid.Examples.Tanks.ThreeTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tank1.level|tank1.medium.T|tank2.level|tank2.medium.T|tank3.level|tank3.medium.T",fileNamePrefix="Modelica_3.2.3_Modelica.Fluid.Examples.Tanks.ThreeTanks") translateModel(Modelica.Fluid.Examples.Tanks.ThreeTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tank1.level|tank1.medium.T|tank2.level|tank2.medium.T|tank3.level|tank3.medium.T",fileNamePrefix="Modelica_3.2.3_Modelica.Fluid.Examples.Tanks.ThreeTanks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001465/0.001465, allocations: 102.2 kB / 18.4 MB, free: 4.68 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.001638/0.001638, allocations: 185.5 kB / 19.34 MB, free: 3.754 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.269/1.269, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.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: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 47.94 kB / 329.2 MB, free: 3.309 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07161/0.07281, allocations: 46.62 MB / 375.8 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.Tanks.ThreeTanks): time 0.169/0.2419, allocations: 28.68 MB / 404.5 MB, free: 11.03 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01875/0.2607, allocations: 15.02 MB / 419.5 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001413/0.2621, allocations: 42.62 kB / 419.6 MB, free: 15.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001397/0.2636, allocations: 0.5911 MB / 420.1 MB, free: 15.39 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004886/0.2685, allocations: 2.323 MB / 422.5 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008194/0.2767, allocations: 3.739 MB / 426.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004494/0.2812, allocations: 4.144 MB / 430.4 MB, free: 8.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001345/0.2825, allocations: 1.169 MB / 431.5 MB, free: 7.887 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002052/0.2846, allocations: 1.565 MB / 433.1 MB, free: 6.316 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001856/0.2865, allocations: 1.659 MB / 434.7 MB, free: 4.652 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000235/0.2867, allocations: 160 kB / 434.9 MB, free: 4.496 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004184/0.2909, allocations: 2.41 MB / 437.3 MB, free: 2.082 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005575/0.2915, allocations: 0.6194 MB / 437.9 MB, free: 1.461 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008417/0.2923, allocations: 0.8711 MB / 438.8 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004243/0.2966, allocations: 3.733 MB / 442.5 MB, free: 12.84 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.2966, allocations: 0 / 442.5 MB, free: 12.84 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2966, allocations: 0 / 442.5 MB, free: 12.84 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.599e-05/0.2966, allocations: 0 / 442.5 MB, free: 12.84 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 261 * Number of variables: 261 Notification: Performance of Generate backend data structure: time 0.004597/0.3012, allocations: 2.196 MB / 444.7 MB, free: 10.59 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.3013, allocations: 11.89 kB / 444.7 MB, free: 10.58 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005201/0.3018, allocations: 178.1 kB / 444.9 MB, free: 10.4 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001566/0.3034, allocations: 1.065 MB / 446 MB, free: 9.293 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001429/0.3035, allocations: 183 kB / 446.2 MB, free: 9.098 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001843/0.3037, allocations: 95.97 kB / 446.3 MB, free: 9.004 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002795/0.3065, allocations: 1.761 MB / 448 MB, free: 7.191 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.837e-05/0.3066, allocations: 0 / 448 MB, free: 7.191 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001475/0.3067, allocations: 43.97 kB / 448.1 MB, free: 7.148 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001436/0.3069, allocations: 109.9 kB / 448.2 MB, free: 7.039 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002875/0.3097, allocations: 1.784 MB / 450 MB, free: 5.246 MB / 366.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01079/0.3206, allocations: 6.701 MB / 456.7 MB, free: 14.21 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001853/0.3224, allocations: 1.238 MB / 457.9 MB, free: 12.96 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001134/0.3236, allocations: 0.7612 MB / 458.7 MB, free: 12.2 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005408/0.329, allocations: 4.282 MB / 462.9 MB, free: 7.5 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.833e-05/0.329, allocations: 47.56 kB / 463 MB, free: 7.445 MB / 382.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006322/0.3297, allocations: 174.7 kB / 463.2 MB, free: 7.273 MB / 382.1 MB Notification: Performance of pre-optimization done (n=97): time 3.216e-06/0.3297, allocations: 0 / 463.2 MB, free: 7.273 MB / 382.1 MB Notification: Performance of matching and sorting (n=112): time 0.01855/0.3483, allocations: 5.687 MB / 468.8 MB, free: 1.523 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.169e-05/0.3483, allocations: 141.5 kB / 469 MB, free: 1.355 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001564/0.3499, allocations: 1.257 MB / 470.2 MB, free: 92 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001084/0.35, allocations: 53.64 kB / 470.3 MB, free: 32 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004339/0.3505, allocations: 0.6052 MB / 470.9 MB, free: 15.42 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003095/0.3508, allocations: 398.4 kB / 471.3 MB, free: 15.02 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004637/0.3513, allocations: 287.3 kB / 471.6 MB, free: 14.73 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 8.038e-05/0.3514, allocations: 301.1 kB / 471.9 MB, free: 14.44 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001199/0.3526, allocations: 0.7231 MB / 472.6 MB, free: 13.71 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001423/0.354, allocations: 1.068 MB / 473.6 MB, free: 12.5 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002574/0.3566, allocations: 1.747 MB / 475.4 MB, free: 10.62 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.104e-06/0.3566, allocations: 4.875 kB / 475.4 MB, free: 10.61 MB / 398.1 MB Notification: Performance of matching and sorting (n=181) (initialization): time 0.003923/0.3605, allocations: 2.285 MB / 477.7 MB, free: 8.316 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.3606, allocations: 8 kB / 477.7 MB, free: 8.309 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.373e-05/0.3606, allocations: 8 kB / 477.7 MB, free: 8.301 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0074/0.368, allocations: 1.285 MB / 479 MB, free: 7.012 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001214/0.3692, allocations: 295.6 kB / 479.3 MB, free: 6.723 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002436/0.3717, allocations: 1.606 MB / 480.9 MB, free: 5.09 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001171/0.3728, allocations: 59.95 kB / 480.9 MB, free: 5.031 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001474/0.373, allocations: 73.86 kB / 481 MB, free: 4.961 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001628/0.3746, allocations: 0.98 MB / 482 MB, free: 3.977 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001433/0.3761, allocations: 1.059 MB / 483 MB, free: 2.773 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002496/0.3786, allocations: 1.722 MB / 484.8 MB, free: 0.9102 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.337e-06/0.3786, allocations: 4 kB / 484.8 MB, free: 0.9062 MB / 398.1 MB Notification: Performance of matching and sorting (n=181) (initialization_lambda0): time 0.003641/0.3823, allocations: 2.199 MB / 487 MB, free: 14.7 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.3823, allocations: 8 kB / 487 MB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/0.3823, allocations: 8 kB / 487 MB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006491/0.3888, allocations: 1.101 MB / 488.1 MB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001209/0.39, allocations: 307.5 kB / 488.4 MB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001968/0.392, allocations: 1.444 MB / 489.8 MB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001182/0.3932, allocations: 63.91 kB / 489.9 MB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001403/0.3934, allocations: 75.97 kB / 490 MB, free: 11.67 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 6 (tank3.inFlow[1],tank3.regularFlow[1],tank2.inFlow[1],tank2.regularFlow[1],tank1.inFlow[1],tank1.regularFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 155 * 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 {(8,18)} Notification: Performance of prepare postOptimizeDAE: time 0.0004037/0.3938, allocations: 267.8 kB / 490.2 MB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000286/0.3941, allocations: 150.2 kB / 490.4 MB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004229/0.3983, allocations: 2.09 MB / 492.5 MB, free: 9.148 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.564e-05/0.3983, allocations: 7.922 kB / 492.5 MB, free: 9.141 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.3983, allocations: 4 kB / 492.5 MB, free: 9.137 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006183/0.399, allocations: 395 kB / 492.9 MB, free: 8.73 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002498/0.3992, allocations: 20 kB / 492.9 MB, free: 8.711 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001025/0.4003, allocations: 59.89 kB / 492.9 MB, free: 8.652 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002254/0.4005, allocations: 97.17 kB / 493 MB, free: 8.559 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004712/0.4052, allocations: 2.051 MB / 495.1 MB, free: 6.496 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003784/0.409, allocations: 2.517 MB / 497.6 MB, free: 3.965 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001075/0.4101, allocations: 0.7207 MB / 498.3 MB, free: 3.242 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001142/0.4112, allocations: 0.848 MB / 499.2 MB, free: 2.391 MB / 414.1 MB Notification: Performance of Backend: time 5.41e-07/0.4113, allocations: 0 / 499.2 MB, free: 2.391 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00772/0.419, allocations: 3.115 MB / 0.4905 GB, free: 15.27 MB / 430.1 MB Notification: Performance of SimCode: time 0.005317/0.4243, allocations: 3.742 MB / 0.4942 GB, free: 11.48 MB / 430.1 MB Notification: Performance of Templates: time 0.06675/0.4911, allocations: 48.49 MB / 0.5415 GB, free: 10.89 MB / 478.1 MB make -j1 -f Modelica_3.2.3_Modelica.Fluid.Examples.Tanks.ThreeTanks.makefile (rm -f Modelica_3.2.3_Modelica.Fluid.Examples.Tanks.ThreeTanks.pipe ; mkfifo Modelica_3.2.3_Modelica.Fluid.Examples.Tanks.ThreeTanks.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Fluid.Examples.Tanks.ThreeTanks.pipe >> ../files/Modelica_3.2.3_Modelica.Fluid.Examples.Tanks.ThreeTanks.sim & ./Modelica_3.2.3_Modelica.Fluid.Examples.Tanks.ThreeTanks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Fluid.Examples.Tanks.ThreeTanks.pipe 2>&1)