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.001058/0.001058, allocations: 111.6 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001156/0.001157, allocations: 208 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.325/1.325, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2042/0.2042, allocations: 46.1 MB / 345 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001459/0.001459, allocations: 83.86 kB / 482 MB, free: 4.059 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3247/0.3261, allocations: 62.43 MB / 0.5317 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank): time 0.01814/0.3443, allocations: 16.81 MB / 0.5481 GB, free: 76 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01091/0.3553, allocations: 6.986 MB / 0.5549 GB, free: 9.859 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001252/0.3566, allocations: 23.88 kB / 0.5549 GB, free: 9.836 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001082/0.3577, allocations: 389.8 kB / 0.5553 GB, free: 9.453 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00258/0.3603, allocations: 1.019 MB / 0.5563 GB, free: 8.43 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00489/0.3652, allocations: 1.984 MB / 0.5582 GB, free: 6.461 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002775/0.368, allocations: 2.203 MB / 0.5604 GB, free: 4.246 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001173/0.3692, allocations: 0.639 MB / 0.561 GB, free: 3.594 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001716/0.3709, allocations: 0.8683 MB / 0.5618 GB, free: 2.723 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001522/0.3724, allocations: 0.8216 MB / 0.5626 GB, free: 1.898 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001956/0.3726, allocations: 84 kB / 0.5627 GB, free: 1.816 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002444/0.3751, allocations: 1.334 MB / 0.564 GB, free: 492 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000312/0.3754, allocations: 335 kB / 0.5643 GB, free: 156 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005113/0.3759, allocations: 493.8 kB / 0.5648 GB, free: 15.66 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002418/0.3784, allocations: 2.002 MB / 0.5668 GB, free: 13.66 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.3784, allocations: 0 / 0.5668 GB, free: 13.66 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3784, allocations: 0 / 0.5668 GB, free: 13.66 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.186e-05/0.3784, allocations: 0 / 0.5668 GB, free: 13.66 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.002748/0.3812, allocations: 1.388 MB / 0.5681 GB, free: 12.21 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.3812, allocations: 8.031 kB / 0.5681 GB, free: 12.21 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003868/0.3816, allocations: 111.8 kB / 0.5682 GB, free: 12.1 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009363/0.3826, allocations: 0.6557 MB / 0.5689 GB, free: 11.4 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001048/0.3827, allocations: 104.7 kB / 0.569 GB, free: 11.29 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001119/0.3828, allocations: 55.98 kB / 0.569 GB, free: 11.23 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001489/0.3843, allocations: 1.011 MB / 0.57 GB, free: 10.18 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.119e-05/0.3843, allocations: 3.938 kB / 0.57 GB, free: 10.17 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.213e-05/0.3844, allocations: 31.97 kB / 0.5701 GB, free: 10.14 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-05/0.3845, allocations: 49.28 kB / 0.5701 GB, free: 10.09 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0014/0.3859, allocations: 0.9185 MB / 0.571 GB, free: 9.172 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.00585/0.3918, allocations: 4.064 MB / 0.575 GB, free: 4.902 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001011/0.3928, allocations: 0.6565 MB / 0.5756 GB, free: 4.238 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005599/0.3934, allocations: 402.1 kB / 0.576 GB, free: 3.844 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002988/0.3964, allocations: 2.342 MB / 0.5783 GB, free: 1.25 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007508/0.3971, allocations: 0.4924 MB / 0.5788 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of pre-optimization done (n=48): time 2.094e-06/0.3971, allocations: 0 / 0.5788 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of matching and sorting (n=53): time 0.005326/0.4025, allocations: 2.609 MB / 0.5813 GB, free: 14 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001114/0.4026, allocations: 247.7 kB / 0.5815 GB, free: 13.71 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001074/0.4037, allocations: 0.8407 MB / 0.5824 GB, free: 12.86 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.5e-05/0.4038, allocations: 37.7 kB / 0.5824 GB, free: 12.81 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003367/0.4041, allocations: 415.8 kB / 0.5828 GB, free: 12.4 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001577/0.4043, allocations: 181.5 kB / 0.583 GB, free: 12.22 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002669/0.4046, allocations: 166.5 kB / 0.5831 GB, free: 12.05 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.4047, allocations: 345.9 kB / 0.5835 GB, free: 11.71 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005754/0.4053, allocations: 372.6 kB / 0.5838 GB, free: 11.34 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007544/0.4061, allocations: 0.6183 MB / 0.5844 GB, free: 10.62 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001467/0.4075, allocations: 0.9594 MB / 0.5854 GB, free: 9.551 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.155e-06/0.4076, allocations: 4 kB / 0.5854 GB, free: 9.547 MB / 446.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002302/0.4099, allocations: 1.278 MB / 0.5866 GB, free: 8.254 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.774e-05/0.4099, allocations: 41.7 kB / 0.5867 GB, free: 8.207 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.654e-05/0.4099, allocations: 4 kB / 0.5867 GB, free: 8.203 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009796/0.4109, allocations: 361.7 kB / 0.587 GB, free: 7.844 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006283/0.4116, allocations: 151.7 kB / 0.5871 GB, free: 7.695 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001633/0.4132, allocations: 1.464 MB / 0.5886 GB, free: 6.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007733/0.414, allocations: 39.97 kB / 0.5886 GB, free: 6.141 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.128e-05/0.4141, allocations: 36 kB / 0.5886 GB, free: 6.105 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009576/0.4151, allocations: 0.5682 MB / 0.5892 GB, free: 5.531 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008233/0.4159, allocations: 0.6185 MB / 0.5898 GB, free: 4.805 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001269/0.4172, allocations: 0.964 MB / 0.5907 GB, free: 3.734 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.113e-06/0.4172, allocations: 0 / 0.5907 GB, free: 3.734 MB / 446.1 MB Notification: Performance of matching and sorting (n=97) (initialization_lambda0): time 0.002308/0.4195, allocations: 1.255 MB / 0.592 GB, free: 2.457 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.988e-05/0.4196, allocations: 48.22 kB / 0.592 GB, free: 2.406 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.406e-05/0.4196, allocations: 8 kB / 0.592 GB, free: 2.398 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009052/0.4205, allocations: 345.4 kB / 0.5924 GB, free: 2.055 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006621/0.4212, allocations: 151.8 kB / 0.5925 GB, free: 1.906 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001324/0.4225, allocations: 1.448 MB / 0.5939 GB, free: 416 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007968/0.4233, allocations: 35.98 kB / 0.5939 GB, free: 380 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.996e-05/0.4234, allocations: 35.98 kB / 0.594 GB, free: 344 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.0003747/0.4238, allocations: 269.7 kB / 0.5942 GB, free: 60 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002201/0.424, allocations: 87.02 kB / 0.5943 GB, free: 15.97 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002184/0.4262, allocations: 1.099 MB / 0.5954 GB, free: 14.86 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.036e-05/0.4262, allocations: 3.984 kB / 0.5954 GB, free: 14.85 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.4263, allocations: 0 / 0.5954 GB, free: 14.85 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004467/0.4267, allocations: 247.9 kB / 0.5956 GB, free: 14.59 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001805/0.4269, allocations: 15.94 kB / 0.5957 GB, free: 14.57 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005511/0.4275, allocations: 31.97 kB / 0.5957 GB, free: 14.54 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001453/0.4276, allocations: 56.31 kB / 0.5957 GB, free: 14.49 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002231/0.4298, allocations: 1.125 MB / 0.5968 GB, free: 13.33 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002039/0.4319, allocations: 1.493 MB / 0.5983 GB, free: 11.82 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00054/0.4325, allocations: 395.4 kB / 0.5987 GB, free: 11.43 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008099/0.4333, allocations: 0.5849 MB / 0.5992 GB, free: 10.85 MB / 462.1 MB Notification: Performance of Backend: time 5.01e-07/0.4333, allocations: 0 / 0.5992 GB, free: 10.85 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004742/0.438, allocations: 1.802 MB / 0.601 GB, free: 9.023 MB / 462.1 MB Notification: Performance of SimCode: time 0.00349/0.4415, allocations: 2.314 MB / 0.6033 GB, free: 6.656 MB / 462.1 MB Notification: Performance of Templates: time 0.04104/0.4826, allocations: 26.36 MB / 0.629 GB, free: 12.42 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)