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.001127/0.001127, allocations: 111.7 kB / 18.45 MB, free: 4.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001197/0.001197, allocations: 211.9 kB / 19.41 MB, free: 3.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.339/1.339, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2105/0.2105, allocations: 46.11 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001689/0.001689, allocations: 75.88 kB / 482 MB, free: 4.078 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3381/0.3398, allocations: 62.43 MB / 0.5316 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank): time 0.01858/0.3584, allocations: 16.81 MB / 0.5481 GB, free: 84 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01017/0.3687, allocations: 6.987 MB / 0.5549 GB, free: 9.867 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001044/0.3697, allocations: 19.88 kB / 0.5549 GB, free: 9.848 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001037/0.3708, allocations: 385.8 kB / 0.5553 GB, free: 9.469 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00262/0.3735, allocations: 1.042 MB / 0.5563 GB, free: 8.422 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004772/0.3783, allocations: 1.98 MB / 0.5582 GB, free: 6.457 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002874/0.3811, allocations: 2.199 MB / 0.5604 GB, free: 4.246 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009231/0.3821, allocations: 0.6411 MB / 0.561 GB, free: 3.59 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001298/0.3834, allocations: 0.8683 MB / 0.5618 GB, free: 2.719 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001182/0.3846, allocations: 0.841 MB / 0.5627 GB, free: 1.875 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001708/0.3848, allocations: 80 kB / 0.5627 GB, free: 1.797 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002957/0.3877, allocations: 1.342 MB / 0.5641 GB, free: 464 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003535/0.3881, allocations: 343 kB / 0.5644 GB, free: 120 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005402/0.3886, allocations: 485.7 kB / 0.5648 GB, free: 15.64 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003033/0.3917, allocations: 2.045 MB / 0.5668 GB, free: 13.59 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/0.3917, allocations: 0 / 0.5668 GB, free: 13.59 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3917, allocations: 0 / 0.5668 GB, free: 13.59 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.255e-05/0.3917, allocations: 4 kB / 0.5668 GB, free: 13.59 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.002794/0.3945, allocations: 1.433 MB / 0.5682 GB, free: 12.09 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.3946, allocations: 8.031 kB / 0.5682 GB, free: 12.09 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003639/0.395, allocations: 116.3 kB / 0.5684 GB, free: 11.97 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009791/0.3959, allocations: 0.66 MB / 0.569 GB, free: 11.27 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001091/0.3961, allocations: 104.7 kB / 0.5691 GB, free: 11.16 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001056/0.3962, allocations: 59.98 kB / 0.5692 GB, free: 11.1 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001481/0.3977, allocations: 1.007 MB / 0.5701 GB, free: 10.05 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.031e-05/0.3977, allocations: 0 / 0.5701 GB, free: 10.05 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.314e-05/0.3978, allocations: 27.98 kB / 0.5702 GB, free: 10.02 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-05/0.3979, allocations: 49.28 kB / 0.5702 GB, free: 9.973 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001432/0.3993, allocations: 0.9184 MB / 0.5711 GB, free: 9.051 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.005864/0.4052, allocations: 4.069 MB / 0.5751 GB, free: 4.777 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009683/0.4062, allocations: 0.6556 MB / 0.5757 GB, free: 4.117 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005547/0.4067, allocations: 410.1 kB / 0.5761 GB, free: 3.715 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002914/0.4096, allocations: 2.35 MB / 0.5784 GB, free: 1.113 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007019/0.4104, allocations: 0.4924 MB / 0.5789 GB, free: 0.5898 MB / 430.1 MB Notification: Performance of pre-optimization done (n=48): time 2.224e-06/0.4104, allocations: 4 kB / 0.5789 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of matching and sorting (n=53): time 0.005077/0.4155, allocations: 2.623 MB / 0.5815 GB, free: 13.85 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001029/0.4156, allocations: 247.7 kB / 0.5817 GB, free: 13.55 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000941/0.4165, allocations: 0.8446 MB / 0.5825 GB, free: 12.7 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.976e-05/0.4166, allocations: 41.7 kB / 0.5826 GB, free: 12.65 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002879/0.4169, allocations: 420.6 kB / 0.583 GB, free: 12.23 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001448/0.417, allocations: 186.5 kB / 0.5831 GB, free: 12.05 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002627/0.4173, allocations: 166.5 kB / 0.5833 GB, free: 11.88 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001235/0.4174, allocations: 334 kB / 0.5836 GB, free: 11.55 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005655/0.418, allocations: 384.6 kB / 0.584 GB, free: 11.17 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007319/0.4188, allocations: 0.6144 MB / 0.5846 GB, free: 10.45 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001224/0.42, allocations: 0.9633 MB / 0.5855 GB, free: 9.383 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.269e-06/0.42, allocations: 4 kB / 0.5855 GB, free: 9.379 MB / 446.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002027/0.422, allocations: 1.275 MB / 0.5868 GB, free: 8.09 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.399e-05/0.4221, allocations: 42.19 kB / 0.5868 GB, free: 8.043 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.235e-05/0.4221, allocations: 12 kB / 0.5868 GB, free: 8.031 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009293/0.423, allocations: 369.5 kB / 0.5872 GB, free: 7.664 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005868/0.4236, allocations: 147.8 kB / 0.5873 GB, free: 7.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001271/0.4249, allocations: 1.46 MB / 0.5887 GB, free: 6.008 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006706/0.4256, allocations: 36.11 kB / 0.5888 GB, free: 5.973 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.749e-05/0.4257, allocations: 35.98 kB / 0.5888 GB, free: 5.938 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008221/0.4265, allocations: 0.5682 MB / 0.5894 GB, free: 5.363 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007364/0.4273, allocations: 0.6183 MB / 0.59 GB, free: 4.637 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001236/0.4285, allocations: 0.9563 MB / 0.5909 GB, free: 3.574 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.582e-06/0.4285, allocations: 4 kB / 0.5909 GB, free: 3.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=97) (initialization_lambda0): time 0.002045/0.4306, allocations: 1.267 MB / 0.5921 GB, free: 2.281 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.771e-05/0.4306, allocations: 41.69 kB / 0.5922 GB, free: 2.234 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/0.4307, allocations: 8 kB / 0.5922 GB, free: 2.227 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007961/0.4315, allocations: 337.8 kB / 0.5925 GB, free: 1.891 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005858/0.4321, allocations: 151.7 kB / 0.5927 GB, free: 1.742 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001229/0.4333, allocations: 1.444 MB / 0.5941 GB, free: 252 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006988/0.434, allocations: 39.97 kB / 0.5941 GB, free: 212 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.016e-05/0.4341, allocations: 36 kB / 0.5941 GB, free: 176 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.0003238/0.4344, allocations: 273.9 kB / 0.5944 GB, free: 15.89 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001665/0.4346, allocations: 95.44 kB / 0.5945 GB, free: 15.79 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002002/0.4366, allocations: 1.099 MB / 0.5956 GB, free: 14.68 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.233e-06/0.4366, allocations: 0 / 0.5956 GB, free: 14.68 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.4366, allocations: 192 / 0.5956 GB, free: 14.68 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003999/0.437, allocations: 252.4 kB / 0.5958 GB, free: 14.41 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001647/0.4372, allocations: 20 kB / 0.5958 GB, free: 14.39 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005272/0.4377, allocations: 27.98 kB / 0.5959 GB, free: 14.37 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000147/0.4379, allocations: 52.3 kB / 0.5959 GB, free: 14.32 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002055/0.44, allocations: 1.133 MB / 0.597 GB, free: 13.15 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002015/0.442, allocations: 1.49 MB / 0.5985 GB, free: 11.64 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005474/0.4426, allocations: 395.6 kB / 0.5988 GB, free: 11.25 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007916/0.4434, allocations: 0.5849 MB / 0.5994 GB, free: 10.67 MB / 462.1 MB Notification: Performance of Backend: time 3.81e-07/0.4434, allocations: 3.938 kB / 0.5994 GB, free: 10.67 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004637/0.448, allocations: 1.808 MB / 0.6012 GB, free: 8.836 MB / 462.1 MB Notification: Performance of SimCode: time 0.003815/0.4518, allocations: 2.334 MB / 0.6035 GB, free: 6.449 MB / 462.1 MB Notification: Performance of Templates: time 0.04179/0.4937, allocations: 25.81 MB / 0.6287 GB, free: 12.76 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)