Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) 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(ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank") translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009885/0.0009885, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0009283/0.0009283, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.26/1.26, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2937/0.2937, allocations: 40 MB / 310.4 MB, free: 9.703 MB / 254.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: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005495/0.0005496, allocations: 16 kB / 378.8 MB, free: 12.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09971/0.1003, allocations: 57.94 MB / 436.8 MB, free: 2.316 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank): time 0.01388/0.1142, allocations: 14.38 MB / 451.1 MB, free: 3.883 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.1873/0.3016, allocations: 6.1 MB / 457.2 MB, free: 34.65 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000789/0.3024, allocations: 29.25 kB / 457.3 MB, free: 34.65 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007608/0.3032, allocations: 332.6 kB / 457.6 MB, free: 34.65 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001875/0.3051, allocations: 0.8351 MB / 458.4 MB, free: 34.64 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003577/0.3086, allocations: 1.526 MB / 460 MB, free: 34.62 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001808/0.3105, allocations: 1.235 MB / 461.2 MB, free: 34.62 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007179/0.3112, allocations: 0.5519 MB / 461.7 MB, free: 34.58 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009435/0.3121, allocations: 0.6711 MB / 462.4 MB, free: 34.58 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006217/0.3128, allocations: 0.5534 MB / 463 MB, free: 34.58 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.733e-05/0.3129, allocations: 46.88 kB / 463 MB, free: 34.57 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001883/0.3148, allocations: 1.158 MB / 464.2 MB, free: 34.57 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002938/0.3151, allocations: 266.4 kB / 464.4 MB, free: 34.57 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000215/0.3153, allocations: 190.7 kB / 464.6 MB, free: 34.54 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001445/0.3168, allocations: 1.384 MB / 466 MB, free: 34.45 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.3168, allocations: 0 / 466 MB, free: 34.45 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.3168, allocations: 0 / 466 MB, free: 34.45 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.197e-06/0.3168, allocations: 4 kB / 466 MB, free: 34.45 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.002215/0.319, allocations: 1.22 MB / 467.2 MB, free: 33.68 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.3191, allocations: 10.86 kB / 467.2 MB, free: 33.68 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003514/0.3194, allocations: 112.4 kB / 467.3 MB, free: 33.62 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008484/0.3203, allocations: 0.6003 MB / 467.9 MB, free: 33.36 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.62e-05/0.3204, allocations: 107.2 kB / 468.1 MB, free: 33.29 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.81e-05/0.3205, allocations: 56.72 kB / 468.1 MB, free: 33.29 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001326/0.3218, allocations: 1.001 MB / 469.1 MB, free: 33.14 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.491e-05/0.3218, allocations: 10.41 kB / 469.1 MB, free: 33.14 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.653e-05/0.3219, allocations: 29.62 kB / 469.1 MB, free: 33.14 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.806e-05/0.322, allocations: 48.81 kB / 469.2 MB, free: 33.14 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001255/0.3233, allocations: 0.9156 MB / 470.1 MB, free: 33.13 MB / 382.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.005418/0.3287, allocations: 4.113 MB / 474.2 MB, free: 31.29 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008198/0.3295, allocations: 0.6426 MB / 474.9 MB, free: 31.26 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002706/0.3323, allocations: 2.381 MB / 477.2 MB, free: 29.79 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006361/0.3329, allocations: 0.498 MB / 477.7 MB, free: 29.67 MB / 382.1 MB Notification: Performance of pre-optimization done (n=48): time 1.944e-06/0.3329, allocations: 0 / 477.7 MB, free: 29.67 MB / 382.1 MB Notification: Performance of matching and sorting (n=53): time 0.004483/0.3374, allocations: 2.688 MB / 480.4 MB, free: 28.83 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.925e-05/0.3375, allocations: 247.8 kB / 480.7 MB, free: 28.54 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008236/0.3383, allocations: 0.8357 MB / 481.5 MB, free: 28.4 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.591e-05/0.3384, allocations: 33.92 kB / 481.5 MB, free: 28.37 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002373/0.3386, allocations: 420.6 kB / 482 MB, free: 28.18 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001188/0.3388, allocations: 176.7 kB / 482.1 MB, free: 28.08 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.401e-05/0.3388, allocations: 13.25 kB / 482.1 MB, free: 28.08 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.505e-05/0.3389, allocations: 340.4 kB / 482.5 MB, free: 27.77 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004719/0.3394, allocations: 373.6 kB / 482.8 MB, free: 27.77 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005532/0.3399, allocations: 0.5953 MB / 483.4 MB, free: 27.48 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005544/0.3405, allocations: 459.1 kB / 483.9 MB, free: 27.43 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.3405, allocations: 3.25 kB / 483.9 MB, free: 27.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001704/0.3422, allocations: 1.245 MB / 485.1 MB, free: 27.25 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000394/0.3426, allocations: 2.567 MB / 487.7 MB, free: 24.56 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/0.3426, allocations: 8.75 kB / 487.7 MB, free: 24.56 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000826/0.3435, allocations: 353.5 kB / 488.1 MB, free: 24.53 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005589/0.3441, allocations: 160.6 kB / 488.2 MB, free: 24.51 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009415/0.345, allocations: 1.449 MB / 489.7 MB, free: 23.4 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006539/0.3457, allocations: 50.36 kB / 489.7 MB, free: 23.38 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.97e-05/0.3458, allocations: 36.84 kB / 489.7 MB, free: 23.38 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.125e-06/0.3458, allocations: 3 kB / 489.7 MB, free: 23.38 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0016/0.3474, allocations: 1.166 MB / 490.9 MB, free: 22.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.3474, allocations: 10.19 kB / 490.9 MB, free: 22.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006305/0.348, allocations: 342.2 kB / 491.3 MB, free: 22.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000525/0.3486, allocations: 155.6 kB / 491.4 MB, free: 22.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000836/0.3494, allocations: 1.44 MB / 492.8 MB, free: 21.63 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005712/0.35, allocations: 54.69 kB / 492.9 MB, free: 21.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.249e-05/0.3501, allocations: 38.55 kB / 492.9 MB, free: 21.6 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,tank.regularFlow[1],tank.regularFlow[2],tank.inFlow[1],tank.inFlow[2],timeTable.a,timeTable.b,timeTable.last,$PRE.timeTable.nextEvent,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 1,2 4} Notification: Performance of prepare postOptimizeDAE: time 0.0004305/0.3505, allocations: 394.2 kB / 493.3 MB, free: 21.3 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001179/0.3506, allocations: 90 kB / 493.4 MB, free: 21.26 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001777/0.3524, allocations: 1.093 MB / 494.5 MB, free: 20.83 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.265e-06/0.3524, allocations: 6.031 kB / 494.5 MB, free: 20.83 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.3525, allocations: 0 / 494.5 MB, free: 20.83 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/0.3525, allocations: 7.5 kB / 494.5 MB, free: 20.82 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002769/0.3552, allocations: 1.953 MB / 496.5 MB, free: 19.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.3553, allocations: 0 / 496.5 MB, free: 19.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003947/0.3557, allocations: 83.05 kB / 496.6 MB, free: 19.92 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008179/0.3565, allocations: 356.3 kB / 496.9 MB, free: 19.82 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.716e-05/0.3565, allocations: 17.2 kB / 496.9 MB, free: 19.81 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009861/0.3575, allocations: 1.433 MB / 498.3 MB, free: 18.63 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.3576, allocations: 7.891 kB / 498.4 MB, free: 18.62 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002023/0.3596, allocations: 1.568 MB / 499.9 MB, free: 17.94 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003969/0.36, allocations: 258.1 kB / 0.4885 GB, free: 17.76 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001319/0.3601, allocations: 14.3 kB / 0.4885 GB, free: 17.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005367/0.3607, allocations: 42.2 kB / 0.4885 GB, free: 17.74 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001289/0.3608, allocations: 56.2 kB / 0.4886 GB, free: 17.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.226e-05/0.3609, allocations: 29.64 kB / 0.4886 GB, free: 17.72 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006702/0.3616, allocations: 0.577 MB / 0.4892 GB, free: 17.49 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3616, allocations: 0 / 0.4892 GB, free: 17.49 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001704/0.3633, allocations: 0.6182 MB / 0.4898 GB, free: 17.39 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (tank.level,tank.medium.T) * Number of discrete variables: 10 ($whenCondition1,tank.regularFlow[1],tank.regularFlow[2],tank.inFlow[1],tank.inFlow[2],timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete states: 6 (timeTable.nextEvent,timeTable.last,timeTable.nextEventScaled,timeTable.b,timeTable.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 1,3 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001006/0.3643, allocations: 489.9 kB / 0.4902 GB, free: 17.21 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00268/0.367, allocations: 1.565 MB / 0.4918 GB, free: 16.59 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.367, allocations: 0 / 0.4918 GB, free: 16.59 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008854/0.3679, allocations: 0.5034 MB / 0.4922 GB, free: 16.37 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001419/0.3693, allocations: 330.7 kB / 0.4926 GB, free: 16.28 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003009/0.3723, allocations: 1.984 MB / 0.4945 GB, free: 15.27 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008851/0.3732, allocations: 1.03 MB / 0.4955 GB, free: 30.53 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001122/0.3744, allocations: 321.5 kB / 0.4958 GB, free: 30.46 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001988/0.3746, allocations: 76.22 kB / 0.4959 GB, free: 30.45 MB / 398.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3746, allocations: 4 kB / 0.4959 GB, free: 30.45 MB / 398.1 MB Notification: Performance of Templates: time 0.03183/0.4064, allocations: 21.04 MB / 0.5164 GB, free: 19.2 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank.pipe 2>&1) Environment - environmentSimulation: