Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Fluid.Examples.Tanks.EmptyTanks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Fluid.Examples.Tanks.EmptyTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tank1.level|tank2.level|tank2.ports.1..m_flow",fileNamePrefix="Modelica_trunk_Modelica.Fluid.Examples.Tanks.EmptyTanks") translateModel(Modelica.Fluid.Examples.Tanks.EmptyTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tank1.level|tank2.level|tank2.ports.1..m_flow",fileNamePrefix="Modelica_trunk_Modelica.Fluid.Examples.Tanks.EmptyTanks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001499/0.001499, allocations: 115.1 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001813/0.001814, allocations: 202.7 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.322/1.322, allocations: 227.4 MB / 247.6 MB, free: 10.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 67.88 kB / 359.4 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2067/0.2078, allocations: 50.54 MB / 409.9 MB, free: 1.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.Tanks.EmptyTanks): time 0.01602/0.2239, allocations: 15.95 MB / 425.9 MB, free: 1.562 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008826/0.2327, allocations: 6.909 MB / 432.8 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005629/0.2333, allocations: 27.81 kB / 432.8 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008528/0.2342, allocations: 341.9 kB / 433.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002301/0.2365, allocations: 1.089 MB / 434.2 MB, free: 9.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003716/0.2402, allocations: 1.791 MB / 436 MB, free: 7.398 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002284/0.2425, allocations: 2.159 MB / 438.2 MB, free: 5.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008217/0.2434, allocations: 0.5996 MB / 438.8 MB, free: 4.621 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001229/0.2446, allocations: 0.8176 MB / 439.6 MB, free: 3.801 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001162/0.2458, allocations: 0.7941 MB / 440.4 MB, free: 3.004 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001817/0.246, allocations: 80 kB / 440.5 MB, free: 2.926 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002111/0.2481, allocations: 1.256 MB / 441.7 MB, free: 1.668 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003207/0.2484, allocations: 327 kB / 442.1 MB, free: 1.348 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004958/0.2489, allocations: 458 kB / 442.5 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002214/0.2512, allocations: 1.885 MB / 444.4 MB, free: 15 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.2512, allocations: 0 / 444.4 MB, free: 15 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.2512, allocations: 0 / 444.4 MB, free: 15 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.042e-05/0.2512, allocations: 0 / 444.4 MB, free: 15 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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.002517/0.2537, allocations: 1.299 MB / 445.7 MB, free: 13.65 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.306e-05/0.2538, allocations: 8.031 kB / 445.7 MB, free: 13.64 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003249/0.2541, allocations: 100.4 kB / 445.8 MB, free: 13.55 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009204/0.255, allocations: 0.6329 MB / 446.4 MB, free: 12.87 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.711e-05/0.2551, allocations: 108.7 kB / 446.5 MB, free: 12.75 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000106/0.2553, allocations: 51.98 kB / 446.6 MB, free: 12.7 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001422/0.2567, allocations: 0.9001 MB / 447.5 MB, free: 11.78 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.147e-05/0.2567, allocations: 3.953 kB / 447.5 MB, free: 11.77 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.763e-05/0.2568, allocations: 31.98 kB / 447.5 MB, free: 11.74 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.618e-05/0.2569, allocations: 45.28 kB / 447.6 MB, free: 11.7 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001409/0.2583, allocations: 0.8444 MB / 448.4 MB, free: 10.85 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.005422/0.2637, allocations: 3.459 MB / 451.9 MB, free: 7.199 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001016/0.2648, allocations: 0.6579 MB / 452.5 MB, free: 6.535 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005502/0.2653, allocations: 370.3 kB / 452.9 MB, free: 6.172 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002754/0.2681, allocations: 2.032 MB / 454.9 MB, free: 3.945 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.123e-05/0.2681, allocations: 43.06 kB / 455 MB, free: 3.895 MB / 366.1 MB Notification: Performance of pre-optimization done (n=56): time 1.683e-06/0.2681, allocations: 0 / 455 MB, free: 3.895 MB / 366.1 MB Notification: Performance of matching and sorting (n=66): time 0.006863/0.275, allocations: 2.848 MB / 457.8 MB, free: 0.9805 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.016e-05/0.2751, allocations: 89.67 kB / 457.9 MB, free: 0.875 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007674/0.2759, allocations: 0.676 MB / 458.6 MB, free: 192 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.246e-05/0.2759, allocations: 37.7 kB / 458.6 MB, free: 148 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002393/0.2762, allocations: 341.1 kB / 458.9 MB, free: 15.8 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00018/0.2764, allocations: 241.9 kB / 459.2 MB, free: 15.57 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002529/0.2766, allocations: 154.5 kB / 459.3 MB, free: 15.41 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.2768, allocations: 390.7 kB / 459.7 MB, free: 15.02 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006066/0.2774, allocations: 372.6 kB / 460.1 MB, free: 14.65 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007064/0.2781, allocations: 0.5191 MB / 460.6 MB, free: 14.07 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00128/0.2794, allocations: 0.8598 MB / 461.4 MB, free: 13.15 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.2794, allocations: 4 kB / 461.5 MB, free: 13.15 MB / 382.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001985/0.2814, allocations: 1.161 MB / 462.6 MB, free: 11.98 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.2814, allocations: 8 kB / 462.6 MB, free: 11.97 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.2814, allocations: 4 kB / 462.6 MB, free: 11.96 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001255/0.2827, allocations: 453 kB / 463.1 MB, free: 11.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006778/0.2834, allocations: 171.7 kB / 463.2 MB, free: 11.35 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001173/0.2846, allocations: 1.012 MB / 464.2 MB, free: 10.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005472/0.2851, allocations: 36.03 kB / 464.3 MB, free: 10.28 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.966e-05/0.2852, allocations: 35.98 kB / 464.3 MB, free: 10.25 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007928/0.286, allocations: 0.5331 MB / 464.8 MB, free: 9.707 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006905/0.2867, allocations: 0.5193 MB / 465.4 MB, free: 9.129 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001232/0.288, allocations: 0.845 MB / 466.2 MB, free: 8.227 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.646e-06/0.288, allocations: 7.984 kB / 466.2 MB, free: 8.219 MB / 382.1 MB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.001871/0.2899, allocations: 1.102 MB / 467.3 MB, free: 7.105 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/0.2899, allocations: 8 kB / 467.3 MB, free: 7.098 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.2899, allocations: 7.984 kB / 467.3 MB, free: 7.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007014/0.2906, allocations: 309.2 kB / 467.6 MB, free: 6.785 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006734/0.2913, allocations: 171.7 kB / 467.8 MB, free: 6.617 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009623/0.2923, allocations: 0.9035 MB / 468.7 MB, free: 5.688 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005382/0.2928, allocations: 32.03 kB / 468.7 MB, free: 5.656 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.253e-05/0.2929, allocations: 35.98 kB / 468.8 MB, free: 5.621 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 4 (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 (84): * Single equations (assignments): 83 * 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 {(4,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0001992/0.2931, allocations: 224.1 kB / 469 MB, free: 5.395 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001506/0.2933, allocations: 87.42 kB / 469.1 MB, free: 5.309 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001956/0.2952, allocations: 1.099 MB / 470.2 MB, free: 4.195 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.346e-06/0.2953, allocations: 3.984 kB / 470.2 MB, free: 4.191 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.2953, allocations: 0 / 470.2 MB, free: 4.191 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003387/0.2956, allocations: 248.5 kB / 470.4 MB, free: 3.93 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001179/0.2957, allocations: 12 kB / 470.4 MB, free: 3.918 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005715/0.2963, allocations: 31.97 kB / 470.5 MB, free: 3.887 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001387/0.2965, allocations: 56.58 kB / 470.5 MB, free: 3.832 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00228/0.2987, allocations: 1.107 MB / 471.6 MB, free: 2.711 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002049/0.3008, allocations: 1.443 MB / 473.1 MB, free: 1.254 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005831/0.3014, allocations: 396.9 kB / 473.5 MB, free: 0.8633 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005284/0.3019, allocations: 483 kB / 473.9 MB, free: 408 kB / 382.1 MB Notification: Performance of Backend: time 3.6e-07/0.302, allocations: 0 / 473.9 MB, free: 408 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003514/0.3055, allocations: 1.545 MB / 475.5 MB, free: 14.85 MB / 398.1 MB Notification: Performance of SimCode: time 0.002983/0.3085, allocations: 2.304 MB / 477.8 MB, free: 12.51 MB / 398.1 MB Notification: Performance of Templates: time 0.03563/0.3441, allocations: 25.08 MB / 0.4911 GB, free: 3.547 MB / 414.1 MB make -j1 -f Modelica_trunk_Modelica.Fluid.Examples.Tanks.EmptyTanks.makefile (rm -f Modelica_trunk_Modelica.Fluid.Examples.Tanks.EmptyTanks.pipe ; mkfifo Modelica_trunk_Modelica.Fluid.Examples.Tanks.EmptyTanks.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Fluid.Examples.Tanks.EmptyTanks.pipe >> ../files/Modelica_trunk_Modelica.Fluid.Examples.Tanks.EmptyTanks.sim & ./Modelica_trunk_Modelica.Fluid.Examples.Tanks.EmptyTanks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Fluid.Examples.Tanks.EmptyTanks.pipe 2>&1)