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/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+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 ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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/Complex 3.2.1+maint.om/package.mo): time 0.001506/0.001506, allocations: 164.5 kB / 7.636 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.695/1.695, allocations: 170.7 MB / 178.7 MB, free: 15.64 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.002007/0.002007, allocations: 111.5 kB / 218 MB, free: 8.402 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.2618/0.2618, allocations: 37.98 MB / 295.1 MB, free: 9.496 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.083e-05/2.084e-05, allocations: 1.469 kB / 350 MB, free: 37 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1435/0.1435, allocations: 48.72 MB / 398.7 MB, free: 5.348 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.018/1.161, allocations: 323.1 MB / 0.7049 GB, free: 70.75 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002833/1.162, allocations: 84.39 kB / 0.705 GB, free: 70.7 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6188/1.781, allocations: 140.3 MB / 0.842 GB, free: 104.4 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.313e-06/1.781, allocations: 0 / 0.842 GB, free: 104.4 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.92e-05/1.781, allocations: 17.56 kB / 0.8421 GB, free: 104.4 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.002931/1.784, allocations: 1.164 MB / 0.8432 GB, free: 103.5 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/1.784, allocations: 7.812 kB / 0.8432 GB, free: 103.5 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003911/1.784, allocations: 113.8 kB / 0.8433 GB, free: 103.5 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001289/1.785, allocations: 0.704 MB / 0.844 GB, free: 102.9 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.269e-05/1.786, allocations: 88.27 kB / 0.8441 GB, free: 102.9 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.707e-05/1.786, allocations: 36.41 kB / 0.8441 GB, free: 102.9 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001158/1.787, allocations: 0.8049 MB / 0.8449 GB, free: 102.5 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001206/1.788, allocations: 0.9167 MB / 0.8458 GB, free: 102 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.576e-05/1.788, allocations: 11.62 kB / 0.8458 GB, free: 101.9 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.251e-05/1.788, allocations: 0 / 0.8458 GB, free: 101.9 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.957e-05/1.788, allocations: 62.31 kB / 0.8459 GB, free: 101.9 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00522/1.793, allocations: 3.866 MB / 0.8496 GB, free: 98.29 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007487/1.794, allocations: 0.5935 MB / 0.8502 GB, free: 97.68 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004114/1.795, allocations: 374 kB / 0.8506 GB, free: 97.32 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002689/1.797, allocations: 2.33 MB / 0.8529 GB, free: 94.75 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005036/1.798, allocations: 413.9 kB / 0.8533 GB, free: 94.33 MB / 426.7 MB Notification: Performance of pre-optimization done (n=45): time 2.414e-06/1.798, allocations: 0 / 0.8533 GB, free: 94.33 MB / 426.7 MB Notification: Performance of matching and sorting (n=50): time 0.006308/1.804, allocations: 2.447 MB / 0.8556 GB, free: 91.82 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.342e-05/1.804, allocations: 166.2 kB / 0.8558 GB, free: 91.62 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006545/1.805, allocations: 0.5425 MB / 0.8563 GB, free: 91.07 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.627e-05/1.805, allocations: 29.7 kB / 0.8564 GB, free: 91.04 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002616/1.805, allocations: 446.8 kB / 0.8568 GB, free: 90.59 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001228/1.805, allocations: 161.7 kB / 0.8569 GB, free: 90.43 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.764e-05/1.806, allocations: 0 / 0.8569 GB, free: 90.43 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001051/1.806, allocations: 382.8 kB / 0.8573 GB, free: 90.05 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004063/1.806, allocations: 337.9 kB / 0.8576 GB, free: 89.72 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000537/1.807, allocations: 0.6073 MB / 0.8582 GB, free: 88.98 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003768/1.81, allocations: 1.04 MB / 0.8592 GB, free: 87.94 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.803e-06/1.81, allocations: 0 / 0.8592 GB, free: 87.94 MB / 426.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00503/1.815, allocations: 1.799 MB / 0.861 GB, free: 86.13 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008053/1.816, allocations: 3.424 MB / 0.8643 GB, free: 82.44 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.982e-05/1.816, allocations: 15.95 kB / 0.8644 GB, free: 82.42 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000759/1.817, allocations: 321.5 kB / 0.8647 GB, free: 82.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005881/1.818, allocations: 163.7 kB / 0.8648 GB, free: 81.94 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001882/1.82, allocations: 1.631 MB / 0.8664 GB, free: 80.26 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008305/1.82, allocations: 43.8 kB / 0.8664 GB, free: 80.21 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.926e-05/1.82, allocations: 47.98 kB / 0.8665 GB, free: 80.17 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/1.821, allocations: 4 kB / 0.8665 GB, free: 80.16 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004113/1.825, allocations: 1.467 MB / 0.8679 GB, free: 78.69 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/1.825, allocations: 12 kB / 0.8679 GB, free: 78.68 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005656/1.825, allocations: 249.9 kB / 0.8682 GB, free: 78.43 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005507/1.826, allocations: 163.7 kB / 0.8683 GB, free: 78.27 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001733/1.828, allocations: 2.284 MB / 0.8706 GB, free: 75.84 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007461/1.828, allocations: 27.98 kB / 0.8706 GB, free: 75.81 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001025/1.828, allocations: 48.08 kB / 0.8706 GB, free: 75.77 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,tank.regularFlow[1],tank.regularFlow[2],tank.inFlow[1],tank.inFlow[2],timeTable.a,timeTable.b,timeTable.last,$PRE.timeTable.nextEvent,timeTable.nextEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 86 * 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.0003742/1.829, allocations: 174.3 kB / 0.8708 GB, free: 75.58 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002332/1.829, allocations: 83.02 kB / 0.8709 GB, free: 75.5 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003137/1.832, allocations: 1.178 MB / 0.872 GB, free: 74.31 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.276e-06/1.832, allocations: 4 kB / 0.872 GB, free: 74.3 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/1.832, allocations: 4 kB / 0.872 GB, free: 74.3 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.605e-06/1.832, allocations: 0 / 0.872 GB, free: 74.3 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003887/1.836, allocations: 1.923 MB / 0.8739 GB, free: 72.34 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/1.836, allocations: 96 / 0.8739 GB, free: 72.34 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003857/1.837, allocations: 75.91 kB / 0.874 GB, free: 72.27 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006319/1.837, allocations: 309.4 kB / 0.8743 GB, free: 71.96 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.766e-05/1.837, allocations: 15.98 kB / 0.8743 GB, free: 71.94 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001828/1.839, allocations: 1.592 MB / 0.8759 GB, free: 70.3 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.658e-06/1.839, allocations: 0 / 0.8759 GB, free: 70.3 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002913/1.842, allocations: 1.631 MB / 0.8775 GB, free: 68.64 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004957/1.843, allocations: 236.1 kB / 0.8777 GB, free: 68.39 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002105/1.843, allocations: 8 kB / 0.8777 GB, free: 68.39 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006619/1.843, allocations: 35.97 kB / 0.8777 GB, free: 68.35 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001419/1.844, allocations: 52.23 kB / 0.8778 GB, free: 68.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.607e-05/1.844, allocations: 31.98 kB / 0.8778 GB, free: 68.27 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006813/1.844, allocations: 415.1 kB / 0.8782 GB, free: 67.87 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.12e-07/1.844, allocations: 0 / 0.8782 GB, free: 67.87 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003579/1.848, allocations: 0.6165 MB / 0.8788 GB, free: 67.26 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (tank.medium.T,tank.level) * Number of discrete variables: 9 ($whenCondition1,tank.regularFlow[1],tank.regularFlow[2],tank.inFlow[1],tank.inFlow[2],timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent) * Number of discrete states: 5 (timeTable.last,timeTable.nextEvent,timeTable.b,timeTable.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 39 * 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 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.002998/1.851, allocations: 0.6153 MB / 0.8794 GB, free: 66.67 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002772/1.854, allocations: 1.49 MB / 0.8809 GB, free: 65.15 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/1.854, allocations: 0 / 0.8809 GB, free: 65.15 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000783/1.855, allocations: 432.9 kB / 0.8813 GB, free: 64.71 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001475/1.856, allocations: 247.2 kB / 0.8815 GB, free: 64.47 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003144/1.859, allocations: 1.287 MB / 0.8828 GB, free: 63.16 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005545/1.86, allocations: 1.033 MB / 0.8838 GB, free: 62.09 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001275/1.861, allocations: 329.6 kB / 0.8841 GB, free: 61.77 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001646/1.861, allocations: 59.42 kB / 0.8841 GB, free: 61.71 MB / 426.7 MB Notification: Performance of SimCode: time 9.32e-07/1.861, allocations: 0 / 0.8841 GB, free: 61.71 MB / 426.7 MB Notification: Performance of Templates: time 0.03418/1.895, allocations: 18.42 MB / 0.9021 GB, free: 43.36 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank.makefile (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)