Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank") translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001204/0.001204, allocations: 98.92 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001489/0.001489, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.407/1.407, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.328/0.328, allocations: 38.03 MB / 308.4 MB, free: 10.39 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009635/0.0009638, allocations: 12.22 kB / 376.4 MB, free: 15.21 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1598/0.1608, allocations: 57.52 MB / 433.9 MB, free: 5.586 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank): time 0.01596/0.1768, allocations: 14.37 MB / 448.3 MB, free: 7.156 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01087/0.1877, allocations: 6.119 MB / 454.4 MB, free: 1.027 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001459/0.1893, allocations: 27.69 kB / 454.4 MB, free: 1 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001095/0.1904, allocations: 334.5 kB / 454.8 MB, free: 0.6719 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2677/0.4581, allocations: 0.8288 MB / 455.6 MB, free: 34.14 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004881/0.463, allocations: 1.516 MB / 457.1 MB, free: 34.13 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002322/0.4653, allocations: 1.244 MB / 458.4 MB, free: 34.13 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000796/0.4662, allocations: 0.5497 MB / 458.9 MB, free: 34.08 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001031/0.4672, allocations: 0.6689 MB / 459.6 MB, free: 34.08 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007769/0.468, allocations: 0.5632 MB / 460.1 MB, free: 34.07 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001066/0.4681, allocations: 39.62 kB / 460.2 MB, free: 34.07 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002738/0.4708, allocations: 1.148 MB / 461.3 MB, free: 34.07 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003065/0.4712, allocations: 276 kB / 461.6 MB, free: 34.07 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002728/0.4714, allocations: 185.4 kB / 461.8 MB, free: 34.04 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001762/0.4732, allocations: 1.387 MB / 463.2 MB, free: 33.95 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.4732, allocations: 0 / 463.2 MB, free: 33.95 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.266e-06/0.4732, allocations: 7.234 kB / 463.2 MB, free: 33.95 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.037e-05/0.4733, allocations: 3.188 kB / 463.2 MB, free: 33.95 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.002447/0.4757, allocations: 1.214 MB / 464.4 MB, free: 33.18 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.4758, allocations: 14.17 kB / 464.4 MB, free: 33.18 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003655/0.4761, allocations: 105.8 kB / 464.5 MB, free: 33.13 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001052/0.4772, allocations: 0.6078 MB / 465.1 MB, free: 32.86 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000108/0.4773, allocations: 104.4 kB / 465.2 MB, free: 32.79 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001041/0.4774, allocations: 60.75 kB / 465.3 MB, free: 32.79 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001386/0.4788, allocations: 0.9981 MB / 466.3 MB, free: 32.64 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.321e-05/0.4789, allocations: 6.812 kB / 466.3 MB, free: 32.64 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.197e-05/0.479, allocations: 27.28 kB / 466.3 MB, free: 32.64 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-05/0.479, allocations: 54.81 kB / 466.4 MB, free: 32.64 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001221/0.4803, allocations: 0.9073 MB / 467.3 MB, free: 32.63 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.006013/0.4863, allocations: 4.112 MB / 471.4 MB, free: 30.82 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008738/0.4872, allocations: 0.6525 MB / 472 MB, free: 30.79 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002823/0.49, allocations: 2.372 MB / 474.4 MB, free: 29.33 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006189/0.4906, allocations: 0.4936 MB / 474.9 MB, free: 29.21 MB / 382.1 MB Notification: Performance of pre-optimization done (n=48): time 3.196e-06/0.4907, allocations: 4 kB / 474.9 MB, free: 29.21 MB / 382.1 MB Notification: Performance of matching and sorting (n=53): time 0.004834/0.4955, allocations: 2.69 MB / 477.6 MB, free: 28.37 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.637e-05/0.4956, allocations: 243.7 kB / 477.8 MB, free: 28.09 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008898/0.4965, allocations: 0.8353 MB / 478.7 MB, free: 27.95 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.002e-05/0.4965, allocations: 35.02 kB / 478.7 MB, free: 27.92 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002657/0.4968, allocations: 424.6 kB / 479.1 MB, free: 27.73 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001322/0.497, allocations: 171 kB / 479.3 MB, free: 27.62 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.463e-05/0.497, allocations: 18.62 kB / 479.3 MB, free: 27.62 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.749e-05/0.4971, allocations: 343.9 kB / 479.6 MB, free: 27.31 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004663/0.4976, allocations: 364.6 kB / 480 MB, free: 27.31 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005857/0.4982, allocations: 0.6053 MB / 480.6 MB, free: 27.03 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005525/0.4987, allocations: 454 kB / 481 MB, free: 26.98 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.085e-06/0.4987, allocations: 0 / 481 MB, free: 26.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001762/0.5005, allocations: 1.254 MB / 482.3 MB, free: 26.84 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004679/0.501, allocations: 2.567 MB / 484.9 MB, free: 24.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/0.501, allocations: 6.531 kB / 484.9 MB, free: 24.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008369/0.5018, allocations: 357.5 kB / 485.2 MB, free: 24.13 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005518/0.5024, allocations: 159.8 kB / 485.4 MB, free: 24.13 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009806/0.5034, allocations: 1.443 MB / 486.8 MB, free: 23.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006927/0.5041, allocations: 48.48 kB / 486.9 MB, free: 23.08 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.818e-05/0.5042, allocations: 37.16 kB / 486.9 MB, free: 23.08 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.777e-06/0.5042, allocations: 3.031 kB / 486.9 MB, free: 23.08 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001706/0.5059, allocations: 1.176 MB / 488.1 MB, free: 23.01 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/0.5059, allocations: 6.312 kB / 488.1 MB, free: 23.01 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006476/0.5066, allocations: 343.1 kB / 488.4 MB, free: 22.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005182/0.5071, allocations: 154.1 kB / 488.6 MB, free: 22.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008807/0.508, allocations: 1.44 MB / 490 MB, free: 21.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006734/0.5087, allocations: 51.81 kB / 490.1 MB, free: 21.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.56e-05/0.5088, allocations: 32.36 kB / 490.1 MB, free: 21.93 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.0005007/0.5093, allocations: 398.7 kB / 490.5 MB, free: 21.7 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001133/0.5094, allocations: 87.09 kB / 490.6 MB, free: 21.66 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001784/0.5112, allocations: 1.105 MB / 491.7 MB, free: 21.53 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.5112, allocations: 2.969 kB / 491.7 MB, free: 21.53 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.5112, allocations: 6.938 kB / 491.7 MB, free: 21.53 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.815e-06/0.5112, allocations: 3.094 kB / 491.7 MB, free: 21.53 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002468/0.5137, allocations: 1.942 MB / 493.6 MB, free: 21.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.5137, allocations: 3.141 kB / 493.6 MB, free: 21.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003886/0.5141, allocations: 79.39 kB / 493.7 MB, free: 21.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007515/0.5149, allocations: 353.6 kB / 494.1 MB, free: 21.13 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.833e-05/0.5149, allocations: 21.25 kB / 494.1 MB, free: 21.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001014/0.516, allocations: 1.435 MB / 495.5 MB, free: 20.08 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.516, allocations: 1.062 kB / 495.5 MB, free: 20.08 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002307/0.5183, allocations: 1.57 MB / 497.1 MB, free: 19.57 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005299/0.5188, allocations: 269.8 kB / 497.3 MB, free: 19.38 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001468/0.519, allocations: 14.88 kB / 497.4 MB, free: 19.37 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005801/0.5196, allocations: 38.19 kB / 497.4 MB, free: 19.36 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001706/0.5198, allocations: 55.78 kB / 497.5 MB, free: 19.36 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.039e-05/0.5198, allocations: 28.25 kB / 497.5 MB, free: 19.35 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009679/0.5208, allocations: 0.575 MB / 498.1 MB, free: 19.12 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.5208, allocations: 0 / 498.1 MB, free: 19.12 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002476/0.5233, allocations: 0.6197 MB / 498.7 MB, free: 19.02 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.001291/0.5246, allocations: 499.5 kB / 499.2 MB, free: 18.83 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003194/0.5278, allocations: 1.567 MB / 0.489 GB, free: 18.25 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.5278, allocations: 5.438 kB / 0.489 GB, free: 18.25 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009957/0.5288, allocations: 497.7 kB / 0.4895 GB, free: 18.05 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001645/0.5305, allocations: 325.8 kB / 0.4898 GB, free: 17.96 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003533/0.534, allocations: 1.987 MB / 0.4917 GB, free: 16.96 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0014/0.5355, allocations: 1.034 MB / 0.4927 GB, free: 32.21 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0015/0.537, allocations: 319.9 kB / 0.493 GB, free: 32.15 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002388/0.5372, allocations: 72.7 kB / 0.4931 GB, free: 32.14 MB / 398.1 MB Notification: Performance of SimCode: time 1.844e-06/0.5372, allocations: 5.938 kB / 0.4931 GB, free: 32.14 MB / 398.1 MB Notification: Performance of Templates: time 0.03774/0.575, allocations: 21.04 MB / 0.5137 GB, free: 22.97 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank.pipe 2>&1) Environment - environmentSimulation: