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.001533/0.001533, allocations: 111 kB / 18.45 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001867/0.001867, allocations: 211.9 kB / 19.41 MB, free: 3.668 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.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 63.89 kB / 359.4 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2054/0.2066, allocations: 50.54 MB / 409.9 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.Tanks.EmptyTanks): time 0.01627/0.2229, allocations: 15.96 MB / 425.9 MB, free: 1.559 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00886/0.2318, allocations: 6.921 MB / 432.8 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003592/0.2321, allocations: 19.88 kB / 432.8 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007319/0.2329, allocations: 330 kB / 433.1 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001958/0.2349, allocations: 1.081 MB / 434.2 MB, free: 9.191 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003328/0.2382, allocations: 1.795 MB / 436 MB, free: 7.406 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001943/0.2402, allocations: 2.159 MB / 438.2 MB, free: 5.242 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006827/0.2408, allocations: 0.5996 MB / 438.8 MB, free: 4.633 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009475/0.2418, allocations: 0.8098 MB / 439.6 MB, free: 3.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009539/0.2428, allocations: 0.8019 MB / 440.4 MB, free: 3.016 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001488/0.2429, allocations: 80 kB / 440.5 MB, free: 2.938 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001889/0.2448, allocations: 1.244 MB / 441.7 MB, free: 1.691 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003057/0.2451, allocations: 315.1 kB / 442 MB, free: 1.383 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004475/0.2456, allocations: 461.9 kB / 442.5 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002032/0.2476, allocations: 1.852 MB / 444.3 MB, free: 15.07 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.2477, allocations: 0 / 444.3 MB, free: 15.07 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.2477, allocations: 0 / 444.3 MB, free: 15.07 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.073e-05/0.2477, allocations: 0 / 444.3 MB, free: 15.07 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.002566/0.2503, allocations: 1.27 MB / 445.6 MB, free: 13.75 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.249e-05/0.2503, allocations: 8.031 kB / 445.6 MB, free: 13.74 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003305/0.2506, allocations: 99.89 kB / 445.7 MB, free: 13.64 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001028/0.2517, allocations: 0.6286 MB / 446.3 MB, free: 12.97 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.92e-05/0.2518, allocations: 100.7 kB / 446.4 MB, free: 12.86 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001077/0.2519, allocations: 63.88 kB / 446.5 MB, free: 12.8 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001409/0.2533, allocations: 0.8962 MB / 447.4 MB, free: 11.88 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.937e-05/0.2533, allocations: 0 / 447.4 MB, free: 11.88 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.563e-05/0.2534, allocations: 31.92 kB / 447.4 MB, free: 11.85 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.051e-05/0.2535, allocations: 49.27 kB / 447.5 MB, free: 11.8 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001363/0.2549, allocations: 0.8483 MB / 448.3 MB, free: 10.95 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.005421/0.2603, allocations: 3.439 MB / 451.7 MB, free: 7.316 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001003/0.2613, allocations: 0.6579 MB / 452.4 MB, free: 6.652 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005474/0.2619, allocations: 370.3 kB / 452.8 MB, free: 6.289 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002783/0.2647, allocations: 2.035 MB / 454.8 MB, free: 4.059 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.031e-05/0.2647, allocations: 43.06 kB / 454.8 MB, free: 4.008 MB / 366.1 MB Notification: Performance of pre-optimization done (n=56): time 1.813e-06/0.2647, allocations: 4 kB / 454.8 MB, free: 4.004 MB / 366.1 MB Notification: Performance of matching and sorting (n=66): time 0.006992/0.2717, allocations: 2.828 MB / 457.7 MB, free: 1.105 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.968e-05/0.2718, allocations: 85.67 kB / 457.8 MB, free: 1.004 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007626/0.2726, allocations: 0.676 MB / 458.4 MB, free: 324 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.109e-05/0.2726, allocations: 37.7 kB / 458.5 MB, free: 280 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000235/0.2729, allocations: 336.4 kB / 458.8 MB, free: 15.94 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001834/0.2731, allocations: 236.7 kB / 459 MB, free: 15.7 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002491/0.2733, allocations: 146.6 kB / 459.2 MB, free: 15.55 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.2735, allocations: 394.7 kB / 459.6 MB, free: 15.16 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006184/0.2741, allocations: 376.6 kB / 459.9 MB, free: 14.79 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007125/0.2748, allocations: 0.5191 MB / 460.4 MB, free: 14.21 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0013/0.2762, allocations: 0.8638 MB / 461.3 MB, free: 13.29 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.2762, allocations: 0 / 461.3 MB, free: 13.29 MB / 382.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001992/0.2782, allocations: 1.157 MB / 462.5 MB, free: 12.12 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.2782, allocations: 8.562 kB / 462.5 MB, free: 12.11 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.2782, allocations: 11.98 kB / 462.5 MB, free: 12.1 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001255/0.2795, allocations: 452.4 kB / 462.9 MB, free: 11.65 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006776/0.2802, allocations: 155.7 kB / 463.1 MB, free: 11.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001182/0.2814, allocations: 1.021 MB / 464.1 MB, free: 10.45 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005631/0.2819, allocations: 32.03 kB / 464.1 MB, free: 10.42 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.117e-05/0.282, allocations: 31.98 kB / 464.2 MB, free: 10.39 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008009/0.2828, allocations: 0.5331 MB / 464.7 MB, free: 9.852 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006969/0.2835, allocations: 0.5132 MB / 465.2 MB, free: 9.277 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001257/0.2848, allocations: 0.8412 MB / 466.1 MB, free: 8.379 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.075e-06/0.2848, allocations: 0 / 466.1 MB, free: 8.379 MB / 382.1 MB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.001909/0.2867, allocations: 1.102 MB / 467.2 MB, free: 7.266 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.065e-05/0.2867, allocations: 8.562 kB / 467.2 MB, free: 7.258 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.2868, allocations: 8 kB / 467.2 MB, free: 7.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007044/0.2875, allocations: 320.6 kB / 467.5 MB, free: 6.934 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000676/0.2882, allocations: 167.8 kB / 467.6 MB, free: 6.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009755/0.2891, allocations: 0.9073 MB / 468.6 MB, free: 5.836 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005542/0.2897, allocations: 27.98 kB / 468.6 MB, free: 5.809 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.754e-05/0.2898, allocations: 35.98 kB / 468.6 MB, free: 5.773 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.0002072/0.29, allocations: 228.1 kB / 468.8 MB, free: 5.543 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000156/0.2902, allocations: 75.16 kB / 468.9 MB, free: 5.469 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001964/0.2921, allocations: 1.091 MB / 470 MB, free: 4.363 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.468e-06/0.2921, allocations: 3.984 kB / 470 MB, free: 4.359 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.205e-06/0.2922, allocations: 0 / 470 MB, free: 4.359 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004016/0.2926, allocations: 244 kB / 470.2 MB, free: 4.102 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001123/0.2927, allocations: 16 kB / 470.3 MB, free: 4.086 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005906/0.2933, allocations: 35.97 kB / 470.3 MB, free: 4.051 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001235/0.2934, allocations: 56.61 kB / 470.4 MB, free: 3.996 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002303/0.2957, allocations: 1.111 MB / 471.5 MB, free: 2.871 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002052/0.2978, allocations: 1.443 MB / 472.9 MB, free: 1.414 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005789/0.2984, allocations: 397 kB / 473.3 MB, free: 1.023 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005313/0.2989, allocations: 475 kB / 473.8 MB, free: 0.5664 MB / 382.1 MB Notification: Performance of Backend: time 2.124e-06/0.2989, allocations: 0 / 473.8 MB, free: 0.5664 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003569/0.3025, allocations: 1.542 MB / 475.3 MB, free: 15.02 MB / 398.1 MB Notification: Performance of SimCode: time 0.002987/0.3055, allocations: 2.284 MB / 477.6 MB, free: 12.7 MB / 398.1 MB Notification: Performance of Templates: time 0.03593/0.3415, allocations: 25.09 MB / 0.4909 GB, free: 3.738 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)