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.0009273/0.0009274, allocations: 95.75 kB / 16.99 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009638/0.0009638, allocations: 204.6 kB / 17.9 MB, free: 5.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.296/1.296, allocations: 227.2 MB / 245.9 MB, free: 12.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2031/0.2031, allocations: 45.91 MB / 344 MB, free: 12.34 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002691/0.0002691, allocations: 8 kB / 417.9 MB, free: 20.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1163, allocations: 63.47 MB / 481.4 MB, free: 5.418 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank): time 0.01496/0.1314, allocations: 14.42 MB / 495.8 MB, free: 6.949 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01074/0.1422, allocations: 6.197 MB / 0.4902 GB, free: 0.7461 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001425/0.1437, allocations: 27.75 kB / 0.4903 GB, free: 0.7188 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001308/0.145, allocations: 330.5 kB / 0.4906 GB, free: 404 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002766/0.1478, allocations: 0.8487 MB / 0.4914 GB, free: 15.55 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004331/0.1521, allocations: 1.514 MB / 0.4929 GB, free: 14.04 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0023/0.1544, allocations: 1.25 MB / 0.4941 GB, free: 12.79 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008889/0.1553, allocations: 0.5416 MB / 0.4946 GB, free: 12.23 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001159/0.1565, allocations: 0.67 MB / 0.4953 GB, free: 11.56 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007946/0.1573, allocations: 0.5645 MB / 0.4958 GB, free: 11 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001127/0.1574, allocations: 44 kB / 0.4959 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002247/0.1597, allocations: 1.17 MB / 0.497 GB, free: 9.781 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003014/0.16, allocations: 275.2 kB / 0.4973 GB, free: 9.512 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000237/0.1603, allocations: 189.3 kB / 0.4975 GB, free: 9.32 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001968/0.1622, allocations: 1.407 MB / 0.4988 GB, free: 7.91 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.1623, allocations: 0 / 0.4988 GB, free: 7.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1623, allocations: 0 / 0.4988 GB, free: 7.91 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.505e-05/0.1623, allocations: 0 / 0.4988 GB, free: 7.91 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.002793/0.1651, allocations: 1.217 MB / 0.5 GB, free: 6.637 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.1651, allocations: 8.031 kB / 0.5 GB, free: 6.629 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000383/0.1655, allocations: 106.9 kB / 0.5001 GB, free: 6.523 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001018/0.1666, allocations: 0.605 MB / 0.5007 GB, free: 5.871 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001218/0.1667, allocations: 112.7 kB / 0.5008 GB, free: 5.75 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.864e-05/0.1668, allocations: 55.98 kB / 0.5009 GB, free: 5.695 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001463/0.1683, allocations: 0.9989 MB / 0.5019 GB, free: 4.652 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.37e-05/0.1683, allocations: 7.938 kB / 0.5019 GB, free: 4.645 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.794e-05/0.1684, allocations: 27.98 kB / 0.5019 GB, free: 4.617 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.864e-05/0.1685, allocations: 49.28 kB / 0.502 GB, free: 4.57 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001479/0.17, allocations: 0.9107 MB / 0.5028 GB, free: 3.66 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.2305/0.4005, allocations: 4.099 MB / 0.5068 GB, free: 40.61 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001093/0.4016, allocations: 0.6441 MB / 0.5075 GB, free: 40.58 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003414/0.405, allocations: 2.369 MB / 0.5098 GB, free: 39.18 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007955/0.4058, allocations: 499 kB / 0.5103 GB, free: 39.07 MB / 382.1 MB Notification: Performance of pre-optimization done (n=48): time 1.803e-06/0.4059, allocations: 0 / 0.5103 GB, free: 39.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=53): time 0.005561/0.4114, allocations: 2.699 MB / 0.5129 GB, free: 37.82 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.23e-05/0.4115, allocations: 244.6 kB / 0.5131 GB, free: 37.54 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001196/0.4127, allocations: 0.8341 MB / 0.5139 GB, free: 37.2 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.959e-05/0.4128, allocations: 37.83 kB / 0.514 GB, free: 37.16 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002988/0.4131, allocations: 420.1 kB / 0.5144 GB, free: 36.82 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001422/0.4133, allocations: 176.5 kB / 0.5146 GB, free: 36.7 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.642e-05/0.4133, allocations: 16.25 kB / 0.5146 GB, free: 36.68 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.144e-05/0.4134, allocations: 339.8 kB / 0.5149 GB, free: 36.37 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005682/0.414, allocations: 365.2 kB / 0.5152 GB, free: 36.25 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007655/0.4148, allocations: 0.6109 MB / 0.5158 GB, free: 35.82 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007435/0.4155, allocations: 453.3 kB / 0.5163 GB, free: 35.63 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.4155, allocations: 2.875 kB / 0.5163 GB, free: 35.63 MB / 382.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002351/0.4179, allocations: 1.252 MB / 0.5175 GB, free: 35.15 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007923/0.4187, allocations: 2.564 MB / 0.52 GB, free: 32.44 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.302e-05/0.4187, allocations: 7.328 kB / 0.52 GB, free: 32.44 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001205/0.4199, allocations: 358.6 kB / 0.5203 GB, free: 32.36 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006568/0.4206, allocations: 152.7 kB / 0.5205 GB, free: 32.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001282/0.4219, allocations: 1.451 MB / 0.5219 GB, free: 31.15 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008897/0.4228, allocations: 50.59 kB / 0.522 GB, free: 31.13 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.76e-05/0.4229, allocations: 42.94 kB / 0.522 GB, free: 31.12 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.4229, allocations: 2.75 kB / 0.522 GB, free: 31.12 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002439/0.4254, allocations: 1.171 MB / 0.5231 GB, free: 30.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.866e-05/0.4254, allocations: 9.562 kB / 0.5232 GB, free: 30.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008957/0.4263, allocations: 341.4 kB / 0.5235 GB, free: 30.61 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006064/0.4269, allocations: 156.5 kB / 0.5236 GB, free: 30.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001071/0.428, allocations: 1.439 MB / 0.525 GB, free: 29.39 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008954/0.4289, allocations: 46 kB / 0.5251 GB, free: 29.38 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.573e-05/0.429, allocations: 35.94 kB / 0.5251 GB, free: 29.38 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 ($whenCondition1,tank.regularFlow[1],tank.regularFlow[2],tank.inFlow[1],tank.inFlow[2],timeTable.a,timeTable.b,timeTable.last,$PRE.timeTable.nextEvent,timeTable.nextEvent,timeTable.nextEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 1,2 4} Notification: Performance of prepare postOptimizeDAE: time 0.0006268/0.4296, allocations: 391.2 kB / 0.5255 GB, free: 29.08 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001691/0.4298, allocations: 93.55 kB / 0.5256 GB, free: 29.03 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002084/0.4319, allocations: 1.1 MB / 0.5266 GB, free: 28.6 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.327e-06/0.4319, allocations: 8.031 kB / 0.5267 GB, free: 28.6 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/0.4319, allocations: 0 / 0.5267 GB, free: 28.6 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.057e-05/0.432, allocations: 8.125 kB / 0.5267 GB, free: 28.6 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002955/0.4349, allocations: 1.948 MB / 0.5286 GB, free: 27.71 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.4349, allocations: 0 / 0.5286 GB, free: 27.71 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004164/0.4354, allocations: 80.81 kB / 0.5286 GB, free: 27.7 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008369/0.4362, allocations: 350.6 kB / 0.529 GB, free: 27.61 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.358e-05/0.4363, allocations: 17.92 kB / 0.529 GB, free: 27.61 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001106/0.4374, allocations: 1.441 MB / 0.5304 GB, free: 26.41 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.4374, allocations: 0.875 kB / 0.5304 GB, free: 26.41 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002385/0.4398, allocations: 1.579 MB / 0.5319 GB, free: 25.65 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005834/0.4404, allocations: 262.9 kB / 0.5322 GB, free: 25.43 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001403/0.4405, allocations: 17.55 kB / 0.5322 GB, free: 25.42 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005822/0.4411, allocations: 34.73 kB / 0.5322 GB, free: 25.41 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001559/0.4413, allocations: 60.56 kB / 0.5323 GB, free: 25.37 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.557e-05/0.4414, allocations: 23.89 kB / 0.5323 GB, free: 25.36 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007929/0.4422, allocations: 0.5722 MB / 0.5329 GB, free: 25.04 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4422, allocations: 1.375 kB / 0.5329 GB, free: 25.04 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002264/0.4444, allocations: 0.6258 MB / 0.5335 GB, free: 24.97 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 1,3 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.00111/0.4456, allocations: 0.4985 MB / 0.534 GB, free: 24.79 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002708/0.4483, allocations: 1.562 MB / 0.5355 GB, free: 23.99 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.866e-06/0.4483, allocations: 8.156 kB / 0.5355 GB, free: 23.98 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009143/0.4492, allocations: 0.4956 MB / 0.536 GB, free: 23.71 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001676/0.4509, allocations: 322.3 kB / 0.5363 GB, free: 23.55 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003069/0.454, allocations: 1.986 MB / 0.5382 GB, free: 22.28 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003946/0.4544, allocations: 1.031 MB / 0.5393 GB, free: 21.29 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0009403/0.4554, allocations: 317 kB / 0.5396 GB, free: 20.97 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001565/0.4555, allocations: 71.42 kB / 0.5396 GB, free: 20.9 MB / 382.1 MB Notification: Performance of SimCode: time 1.041e-06/0.4555, allocations: 0 / 0.5396 GB, free: 20.9 MB / 382.1 MB Notification: Performance of Templates: time 0.02714/0.4827, allocations: 21.12 MB / 0.5602 GB, free: 15.93 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)