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.0007981/0.000798, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.005218/0.005218, allocations: 170.8 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.304/1.304, allocations: 205.4 MB / 222.4 MB, free: 5.559 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.2943/0.2943, allocations: 38.03 MB / 308.8 MB, free: 10.38 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.000542/0.000542, allocations: 16 kB / 377.1 MB, free: 14.82 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1048, allocations: 57.52 MB / 434.6 MB, free: 5.203 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank): time 0.01672/0.1216, allocations: 16.65 MB / 451.2 MB, free: 4.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2164/0.338, allocations: 7.128 MB / 458.3 MB, free: 33.56 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008429/0.3389, allocations: 28.53 kB / 458.4 MB, free: 33.56 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009323/0.3398, allocations: 337.7 kB / 458.7 MB, free: 33.56 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002237/0.3421, allocations: 0.9583 MB / 459.7 MB, free: 33.52 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004182/0.3463, allocations: 1.663 MB / 461.3 MB, free: 33.46 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002791/0.3491, allocations: 3.066 MB / 464.4 MB, free: 33.29 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008519/0.3499, allocations: 0.5621 MB / 465 MB, free: 33.23 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001058/0.351, allocations: 0.7355 MB / 465.7 MB, free: 33.16 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008416/0.3519, allocations: 0.8202 MB / 466.5 MB, free: 33.05 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000102/0.352, allocations: 44.09 kB / 466.6 MB, free: 33.05 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001956/0.3539, allocations: 1.273 MB / 467.8 MB, free: 33 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002453/0.3542, allocations: 299.9 kB / 468.1 MB, free: 32.96 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003779/0.3546, allocations: 474.2 kB / 468.6 MB, free: 32.8 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001721/0.3563, allocations: 1.921 MB / 470.5 MB, free: 32.57 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.3563, allocations: 3 kB / 470.5 MB, free: 32.57 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.3563, allocations: 3.156 kB / 470.5 MB, free: 32.57 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.049e-05/0.3564, allocations: 0 / 470.5 MB, free: 32.57 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.002133/0.3585, allocations: 1.211 MB / 471.7 MB, free: 31.79 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.3585, allocations: 9.938 kB / 471.7 MB, free: 31.79 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003369/0.3589, allocations: 109.1 kB / 471.8 MB, free: 31.75 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007246/0.3596, allocations: 0.6239 MB / 472.5 MB, free: 31.43 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.862e-05/0.3597, allocations: 112.2 kB / 472.6 MB, free: 31.36 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.941e-05/0.3598, allocations: 53.47 kB / 472.6 MB, free: 31.36 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001302/0.3611, allocations: 1.016 MB / 473.6 MB, free: 31.21 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.048e-05/0.3612, allocations: 0 / 473.6 MB, free: 31.21 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.41e-05/0.3613, allocations: 25.81 kB / 473.7 MB, free: 31.21 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.621e-05/0.3613, allocations: 52.81 kB / 473.7 MB, free: 31.21 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001177/0.3625, allocations: 0.9191 MB / 474.6 MB, free: 31.19 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.004896/0.3674, allocations: 4.079 MB / 478.7 MB, free: 29.34 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008367/0.3683, allocations: 0.6492 MB / 479.4 MB, free: 29.31 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000488/0.3688, allocations: 411.2 kB / 479.8 MB, free: 29.3 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002543/0.3713, allocations: 2.359 MB / 482.1 MB, free: 27.48 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006833/0.372, allocations: 0.4913 MB / 482.6 MB, free: 27.25 MB / 382.1 MB Notification: Performance of pre-optimization done (n=48): time 2.354e-06/0.372, allocations: 3.094 kB / 482.6 MB, free: 27.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=53): time 0.004891/0.3769, allocations: 2.625 MB / 485.2 MB, free: 25.93 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.277e-05/0.377, allocations: 239.4 kB / 485.5 MB, free: 25.64 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008928/0.3779, allocations: 0.847 MB / 486.3 MB, free: 25.3 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.035e-05/0.378, allocations: 36.77 kB / 486.4 MB, free: 25.26 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002368/0.3783, allocations: 421.7 kB / 486.8 MB, free: 24.93 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001225/0.3784, allocations: 180.1 kB / 486.9 MB, free: 24.8 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001064/0.3785, allocations: 67.28 kB / 487 MB, free: 24.76 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.92e-05/0.3786, allocations: 341.4 kB / 487.3 MB, free: 24.44 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005152/0.3791, allocations: 371.9 kB / 487.7 MB, free: 24.32 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005972/0.3797, allocations: 0.6091 MB / 488.3 MB, free: 23.89 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001061/0.3808, allocations: 0.972 MB / 489.3 MB, free: 23.28 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.3808, allocations: 7.031 kB / 489.3 MB, free: 23.28 MB / 382.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001799/0.3826, allocations: 1.275 MB / 490.6 MB, free: 22.76 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001157/0.3827, allocations: 312.5 kB / 490.9 MB, free: 22.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.3828, allocations: 6.656 kB / 490.9 MB, free: 22.38 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008768/0.3836, allocations: 360.4 kB / 491.2 MB, free: 22.29 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005507/0.3842, allocations: 151.2 kB / 491.4 MB, free: 22.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001049/0.3853, allocations: 1.456 MB / 492.8 MB, free: 21.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006912/0.386, allocations: 50.95 kB / 492.9 MB, free: 21.05 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.047e-05/0.3861, allocations: 39.52 kB / 492.9 MB, free: 21.04 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.756e-06/0.3861, allocations: 5.125 kB / 492.9 MB, free: 21.04 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002015/0.3881, allocations: 1.17 MB / 494.1 MB, free: 20.6 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/0.3881, allocations: 10.47 kB / 494.1 MB, free: 20.6 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007615/0.3889, allocations: 351.1 kB / 494.5 MB, free: 20.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005561/0.3895, allocations: 153.9 kB / 494.6 MB, free: 20.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009976/0.3905, allocations: 1.432 MB / 496 MB, free: 19.29 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007648/0.3912, allocations: 51.52 kB / 496.1 MB, free: 19.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.082e-05/0.3913, allocations: 35.61 kB / 496.1 MB, free: 19.27 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.0005966/0.3919, allocations: 394.7 kB / 496.5 MB, free: 18.97 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001357/0.3921, allocations: 88.73 kB / 496.6 MB, free: 18.93 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001989/0.3941, allocations: 1.098 MB / 497.7 MB, free: 18.49 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.915e-06/0.3941, allocations: 5.5 kB / 497.7 MB, free: 18.49 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.3941, allocations: 0 / 497.7 MB, free: 18.49 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.267e-06/0.3941, allocations: 4.469 kB / 497.7 MB, free: 18.49 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002994/0.3971, allocations: 1.952 MB / 499.7 MB, free: 17.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.3971, allocations: 1.312 kB / 499.7 MB, free: 17.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004246/0.3976, allocations: 76.78 kB / 499.7 MB, free: 17.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009766/0.3986, allocations: 353.7 kB / 0.4884 GB, free: 17.49 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.734e-05/0.3986, allocations: 17.02 kB / 0.4884 GB, free: 17.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001171/0.3998, allocations: 1.449 MB / 0.4898 GB, free: 16.29 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.3998, allocations: 1.75 kB / 0.4898 GB, free: 16.29 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002493/0.4023, allocations: 1.569 MB / 0.4913 GB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005526/0.4029, allocations: 261.5 kB / 0.4916 GB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001342/0.403, allocations: 19.62 kB / 0.4916 GB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005869/0.4036, allocations: 37.39 kB / 0.4916 GB, free: 15.4 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001724/0.4038, allocations: 51.48 kB / 0.4917 GB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.481e-05/0.4039, allocations: 23.17 kB / 0.4917 GB, free: 15.39 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008437/0.4047, allocations: 0.5854 MB / 0.4923 GB, free: 15.15 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4048, allocations: 0 / 0.4923 GB, free: 15.15 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001936/0.4067, allocations: 0.6236 MB / 0.4929 GB, free: 15.05 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.001338/0.408, allocations: 0.4989 MB / 0.4934 GB, free: 14.86 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003051/0.4111, allocations: 1.573 MB / 0.4949 GB, free: 14.23 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.554e-06/0.4111, allocations: 4.375 kB / 0.4949 GB, free: 14.23 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009702/0.4121, allocations: 0.5014 MB / 0.4954 GB, free: 14.01 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001827/0.4139, allocations: 340.7 kB / 0.4957 GB, free: 13.91 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003376/0.4173, allocations: 2.078 MB / 0.4977 GB, free: 12.81 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006479/0.418, allocations: 1.018 MB / 0.4987 GB, free: 12.07 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001333/0.4193, allocations: 320.6 kB / 0.499 GB, free: 12.01 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002259/0.4196, allocations: 74.97 kB / 0.4991 GB, free: 11.99 MB / 382.1 MB Notification: Performance of SimCode: time 1.042e-06/0.4196, allocations: 0.9688 kB / 0.4991 GB, free: 11.99 MB / 382.1 MB Notification: Performance of Templates: time 0.03309/0.4527, allocations: 21.64 MB / 0.5203 GB, free: 13.67 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: