Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Fluid.Examples.Tanks.EmptyTanks.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.EmptyTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tank1.level|tank2.level|tank2.ports.1..m_flow",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Fluid.Examples.Tanks.EmptyTanks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001512/0.001512, allocations: 110.5 kB / 17.75 MB, free: 5.309 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.001681/0.001681, allocations: 183 kB / 18.68 MB, free: 4.387 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.322/1.322, allocations: 222.9 MB / 242.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009947/0.0009947, allocations: 47.92 kB / 352 MB, free: 3.262 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2119/0.2129, allocations: 49.43 MB / 401.4 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.Tanks.EmptyTanks): time 0.01512/0.2281, allocations: 15.84 MB / 417.2 MB, free: 8.969 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00861/0.2367, allocations: 6.905 MB / 424.1 MB, free: 2.047 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004121/0.2371, allocations: 19.88 kB / 424.2 MB, free: 2.027 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007402/0.2379, allocations: 330 kB / 424.5 MB, free: 1.703 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002061/0.24, allocations: 1.089 MB / 425.6 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0036/0.2436, allocations: 1.802 MB / 427.4 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002063/0.2457, allocations: 2.144 MB / 429.5 MB, free: 12.67 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007376/0.2464, allocations: 0.6036 MB / 430.1 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001032/0.2475, allocations: 0.8098 MB / 430.9 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009662/0.2484, allocations: 0.7941 MB / 431.7 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001543/0.2486, allocations: 84 kB / 431.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001936/0.2505, allocations: 1.217 MB / 433 MB, free: 9.137 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003023/0.2509, allocations: 315.2 kB / 433.3 MB, free: 8.828 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005055/0.2514, allocations: 457.9 kB / 433.8 MB, free: 8.379 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00229/0.2537, allocations: 1.839 MB / 435.6 MB, free: 6.535 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.2537, allocations: 3.984 kB / 435.6 MB, free: 6.531 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.2537, allocations: 0 / 435.6 MB, free: 6.531 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.355e-05/0.2537, allocations: 0 / 435.6 MB, free: 6.531 MB / 350.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.002785/0.2565, allocations: 1.266 MB / 436.9 MB, free: 5.215 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.2566, allocations: 8.031 kB / 436.9 MB, free: 5.207 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003441/0.2569, allocations: 103.9 kB / 437 MB, free: 5.105 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001005/0.2579, allocations: 0.6208 MB / 437.6 MB, free: 4.441 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001015/0.258, allocations: 108.7 kB / 437.7 MB, free: 4.324 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001051/0.2581, allocations: 47.98 kB / 437.8 MB, free: 4.277 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001482/0.2596, allocations: 0.8963 MB / 438.7 MB, free: 3.355 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.226e-05/0.2597, allocations: 7.938 kB / 438.7 MB, free: 3.348 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.873e-05/0.2598, allocations: 23.98 kB / 438.7 MB, free: 3.324 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.569e-05/0.2598, allocations: 53.27 kB / 438.7 MB, free: 3.273 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001402/0.2613, allocations: 0.8366 MB / 439.6 MB, free: 2.438 MB / 350.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.005616/0.2669, allocations: 3.47 MB / 443.1 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001022/0.2679, allocations: 0.6727 MB / 443.7 MB, free: 14.09 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005557/0.2685, allocations: 366.3 kB / 444.1 MB, free: 13.73 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002796/0.2713, allocations: 2.031 MB / 446.1 MB, free: 11.51 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.519e-05/0.2713, allocations: 51 kB / 446.2 MB, free: 11.45 MB / 366.1 MB Notification: Performance of pre-optimization done (n=56): time 1.774e-06/0.2713, allocations: 0 / 446.2 MB, free: 11.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=66): time 0.006808/0.2782, allocations: 2.828 MB / 449 MB, free: 8.555 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.974e-05/0.2782, allocations: 85.67 kB / 449.1 MB, free: 8.453 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007609/0.279, allocations: 0.6798 MB / 449.8 MB, free: 7.766 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.066e-05/0.2791, allocations: 37.7 kB / 449.8 MB, free: 7.723 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002253/0.2793, allocations: 332.4 kB / 450.1 MB, free: 7.391 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001821/0.2795, allocations: 228.8 kB / 450.3 MB, free: 7.164 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002451/0.2797, allocations: 150.6 kB / 450.5 MB, free: 7.012 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.2799, allocations: 390.7 kB / 450.9 MB, free: 6.621 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005938/0.2805, allocations: 380.6 kB / 451.2 MB, free: 6.246 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007213/0.2812, allocations: 0.5221 MB / 451.8 MB, free: 5.664 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001258/0.2825, allocations: 0.8598 MB / 452.6 MB, free: 4.742 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.2825, allocations: 8 kB / 452.6 MB, free: 4.734 MB / 366.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001935/0.2845, allocations: 1.157 MB / 453.8 MB, free: 3.566 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.2845, allocations: 8 kB / 453.8 MB, free: 3.559 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.2845, allocations: 4 kB / 453.8 MB, free: 3.555 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001231/0.2857, allocations: 448.5 kB / 454.2 MB, free: 3.113 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006521/0.2864, allocations: 167.7 kB / 454.4 MB, free: 2.949 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001149/0.2876, allocations: 1.021 MB / 455.4 MB, free: 1.902 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005285/0.2881, allocations: 31.98 kB / 455.5 MB, free: 1.871 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.182e-05/0.2882, allocations: 35.98 kB / 455.5 MB, free: 1.836 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007921/0.289, allocations: 0.5292 MB / 456 MB, free: 1.301 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006804/0.2897, allocations: 0.5159 MB / 456.5 MB, free: 0.7227 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001207/0.2909, allocations: 0.8373 MB / 457.4 MB, free: 15.83 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.204e-05/0.2909, allocations: 4 kB / 457.4 MB, free: 15.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.001857/0.2928, allocations: 1.11 MB / 458.5 MB, free: 14.7 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/0.2928, allocations: 8 kB / 458.5 MB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.2928, allocations: 4 kB / 458.5 MB, free: 14.69 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006872/0.2935, allocations: 316.7 kB / 458.8 MB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006468/0.2942, allocations: 163.8 kB / 459 MB, free: 14.22 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009578/0.2951, allocations: 0.907 MB / 459.9 MB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005314/0.2957, allocations: 31.98 kB / 459.9 MB, free: 13.26 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.755e-05/0.2957, allocations: 35.98 kB / 459.9 MB, free: 13.22 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.0002068/0.296, allocations: 220.1 kB / 460.2 MB, free: 13 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001491/0.2961, allocations: 79.06 kB / 460.2 MB, free: 12.92 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001911/0.298, allocations: 1.099 MB / 461.3 MB, free: 11.81 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.348e-06/0.2981, allocations: 3.984 kB / 461.3 MB, free: 11.8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.2981, allocations: 0 / 461.3 MB, free: 11.8 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003711/0.2984, allocations: 244 kB / 461.6 MB, free: 11.55 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001242/0.2986, allocations: 12 kB / 461.6 MB, free: 11.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000567/0.2991, allocations: 35.97 kB / 461.6 MB, free: 11.5 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000139/0.2993, allocations: 56.58 kB / 461.7 MB, free: 11.45 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00226/0.3016, allocations: 1.106 MB / 462.8 MB, free: 10.33 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002028/0.3036, allocations: 1.435 MB / 464.2 MB, free: 8.879 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005765/0.3042, allocations: 393 kB / 464.6 MB, free: 8.492 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005301/0.3047, allocations: 479 kB / 465.1 MB, free: 8.031 MB / 382.1 MB Notification: Performance of Backend: time 4.71e-07/0.3047, allocations: 4 kB / 465.1 MB, free: 8.027 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003533/0.3083, allocations: 1.544 MB / 466.6 MB, free: 6.484 MB / 382.1 MB Notification: Performance of SimCode: time 0.003057/0.3113, allocations: 2.278 MB / 468.9 MB, free: 4.164 MB / 382.1 MB Notification: Performance of Templates: time 0.03495/0.3463, allocations: 25.05 MB / 493.9 MB, free: 11.28 MB / 414.1 MB make -j1 -f Modelica_4.0.0_Modelica.Fluid.Examples.Tanks.EmptyTanks.makefile (rm -f Modelica_4.0.0_Modelica.Fluid.Examples.Tanks.EmptyTanks.pipe ; mkfifo Modelica_4.0.0_Modelica.Fluid.Examples.Tanks.EmptyTanks.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Fluid.Examples.Tanks.EmptyTanks.pipe >> ../files/Modelica_4.0.0_Modelica.Fluid.Examples.Tanks.EmptyTanks.sim & ./Modelica_4.0.0_Modelica.Fluid.Examples.Tanks.EmptyTanks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Fluid.Examples.Tanks.EmptyTanks.pipe 2>&1)