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.0009712/0.0009711, allocations: 93.22 kB / 17.35 MB, free: 6.035 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001204/0.001204, allocations: 200 kB / 18.28 MB, free: 5.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.388/1.388, allocations: 227.7 MB / 246.8 MB, free: 11.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2028/0.2028, allocations: 46.19 MB / 345.2 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002686/0.0002686, allocations: 8 kB / 419.5 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1135, allocations: 63.56 MB / 483.1 MB, free: 4.172 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank): time 0.01932/0.1329, allocations: 16.77 MB / 499.9 MB, free: 3.328 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01088/0.1438, allocations: 7.201 MB / 0.4952 GB, free: 12.11 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009326/0.1447, allocations: 27.75 kB / 0.4952 GB, free: 12.08 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001049/0.1458, allocations: 346.3 kB / 0.4955 GB, free: 11.74 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002599/0.1484, allocations: 0.9643 MB / 0.4965 GB, free: 10.78 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00495/0.1534, allocations: 1.655 MB / 0.4981 GB, free: 9.133 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003686/0.1571, allocations: 3.077 MB / 0.5011 GB, free: 6.051 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001123/0.1582, allocations: 0.5729 MB / 0.5017 GB, free: 5.465 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00165/0.1599, allocations: 0.7356 MB / 0.5024 GB, free: 4.727 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001486/0.1614, allocations: 0.8214 MB / 0.5032 GB, free: 3.902 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002726/0.1617, allocations: 40 kB / 0.5032 GB, free: 3.863 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002805/0.1645, allocations: 1.299 MB / 0.5045 GB, free: 2.562 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004944/0.165, allocations: 299.1 kB / 0.5048 GB, free: 2.27 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008274/0.1659, allocations: 483.3 kB / 0.5052 GB, free: 1.789 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2317/0.3976, allocations: 1.924 MB / 0.5071 GB, free: 16.33 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.3976, allocations: 0 / 0.5071 GB, free: 16.33 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.408e-06/0.3976, allocations: 0.5625 kB / 0.5071 GB, free: 16.33 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.909e-05/0.3977, allocations: 0.5938 kB / 0.5071 GB, free: 16.33 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.003527/0.4013, allocations: 1.208 MB / 0.5083 GB, free: 15.66 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.4013, allocations: 9.469 kB / 0.5083 GB, free: 15.66 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007511/0.4021, allocations: 111.7 kB / 0.5084 GB, free: 15.62 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001467/0.4036, allocations: 0.6283 MB / 0.509 GB, free: 15.32 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001531/0.4037, allocations: 114.2 kB / 0.5091 GB, free: 15.26 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002576/0.404, allocations: 53.41 kB / 0.5092 GB, free: 15.26 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002005/0.406, allocations: 1.009 MB / 0.5102 GB, free: 15.13 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.78e-05/0.4061, allocations: 2.109 kB / 0.5102 GB, free: 15.13 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001342/0.4062, allocations: 30.16 kB / 0.5102 GB, free: 15.13 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000102/0.4063, allocations: 51.56 kB / 0.5102 GB, free: 15.13 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001687/0.408, allocations: 0.917 MB / 0.5111 GB, free: 15.12 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.007089/0.4151, allocations: 4.07 MB / 0.5151 GB, free: 13.32 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001275/0.4164, allocations: 0.6537 MB / 0.5158 GB, free: 13.29 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006861/0.4171, allocations: 398.9 kB / 0.5161 GB, free: 13.28 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003948/0.4211, allocations: 2.356 MB / 0.5184 GB, free: 11.82 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009595/0.4221, allocations: 0.5042 MB / 0.5189 GB, free: 11.7 MB / 382.1 MB Notification: Performance of pre-optimization done (n=48): time 2.885e-06/0.4221, allocations: 0 / 0.5189 GB, free: 11.7 MB / 382.1 MB Notification: Performance of matching and sorting (n=53): time 0.006242/0.4283, allocations: 2.621 MB / 0.5215 GB, free: 10.96 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.896e-05/0.4285, allocations: 244.8 kB / 0.5217 GB, free: 10.68 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001415/0.4299, allocations: 0.8366 MB / 0.5225 GB, free: 10.54 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001535/0.4301, allocations: 39.86 kB / 0.5226 GB, free: 10.51 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003005/0.4304, allocations: 425.2 kB / 0.523 GB, free: 10.31 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002023/0.4306, allocations: 178.7 kB / 0.5231 GB, free: 10.21 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001452/0.4307, allocations: 70.39 kB / 0.5232 GB, free: 10.19 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.918e-05/0.4308, allocations: 339.9 kB / 0.5235 GB, free: 9.883 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006697/0.4315, allocations: 369.4 kB / 0.5239 GB, free: 9.883 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009182/0.4324, allocations: 0.6151 MB / 0.5245 GB, free: 9.594 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00135/0.4338, allocations: 0.9681 MB / 0.5254 GB, free: 9.285 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.717e-06/0.4338, allocations: 2.188 kB / 0.5254 GB, free: 9.285 MB / 382.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002413/0.4362, allocations: 1.274 MB / 0.5267 GB, free: 9.141 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000158/0.4364, allocations: 309.8 kB / 0.527 GB, free: 8.785 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.564e-05/0.4364, allocations: 6.312 kB / 0.527 GB, free: 8.785 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009979/0.4374, allocations: 369.8 kB / 0.5273 GB, free: 8.758 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006261/0.4381, allocations: 151.5 kB / 0.5275 GB, free: 8.758 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001537/0.4396, allocations: 1.453 MB / 0.5289 GB, free: 7.715 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001039/0.4407, allocations: 49.11 kB / 0.5289 GB, free: 7.707 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001037/0.4408, allocations: 39.69 kB / 0.529 GB, free: 7.707 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.738e-06/0.4408, allocations: 2.812 kB / 0.529 GB, free: 7.707 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002097/0.4429, allocations: 1.181 MB / 0.5301 GB, free: 7.637 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.779e-05/0.4429, allocations: 6.5 kB / 0.5301 GB, free: 7.637 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007844/0.4437, allocations: 346.9 kB / 0.5305 GB, free: 7.605 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000584/0.4443, allocations: 154.6 kB / 0.5306 GB, free: 7.602 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009911/0.4453, allocations: 1.44 MB / 0.532 GB, free: 6.559 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008187/0.4462, allocations: 44.77 kB / 0.5321 GB, free: 6.559 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.675e-05/0.4463, allocations: 43.38 kB / 0.5321 GB, free: 6.555 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 (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.0005538/0.4468, allocations: 394.6 kB / 0.5325 GB, free: 6.328 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000244/0.4471, allocations: 92.25 kB / 0.5326 GB, free: 6.281 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002132/0.4492, allocations: 1.096 MB / 0.5337 GB, free: 5.926 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.338e-06/0.4492, allocations: 5.906 kB / 0.5337 GB, free: 5.926 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.776e-06/0.4493, allocations: 4 kB / 0.5337 GB, free: 5.922 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-06/0.4493, allocations: 3.609 kB / 0.5337 GB, free: 5.922 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003112/0.4524, allocations: 1.949 MB / 0.5356 GB, free: 5.031 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.159e-06/0.4524, allocations: 0 / 0.5356 GB, free: 5.031 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004393/0.4529, allocations: 80.19 kB / 0.5356 GB, free: 5.027 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008598/0.4537, allocations: 359.2 kB / 0.536 GB, free: 4.938 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.169e-05/0.4538, allocations: 22.22 kB / 0.536 GB, free: 4.926 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00104/0.4549, allocations: 1.439 MB / 0.5374 GB, free: 3.738 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.4549, allocations: 0 / 0.5374 GB, free: 3.738 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002158/0.457, allocations: 1.572 MB / 0.5389 GB, free: 3.055 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004993/0.4575, allocations: 259.7 kB / 0.5392 GB, free: 2.871 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002126/0.4578, allocations: 14.69 kB / 0.5392 GB, free: 2.863 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007353/0.4585, allocations: 47.42 kB / 0.5393 GB, free: 2.848 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001616/0.4587, allocations: 47.69 kB / 0.5393 GB, free: 2.844 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.187e-05/0.4588, allocations: 28.19 kB / 0.5393 GB, free: 2.836 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008663/0.4596, allocations: 0.584 MB / 0.5399 GB, free: 2.602 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.4597, allocations: 1.969 kB / 0.5399 GB, free: 2.602 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001961/0.4616, allocations: 0.6232 MB / 0.5405 GB, free: 2.5 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 (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), (3,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001353/0.463, allocations: 0.5011 MB / 0.541 GB, free: 2.32 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002822/0.4658, allocations: 1.572 MB / 0.5425 GB, free: 1.746 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.4658, allocations: 0 / 0.5425 GB, free: 1.746 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000921/0.4668, allocations: 0.4958 MB / 0.543 GB, free: 1.539 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002003/0.4688, allocations: 346.2 kB / 0.5433 GB, free: 1.441 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003255/0.472, allocations: 2.094 MB / 0.5454 GB, free: 136 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006118/0.4727, allocations: 1.01 MB / 0.5464 GB, free: 15.27 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001171/0.4739, allocations: 322.1 kB / 0.5467 GB, free: 14.96 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000314/0.4742, allocations: 74.05 kB / 0.5468 GB, free: 14.89 MB / 398.1 MB Notification: Performance of SimCode: time 8.12e-07/0.4742, allocations: 0 / 0.5468 GB, free: 14.89 MB / 398.1 MB Notification: Performance of Templates: time 0.05942/0.5336, allocations: 21.72 MB / 0.568 GB, free: 9.418 MB / 414.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)