Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tank.level|tank.medium.T|timeTable.a|timeTable.b|timeTable.last|timeTable.nextEvent",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank") translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tank.level|tank.medium.T|timeTable.a|timeTable.b|timeTable.last|timeTable.nextEvent",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001347/0.001347, allocations: 112.4 kB / 18.45 MB, free: 4.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001185/0.001185, allocations: 208 kB / 19.4 MB, free: 3.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.381/1.381, allocations: 227.4 MB / 247.6 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2113/0.2113, allocations: 46.11 MB / 345 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00139/0.00139, allocations: 75.88 kB / 482 MB, free: 4.074 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3408/0.3422, allocations: 62.43 MB / 0.5316 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank): time 0.01882/0.3611, allocations: 16.81 MB / 0.5481 GB, free: 96 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01147/0.3726, allocations: 6.989 MB / 0.5549 GB, free: 9.887 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001174/0.3738, allocations: 23.81 kB / 0.5549 GB, free: 9.863 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001419/0.3753, allocations: 381.8 kB / 0.5553 GB, free: 9.488 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00351/0.3789, allocations: 1.026 MB / 0.5563 GB, free: 8.457 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005832/0.3847, allocations: 1.977 MB / 0.5582 GB, free: 6.496 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003251/0.388, allocations: 2.203 MB / 0.5604 GB, free: 4.281 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001244/0.3893, allocations: 0.6507 MB / 0.561 GB, free: 3.617 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001919/0.3912, allocations: 0.8605 MB / 0.5618 GB, free: 2.754 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00169/0.3929, allocations: 0.8254 MB / 0.5626 GB, free: 1.926 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003402/0.3933, allocations: 88 kB / 0.5627 GB, free: 1.84 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003206/0.3965, allocations: 1.326 MB / 0.564 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005697/0.3971, allocations: 339 kB / 0.5643 GB, free: 184 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009788/0.3981, allocations: 489.7 kB / 0.5648 GB, free: 15.7 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004034/0.4021, allocations: 2.006 MB / 0.5668 GB, free: 13.69 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.4021, allocations: 0 / 0.5668 GB, free: 13.69 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4021, allocations: 0 / 0.5668 GB, free: 13.69 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.193e-05/0.4022, allocations: 4 kB / 0.5668 GB, free: 13.68 MB / 430.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.003814/0.406, allocations: 1.388 MB / 0.5681 GB, free: 12.24 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.707e-05/0.4061, allocations: 8.031 kB / 0.5681 GB, free: 12.23 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005255/0.4066, allocations: 107.8 kB / 0.5682 GB, free: 12.12 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001219/0.4078, allocations: 0.6517 MB / 0.5689 GB, free: 11.43 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001301/0.408, allocations: 108.7 kB / 0.569 GB, free: 11.31 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001172/0.4081, allocations: 59.98 kB / 0.569 GB, free: 11.25 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001785/0.4099, allocations: 1.014 MB / 0.57 GB, free: 10.2 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.11e-05/0.4099, allocations: 0 / 0.57 GB, free: 10.2 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.399e-05/0.41, allocations: 27.98 kB / 0.57 GB, free: 10.17 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.962e-05/0.4101, allocations: 49.28 kB / 0.5701 GB, free: 10.12 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00156/0.4117, allocations: 0.9146 MB / 0.571 GB, free: 9.203 MB / 430.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.006593/0.4183, allocations: 4.068 MB / 0.575 GB, free: 4.93 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001098/0.4194, allocations: 0.6527 MB / 0.5756 GB, free: 4.27 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006176/0.4201, allocations: 406.1 kB / 0.576 GB, free: 3.871 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003376/0.4234, allocations: 2.338 MB / 0.5783 GB, free: 1.281 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000815/0.4243, allocations: 0.5002 MB / 0.5788 GB, free: 0.75 MB / 430.1 MB Notification: Performance of pre-optimization done (n=48): time 2.254e-06/0.4243, allocations: 0 / 0.5788 GB, free: 0.75 MB / 430.1 MB Notification: Performance of matching and sorting (n=53): time 0.005842/0.4301, allocations: 2.613 MB / 0.5813 GB, free: 14.02 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001224/0.4303, allocations: 243.7 kB / 0.5815 GB, free: 13.73 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001176/0.4315, allocations: 0.8407 MB / 0.5824 GB, free: 12.88 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.35e-05/0.4316, allocations: 37.7 kB / 0.5824 GB, free: 12.84 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003213/0.4319, allocations: 423.8 kB / 0.5828 GB, free: 12.41 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001732/0.4321, allocations: 181.5 kB / 0.583 GB, free: 12.23 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003222/0.4324, allocations: 166.5 kB / 0.5831 GB, free: 12.07 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.4325, allocations: 334 kB / 0.5835 GB, free: 11.73 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006115/0.4332, allocations: 380.6 kB / 0.5838 GB, free: 11.36 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008288/0.434, allocations: 0.6183 MB / 0.5844 GB, free: 10.64 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0014/0.4354, allocations: 0.9594 MB / 0.5854 GB, free: 9.57 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.54e-06/0.4354, allocations: 4 kB / 0.5854 GB, free: 9.566 MB / 446.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0023/0.4377, allocations: 1.278 MB / 0.5866 GB, free: 8.273 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.171e-05/0.4378, allocations: 45.69 kB / 0.5867 GB, free: 8.223 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.442e-05/0.4378, allocations: 4.5 kB / 0.5867 GB, free: 8.219 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001016/0.4388, allocations: 365.3 kB / 0.587 GB, free: 7.855 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000658/0.4395, allocations: 151.8 kB / 0.5872 GB, free: 7.707 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001342/0.4409, allocations: 1.452 MB / 0.5886 GB, free: 6.203 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007944/0.4417, allocations: 36.11 kB / 0.5886 GB, free: 6.168 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001052/0.4418, allocations: 43.98 kB / 0.5886 GB, free: 6.125 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009219/0.4427, allocations: 0.5643 MB / 0.5892 GB, free: 5.555 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008127/0.4436, allocations: 0.6183 MB / 0.5898 GB, free: 4.828 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001337/0.4449, allocations: 0.9602 MB / 0.5907 GB, free: 3.762 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.402e-06/0.4449, allocations: 0 / 0.5907 GB, free: 3.762 MB / 446.1 MB Notification: Performance of matching and sorting (n=97) (initialization_lambda0): time 0.002392/0.4473, allocations: 1.266 MB / 0.592 GB, free: 2.473 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.453e-05/0.4474, allocations: 41.69 kB / 0.592 GB, free: 2.426 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.614e-05/0.4474, allocations: 8 kB / 0.592 GB, free: 2.418 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008714/0.4483, allocations: 333.8 kB / 0.5923 GB, free: 2.086 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006085/0.4489, allocations: 155.7 kB / 0.5925 GB, free: 1.934 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001366/0.4503, allocations: 1.44 MB / 0.5939 GB, free: 452 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008716/0.4512, allocations: 43.91 kB / 0.5939 GB, free: 408 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001134/0.4513, allocations: 32.25 kB / 0.594 GB, free: 376 kB / 446.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 (timeTable.nextEventScaled,timeTable.nextEvent,$PRE.timeTable.nextEvent,timeTable.last,timeTable.b,timeTable.a,tank.inFlow[2],tank.inFlow[1],tank.regularFlow[2],tank.regularFlow[1],$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,1), (2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0003446/0.4516, allocations: 273.8 kB / 0.5942 GB, free: 88 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002696/0.4519, allocations: 87.17 kB / 0.5943 GB, free: 16 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002263/0.4542, allocations: 1.095 MB / 0.5954 GB, free: 14.88 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.4542, allocations: 4 kB / 0.5954 GB, free: 14.88 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.4542, allocations: 0 / 0.5954 GB, free: 14.88 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.4543, allocations: 0 / 0.5954 GB, free: 14.88 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003177/0.4574, allocations: 1.952 MB / 0.5973 GB, free: 12.86 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.4575, allocations: 0 / 0.5973 GB, free: 12.86 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004619/0.4579, allocations: 83.83 kB / 0.5974 GB, free: 12.77 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008473/0.4588, allocations: 341.5 kB / 0.5977 GB, free: 12.43 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.419e-05/0.4589, allocations: 19.97 kB / 0.5977 GB, free: 12.41 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001331/0.4603, allocations: 1.44 MB / 0.5991 GB, free: 10.92 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.4603, allocations: 0 / 0.5991 GB, free: 10.92 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002529/0.4628, allocations: 1.579 MB / 0.6007 GB, free: 9.316 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004893/0.4633, allocations: 247.9 kB / 0.6009 GB, free: 9.055 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002185/0.4636, allocations: 12 kB / 0.6009 GB, free: 9.043 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006657/0.4642, allocations: 36.16 kB / 0.6009 GB, free: 9.008 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001567/0.4644, allocations: 52.36 kB / 0.601 GB, free: 8.953 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.615e-05/0.4645, allocations: 23.98 kB / 0.601 GB, free: 8.93 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000873/0.4654, allocations: 0.581 MB / 0.6016 GB, free: 8.352 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.4654, allocations: 0 / 0.6016 GB, free: 8.352 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00194/0.4673, allocations: 0.617 MB / 0.6022 GB, free: 7.734 MB / 462.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 (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,1), (2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001503/0.4688, allocations: 0.5041 MB / 0.6027 GB, free: 7.23 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003457/0.4723, allocations: 1.618 MB / 0.6043 GB, free: 5.59 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/0.4724, allocations: 5.75 kB / 0.6043 GB, free: 5.586 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001009/0.4734, allocations: 0.49 MB / 0.6047 GB, free: 5.086 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001941/0.4753, allocations: 370.8 kB / 0.6051 GB, free: 4.734 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003412/0.4788, allocations: 1.76 MB / 0.6068 GB, free: 2.941 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006457/0.4794, allocations: 1.013 MB / 0.6078 GB, free: 1.898 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003051/0.4798, allocations: 83.41 kB / 0.6079 GB, free: 1.816 MB / 462.1 MB Notification: Performance of SimCode: time 1.092e-06/0.4798, allocations: 0 / 0.6079 GB, free: 1.816 MB / 462.1 MB Notification: Performance of Templates: time 0.03351/0.5133, allocations: 23.18 MB / 0.6305 GB, free: 10.7 MB / 494.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank.pipe 2>&1)