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.001036/0.001037, allocations: 90.98 kB / 18 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00123/0.00123, allocations: 201.2 kB / 18.93 MB, free: 4.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.369/1.369, allocations: 227.7 MB / 247.5 MB, free: 11.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2/0.2, allocations: 46.19 MB / 345.9 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002724/0.0002727, allocations: 4 kB / 420.2 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.1132, allocations: 63.56 MB / 483.7 MB, free: 4.168 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank): time 0.01853/0.1318, allocations: 16.77 MB / 0.4888 GB, free: 3.324 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01058/0.1424, allocations: 7.207 MB / 0.4958 GB, free: 12.1 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001085/0.1435, allocations: 27.75 kB / 0.4958 GB, free: 12.07 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001138/0.1447, allocations: 342.4 kB / 0.4962 GB, free: 11.74 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002701/0.1474, allocations: 0.9608 MB / 0.4971 GB, free: 10.77 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004856/0.1523, allocations: 1.665 MB / 0.4987 GB, free: 9.121 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003635/0.1559, allocations: 3.077 MB / 0.5017 GB, free: 6.039 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001214/0.1572, allocations: 0.5611 MB / 0.5023 GB, free: 5.465 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001753/0.1589, allocations: 0.7356 MB / 0.503 GB, free: 4.727 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001592/0.1605, allocations: 0.8331 MB / 0.5038 GB, free: 3.891 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003147/0.1609, allocations: 40 kB / 0.5039 GB, free: 3.852 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003052/0.1639, allocations: 1.299 MB / 0.5051 GB, free: 2.551 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005656/0.1645, allocations: 291.1 kB / 0.5054 GB, free: 2.266 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009873/0.1655, allocations: 487.3 kB / 0.5059 GB, free: 1.781 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002624/0.1682, allocations: 1.411 MB / 0.5072 GB, free: 376 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.1682, allocations: 0 / 0.5072 GB, free: 376 kB / 382.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1682, allocations: 0 / 0.5072 GB, free: 376 kB / 382.1 MB Notification: Performance of Transformations before backend: time 4.453e-05/0.1683, allocations: 0 / 0.5072 GB, free: 376 kB / 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.2221/0.3904, allocations: 1.205 MB / 0.5084 GB, free: 42.09 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.362e-05/0.3904, allocations: 9.406 kB / 0.5084 GB, free: 42.09 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007292/0.3912, allocations: 111.5 kB / 0.5085 GB, free: 42.04 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001386/0.3926, allocations: 0.6241 MB / 0.5091 GB, free: 41.75 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001283/0.3927, allocations: 107.9 kB / 0.5092 GB, free: 41.68 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002033/0.3929, allocations: 60.14 kB / 0.5093 GB, free: 41.68 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001992/0.3949, allocations: 1.007 MB / 0.5103 GB, free: 41.53 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.799e-05/0.395, allocations: 7.281 kB / 0.5103 GB, free: 41.53 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001264/0.3951, allocations: 27.03 kB / 0.5103 GB, free: 41.53 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001039/0.3952, allocations: 54.11 kB / 0.5104 GB, free: 41.52 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001814/0.397, allocations: 0.9197 MB / 0.5113 GB, free: 41.46 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.006695/0.4038, allocations: 4.058 MB / 0.5152 GB, free: 38.88 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001093/0.4049, allocations: 0.6497 MB / 0.5159 GB, free: 38.63 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006178/0.4055, allocations: 403.7 kB / 0.5163 GB, free: 38.48 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00325/0.4088, allocations: 2.369 MB / 0.5186 GB, free: 36.67 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007847/0.4096, allocations: 0.4958 MB / 0.5191 GB, free: 36.44 MB / 382.1 MB Notification: Performance of pre-optimization done (n=48): time 2.835e-06/0.4096, allocations: 0 / 0.5191 GB, free: 36.44 MB / 382.1 MB Notification: Performance of matching and sorting (n=53): time 0.005825/0.4154, allocations: 2.63 MB / 0.5216 GB, free: 35.12 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.915e-05/0.4155, allocations: 240.6 kB / 0.5218 GB, free: 34.84 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00139/0.4169, allocations: 0.8402 MB / 0.5227 GB, free: 34.5 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001022/0.417, allocations: 38.02 kB / 0.5227 GB, free: 34.46 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002994/0.4173, allocations: 418.2 kB / 0.5231 GB, free: 34.12 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001771/0.4175, allocations: 180.3 kB / 0.5233 GB, free: 33.99 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001218/0.4176, allocations: 68.7 kB / 0.5233 GB, free: 33.95 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.319e-05/0.4177, allocations: 335.4 kB / 0.5237 GB, free: 33.64 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006565/0.4184, allocations: 372 kB / 0.524 GB, free: 33.52 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000781/0.4192, allocations: 0.6202 MB / 0.5246 GB, free: 33.09 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001319/0.4205, allocations: 0.9644 MB / 0.5256 GB, free: 32.49 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.036e-05/0.4205, allocations: 5.812 kB / 0.5256 GB, free: 32.49 MB / 382.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002346/0.4229, allocations: 1.278 MB / 0.5268 GB, free: 31.98 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001544/0.4231, allocations: 310.8 kB / 0.5271 GB, free: 31.61 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.776e-05/0.4231, allocations: 6.938 kB / 0.5271 GB, free: 31.61 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009858/0.4241, allocations: 360.6 kB / 0.5275 GB, free: 31.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006211/0.4247, allocations: 149.1 kB / 0.5276 GB, free: 31.45 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001096/0.4258, allocations: 1.46 MB / 0.529 GB, free: 30.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008567/0.4267, allocations: 44.92 kB / 0.5291 GB, free: 30.14 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001016/0.4268, allocations: 43.88 kB / 0.5291 GB, free: 30.13 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.089e-05/0.4268, allocations: 7.312 kB / 0.5291 GB, free: 30.12 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00201/0.4289, allocations: 1.174 MB / 0.5303 GB, free: 29.54 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.926e-05/0.4289, allocations: 5.469 kB / 0.5303 GB, free: 29.54 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007593/0.4297, allocations: 347 kB / 0.5306 GB, free: 29.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000587/0.4303, allocations: 151.6 kB / 0.5308 GB, free: 29.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009986/0.4313, allocations: 1.434 MB / 0.5322 GB, free: 28.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007943/0.4321, allocations: 58.88 kB / 0.5322 GB, free: 28.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.602e-05/0.4322, allocations: 35.28 kB / 0.5322 GB, free: 28.03 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.0005448/0.4327, allocations: 396.8 kB / 0.5326 GB, free: 27.71 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002203/0.433, allocations: 87.78 kB / 0.5327 GB, free: 27.66 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001994/0.435, allocations: 1.097 MB / 0.5338 GB, free: 27.06 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.566e-06/0.435, allocations: 5.5 kB / 0.5338 GB, free: 27.06 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/0.435, allocations: 0.875 kB / 0.5338 GB, free: 27.06 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-06/0.435, allocations: 0 / 0.5338 GB, free: 27.06 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002803/0.4378, allocations: 1.958 MB / 0.5357 GB, free: 25.81 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.4379, allocations: 0 / 0.5357 GB, free: 25.81 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003971/0.4383, allocations: 79.3 kB / 0.5358 GB, free: 25.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007824/0.439, allocations: 361.1 kB / 0.5361 GB, free: 25.62 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.911e-05/0.4391, allocations: 17.91 kB / 0.5361 GB, free: 25.62 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009848/0.4401, allocations: 1.447 MB / 0.5375 GB, free: 24.34 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.4401, allocations: 0 / 0.5375 GB, free: 24.34 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002049/0.4422, allocations: 1.567 MB / 0.5391 GB, free: 23.29 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005091/0.4427, allocations: 259.9 kB / 0.5393 GB, free: 23.02 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002272/0.443, allocations: 16.11 kB / 0.5393 GB, free: 23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006894/0.4437, allocations: 47.86 kB / 0.5394 GB, free: 22.95 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000136/0.4438, allocations: 48.36 kB / 0.5394 GB, free: 22.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.656e-05/0.4439, allocations: 31.92 kB / 0.5395 GB, free: 22.88 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006876/0.4446, allocations: 0.581 MB / 0.54 GB, free: 22.3 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.4446, allocations: 8 kB / 0.54 GB, free: 22.29 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001705/0.4463, allocations: 0.6196 MB / 0.5406 GB, free: 21.72 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.001287/0.4476, allocations: 0.4884 MB / 0.5411 GB, free: 21.29 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002705/0.4503, allocations: 1.573 MB / 0.5427 GB, free: 19.7 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/0.4503, allocations: 8.312 kB / 0.5427 GB, free: 19.69 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009047/0.4512, allocations: 0.5017 MB / 0.5432 GB, free: 19.18 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001881/0.4531, allocations: 334.1 kB / 0.5435 GB, free: 18.86 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002881/0.456, allocations: 2.125 MB / 0.5455 GB, free: 16.7 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000391/0.4565, allocations: 1.01 MB / 0.5465 GB, free: 15.66 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002674/0.4567, allocations: 79.41 kB / 0.5466 GB, free: 15.59 MB / 382.1 MB Notification: Performance of SimCode: time 8.41e-07/0.4567, allocations: 0 / 0.5466 GB, free: 15.59 MB / 382.1 MB Notification: Performance of Templates: time 0.02695/0.4837, allocations: 23.02 MB / 0.5691 GB, free: 8.633 MB / 398.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)