Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.2_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank") translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.0008004/0.0008001, allocations: 91.06 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.00681/0.00681, allocations: 172.4 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.516/1.516, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3191/0.3191, allocations: 39.99 MB / 310.7 MB, free: 9.555 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.2. 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.000578/0.0005781, allocations: 12 kB / 379.4 MB, free: 11.98 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1082, allocations: 57.96 MB / 437.4 MB, free: 1.914 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank): time 0.01782/0.126, allocations: 16.64 MB / 454.1 MB, free: 1.203 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2135/0.3397, allocations: 7.129 MB / 461.2 MB, free: 34.33 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001104/0.3408, allocations: 26.06 kB / 461.2 MB, free: 34.33 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001501/0.3423, allocations: 340.3 kB / 461.5 MB, free: 34.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003584/0.3459, allocations: 0.9557 MB / 462.5 MB, free: 34.21 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005183/0.3511, allocations: 1.665 MB / 464.2 MB, free: 34.04 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003044/0.3542, allocations: 3.067 MB / 467.2 MB, free: 33.75 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001004/0.3552, allocations: 0.5577 MB / 467.8 MB, free: 33.7 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001635/0.3569, allocations: 0.7283 MB / 468.5 MB, free: 33.58 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001464/0.3583, allocations: 0.8334 MB / 469.3 MB, free: 33.45 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002407/0.3586, allocations: 42.12 kB / 469.4 MB, free: 33.45 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003352/0.362, allocations: 1.279 MB / 470.7 MB, free: 33.39 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004371/0.3624, allocations: 294 kB / 471 MB, free: 33.36 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007702/0.3632, allocations: 478.3 kB / 471.4 MB, free: 33.2 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002924/0.3661, allocations: 1.914 MB / 473.3 MB, free: 32.97 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3662, allocations: 0 / 473.3 MB, free: 32.97 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3662, allocations: 0 / 473.3 MB, free: 32.97 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.546e-05/0.3662, allocations: 0 / 473.3 MB, free: 32.97 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.002526/0.3687, allocations: 1.215 MB / 474.5 MB, free: 32.19 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.3688, allocations: 13.19 kB / 474.6 MB, free: 32.19 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003724/0.3692, allocations: 110.2 kB / 474.7 MB, free: 32.14 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007941/0.37, allocations: 0.6295 MB / 475.3 MB, free: 31.83 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.492e-05/0.3701, allocations: 108.3 kB / 475.4 MB, free: 31.76 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.504e-05/0.3702, allocations: 52.53 kB / 475.5 MB, free: 31.76 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001284/0.3715, allocations: 1.017 MB / 476.5 MB, free: 31.61 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.051e-05/0.3715, allocations: 0 / 476.5 MB, free: 31.61 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.762e-05/0.3716, allocations: 22.19 kB / 476.5 MB, free: 31.61 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.146e-05/0.3716, allocations: 54.78 kB / 476.5 MB, free: 31.61 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001202/0.3728, allocations: 0.923 MB / 477.5 MB, free: 31.59 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.004962/0.3778, allocations: 4.078 MB / 481.6 MB, free: 29.2 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008888/0.3787, allocations: 0.6436 MB / 482.2 MB, free: 28.96 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005009/0.3792, allocations: 405.3 kB / 482.6 MB, free: 28.81 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002687/0.3819, allocations: 2.37 MB / 485 MB, free: 26.97 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006657/0.3826, allocations: 0.4979 MB / 485.5 MB, free: 26.73 MB / 382.1 MB Notification: Performance of pre-optimization done (n=48): time 2.745e-06/0.3826, allocations: 0 / 485.5 MB, free: 26.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=53): time 0.005881/0.3885, allocations: 2.623 MB / 488.1 MB, free: 25.41 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.64e-05/0.3887, allocations: 243.4 kB / 488.3 MB, free: 25.12 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001322/0.39, allocations: 0.8403 MB / 489.2 MB, free: 24.79 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.761e-05/0.3901, allocations: 36.77 kB / 489.2 MB, free: 24.75 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003144/0.3904, allocations: 419.6 kB / 489.6 MB, free: 24.42 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001712/0.3906, allocations: 173.2 kB / 489.8 MB, free: 24.29 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001235/0.3907, allocations: 75.38 kB / 489.8 MB, free: 24.25 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.207e-05/0.3908, allocations: 338.1 kB / 490.2 MB, free: 23.93 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005918/0.3914, allocations: 372.3 kB / 490.5 MB, free: 23.8 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006635/0.3921, allocations: 0.6102 MB / 491.2 MB, free: 23.38 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001109/0.3932, allocations: 0.9708 MB / 492.1 MB, free: 22.77 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.3932, allocations: 3.062 kB / 492.1 MB, free: 22.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002291/0.3955, allocations: 1.273 MB / 493.4 MB, free: 22.25 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001804/0.3957, allocations: 314 kB / 493.7 MB, free: 21.87 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.649e-05/0.3958, allocations: 7.312 kB / 493.7 MB, free: 21.87 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001111/0.3969, allocations: 361 kB / 494.1 MB, free: 21.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006337/0.3975, allocations: 152.9 kB / 494.2 MB, free: 21.76 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001245/0.3988, allocations: 1.458 MB / 495.7 MB, free: 20.55 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007843/0.3996, allocations: 56.06 kB / 495.7 MB, free: 20.53 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-05/0.3997, allocations: 37.25 kB / 495.8 MB, free: 20.53 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.002e-05/0.3997, allocations: 4.25 kB / 495.8 MB, free: 20.53 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002183/0.4019, allocations: 1.179 MB / 496.9 MB, free: 20.08 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.09e-05/0.4019, allocations: 6.75 kB / 497 MB, free: 20.08 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008857/0.4028, allocations: 347.4 kB / 497.3 MB, free: 19.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005906/0.4034, allocations: 152.2 kB / 497.4 MB, free: 19.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001077/0.4045, allocations: 1.434 MB / 498.9 MB, free: 18.78 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000803/0.4053, allocations: 51.05 kB / 498.9 MB, free: 18.76 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.992e-05/0.4054, allocations: 39.11 kB / 499 MB, free: 18.75 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.0005614/0.406, allocations: 396 kB / 499.3 MB, free: 18.45 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001858/0.4062, allocations: 88.03 kB / 499.4 MB, free: 18.41 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002199/0.4084, allocations: 1.102 MB / 0.4888 GB, free: 17.97 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.929e-06/0.4084, allocations: 4.656 kB / 0.4888 GB, free: 17.97 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.498e-06/0.4084, allocations: 1.688 kB / 0.4888 GB, free: 17.97 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.107e-05/0.4085, allocations: 2.672 kB / 0.4888 GB, free: 17.97 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00352/0.412, allocations: 1.953 MB / 0.4907 GB, free: 17.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.412, allocations: 0 / 0.4907 GB, free: 17.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004848/0.4125, allocations: 82.52 kB / 0.4908 GB, free: 17.06 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001015/0.4135, allocations: 348.5 kB / 0.4911 GB, free: 16.97 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.462e-05/0.4136, allocations: 17.03 kB / 0.4911 GB, free: 16.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001325/0.415, allocations: 1.445 MB / 0.4926 GB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.415, allocations: 0.7969 kB / 0.4926 GB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002562/0.4175, allocations: 1.572 MB / 0.4941 GB, free: 15.08 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005628/0.4181, allocations: 259 kB / 0.4943 GB, free: 14.9 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002431/0.4184, allocations: 17.72 kB / 0.4944 GB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007595/0.4191, allocations: 39.38 kB / 0.4944 GB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001869/0.4193, allocations: 45.33 kB / 0.4944 GB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.253e-05/0.4194, allocations: 28.3 kB / 0.4945 GB, free: 14.87 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001044/0.4205, allocations: 0.5845 MB / 0.495 GB, free: 14.63 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4205, allocations: 1.031 kB / 0.495 GB, free: 14.63 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002083/0.4226, allocations: 0.6196 MB / 0.4956 GB, free: 14.53 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.001427/0.424, allocations: 0.506 MB / 0.4961 GB, free: 14.34 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003169/0.4272, allocations: 1.569 MB / 0.4977 GB, free: 13.72 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.133e-06/0.4272, allocations: 5 kB / 0.4977 GB, free: 13.71 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001002/0.4282, allocations: 0.4965 MB / 0.4982 GB, free: 13.5 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001939/0.4302, allocations: 340.4 kB / 0.4985 GB, free: 13.41 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003372/0.4336, allocations: 2.08 MB / 0.5005 GB, free: 12.31 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005388/0.4341, allocations: 1.017 MB / 0.5015 GB, free: 11.57 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001166/0.4353, allocations: 322.2 kB / 0.5018 GB, free: 11.5 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002081/0.4355, allocations: 77.16 kB / 0.5019 GB, free: 11.49 MB / 382.1 MB Notification: Performance of SimCode: time 1.102e-06/0.4355, allocations: 0 / 0.5019 GB, free: 11.49 MB / 382.1 MB Notification: Performance of Templates: time 0.03211/0.4677, allocations: 21.64 MB / 0.523 GB, free: 11.46 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank.pipe 2>&1) Environment - environmentSimulation: