Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 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.EmptyTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tank1.level|tank2.level|tank2.ports.1..m_flow",fileNamePrefix="Modelica_3.2.3_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_3.2.3_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.001265/0.001265, allocations: 107.2 kB / 18.4 MB, free: 4.625 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.00112/0.00112, allocations: 191.3 kB / 19.34 MB, free: 3.699 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.246/1.246, allocations: 205.1 MB / 225.2 MB, free: 12.22 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.001183/0.001183, allocations: 51.94 kB / 329.2 MB, free: 3.312 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07145/0.07264, allocations: 46.61 MB / 375.8 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.Tanks.EmptyTanks): time 0.153/0.2256, allocations: 15.85 MB / 391.7 MB, free: 4.242 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007228/0.2329, allocations: 6.85 MB / 398.5 MB, free: 15.44 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004379/0.2333, allocations: 21.44 kB / 398.5 MB, free: 15.43 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008016/0.2342, allocations: 331.9 kB / 398.9 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002123/0.2363, allocations: 1.074 MB / 399.9 MB, free: 14.64 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003734/0.2401, allocations: 1.795 MB / 401.7 MB, free: 13.84 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002167/0.2423, allocations: 2.146 MB / 403.9 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006689/0.2429, allocations: 0.5908 MB / 404.5 MB, free: 12.68 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009387/0.2439, allocations: 0.7982 MB / 405.3 MB, free: 12.36 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001013/0.2449, allocations: 0.7901 MB / 406 MB, free: 12 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001513/0.2451, allocations: 79.62 kB / 406.1 MB, free: 12 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001988/0.2471, allocations: 1.219 MB / 407.3 MB, free: 11.36 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003145/0.2474, allocations: 320.5 kB / 407.7 MB, free: 11.14 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004506/0.2479, allocations: 459 kB / 408.1 MB, free: 10.84 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002066/0.2499, allocations: 1.846 MB / 410 MB, free: 9.664 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.2499, allocations: 0 / 410 MB, free: 9.664 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.25, allocations: 0 / 410 MB, free: 9.664 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.007e-05/0.25, allocations: 0 / 410 MB, free: 9.664 MB / 334.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.002394/0.2524, allocations: 1.268 MB / 411.2 MB, free: 8.684 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.256e-05/0.2524, allocations: 7.906 kB / 411.2 MB, free: 8.684 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003188/0.2527, allocations: 100.1 kB / 411.3 MB, free: 8.637 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009132/0.2537, allocations: 0.6233 MB / 411.9 MB, free: 8.125 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001029/0.2538, allocations: 111.4 kB / 412.1 MB, free: 8.035 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001016/0.2539, allocations: 59.75 kB / 412.1 MB, free: 8.012 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001406/0.2553, allocations: 0.8884 MB / 413 MB, free: 7.473 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.064e-05/0.2553, allocations: 3.938 kB / 413 MB, free: 7.469 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.827e-05/0.2554, allocations: 22.39 kB / 413 MB, free: 7.453 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-05/0.2555, allocations: 60.73 kB / 413.1 MB, free: 7.43 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001365/0.2569, allocations: 0.8407 MB / 413.9 MB, free: 7.012 MB / 334.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.005186/0.2621, allocations: 3.439 MB / 417.4 MB, free: 4.297 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009383/0.263, allocations: 0.6605 MB / 418 MB, free: 3.949 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000535/0.2636, allocations: 365.3 kB / 418.4 MB, free: 3.762 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00263/0.2662, allocations: 2.043 MB / 420.4 MB, free: 1.941 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.304e-05/0.2662, allocations: 51.12 kB / 420.5 MB, free: 1.887 MB / 334.1 MB Notification: Performance of pre-optimization done (n=56): time 1.903e-06/0.2662, allocations: 0 / 420.5 MB, free: 1.887 MB / 334.1 MB Notification: Performance of matching and sorting (n=66): time 0.006647/0.2729, allocations: 2.83 MB / 423.3 MB, free: 15.57 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.866e-05/0.273, allocations: 89.67 kB / 423.4 MB, free: 15.47 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000756/0.2737, allocations: 0.6798 MB / 424.1 MB, free: 14.78 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.066e-05/0.2738, allocations: 41.7 kB / 424.1 MB, free: 14.73 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002164/0.274, allocations: 324.6 kB / 424.4 MB, free: 14.41 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001771/0.2742, allocations: 236.7 kB / 424.7 MB, free: 14.18 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002501/0.2745, allocations: 146.6 kB / 424.8 MB, free: 14.03 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.2746, allocations: 390.7 kB / 425.2 MB, free: 13.64 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005856/0.2752, allocations: 368.6 kB / 425.6 MB, free: 13.27 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000693/0.2759, allocations: 0.5191 MB / 426.1 MB, free: 12.69 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001256/0.2772, allocations: 0.8706 MB / 426.9 MB, free: 11.77 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.2772, allocations: 0 / 426.9 MB, free: 11.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001939/0.2791, allocations: 1.161 MB / 428.1 MB, free: 10.59 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.2792, allocations: 8 kB / 428.1 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/0.2792, allocations: 7.984 kB / 428.1 MB, free: 10.58 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001203/0.2804, allocations: 460.6 kB / 428.6 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006466/0.2811, allocations: 159.7 kB / 428.7 MB, free: 9.969 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001124/0.2822, allocations: 1.024 MB / 429.7 MB, free: 8.918 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000494/0.2827, allocations: 28.03 kB / 429.8 MB, free: 8.891 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.032e-05/0.2828, allocations: 31.98 kB / 429.8 MB, free: 8.859 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007738/0.2836, allocations: 0.5352 MB / 430.3 MB, free: 8.324 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006687/0.2842, allocations: 0.5121 MB / 430.9 MB, free: 7.75 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001205/0.2855, allocations: 0.849 MB / 431.7 MB, free: 6.836 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.434e-06/0.2855, allocations: 0 / 431.7 MB, free: 6.836 MB / 350.1 MB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.001828/0.2873, allocations: 1.102 MB / 432.8 MB, free: 5.723 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.054e-05/0.2873, allocations: 8 kB / 432.8 MB, free: 5.715 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.229e-06/0.2873, allocations: 4 kB / 432.8 MB, free: 5.711 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006609/0.288, allocations: 320.9 kB / 433.1 MB, free: 5.395 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006359/0.2886, allocations: 163.8 kB / 433.3 MB, free: 5.234 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009315/0.2896, allocations: 0.9113 MB / 434.2 MB, free: 4.297 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004883/0.2901, allocations: 27.98 kB / 434.2 MB, free: 4.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.922e-05/0.2902, allocations: 31.98 kB / 434.3 MB, free: 4.238 MB / 350.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.0001953/0.2904, allocations: 224.1 kB / 434.5 MB, free: 4.012 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001479/0.2905, allocations: 79.06 kB / 434.6 MB, free: 3.934 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001883/0.2924, allocations: 1.098 MB / 435.7 MB, free: 2.824 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.977e-06/0.2924, allocations: 3.984 kB / 435.7 MB, free: 2.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.105e-06/0.2924, allocations: 4.875 kB / 435.7 MB, free: 2.816 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003241/0.2928, allocations: 248 kB / 435.9 MB, free: 2.555 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001155/0.2929, allocations: 12 kB / 435.9 MB, free: 2.543 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005457/0.2934, allocations: 31.97 kB / 435.9 MB, free: 2.512 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00012/0.2936, allocations: 52.58 kB / 436 MB, free: 2.461 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002202/0.2958, allocations: 1.11 MB / 437.1 MB, free: 1.34 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002018/0.2978, allocations: 1.443 MB / 438.6 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005694/0.2984, allocations: 398 kB / 438.9 MB, free: 15.49 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005244/0.2989, allocations: 475 kB / 439.4 MB, free: 15.03 MB / 366.1 MB Notification: Performance of Backend: time 4.01e-07/0.2989, allocations: 0 / 439.4 MB, free: 15.03 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00354/0.3025, allocations: 1.529 MB / 440.9 MB, free: 13.5 MB / 366.1 MB Notification: Performance of SimCode: time 0.003004/0.3055, allocations: 2.295 MB / 443.2 MB, free: 11.16 MB / 366.1 MB Notification: Performance of Templates: time 0.0334/0.3389, allocations: 24.79 MB / 468 MB, free: 2.324 MB / 382.1 MB make -j1 -f Modelica_3.2.3_Modelica.Fluid.Examples.Tanks.EmptyTanks.makefile (rm -f Modelica_3.2.3_Modelica.Fluid.Examples.Tanks.EmptyTanks.pipe ; mkfifo Modelica_3.2.3_Modelica.Fluid.Examples.Tanks.EmptyTanks.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Fluid.Examples.Tanks.EmptyTanks.pipe >> ../files/Modelica_3.2.3_Modelica.Fluid.Examples.Tanks.EmptyTanks.sim & ./Modelica_3.2.3_Modelica.Fluid.Examples.Tanks.EmptyTanks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Fluid.Examples.Tanks.EmptyTanks.pipe 2>&1)