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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+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 ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.001097/0.001097, allocations: 181.9 kB / 12.74 MB, free: 2.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.719/1.719, allocations: 194.3 MB / 207.5 MB, free: 3.445 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001796/0.001796, allocations: 103.9 kB / 252.6 MB, free: 4.785 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2346/0.2346, allocations: 39.94 MB / 337.5 MB, free: 480 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.001e-05/4.003e-05, allocations: 4 kB / 400.3 MB, free: 69.89 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.139/0.139, allocations: 54.86 MB / 455.1 MB, free: 14.99 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.135/1.274, allocations: 330.3 MB / 0.767 GB, free: 100 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002844/1.275, allocations: 91.31 kB / 0.7671 GB, free: 99.96 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.698/1.973, allocations: 141.6 MB / 0.9053 GB, free: 129.2 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.116e-06/1.973, allocations: 0 / 0.9053 GB, free: 129.2 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.82e-05/1.973, allocations: 27.14 kB / 0.9053 GB, free: 129.2 MB / 490.7 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.004019/1.977, allocations: 1.168 MB / 0.9065 GB, free: 128.6 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.663e-05/1.977, allocations: 14.19 kB / 0.9065 GB, free: 128.6 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004938/1.977, allocations: 105.5 kB / 0.9066 GB, free: 128.6 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001814/1.979, allocations: 0.7114 MB / 0.9073 GB, free: 128.3 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001381/1.979, allocations: 108.3 kB / 0.9074 GB, free: 128.2 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001202/1.98, allocations: 59.02 kB / 0.9075 GB, free: 128.2 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001845/1.981, allocations: 1.006 MB / 0.9084 GB, free: 128 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.754e-05/1.981, allocations: 1.875 kB / 0.9084 GB, free: 128 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.836e-05/1.982, allocations: 27.91 kB / 0.9085 GB, free: 128 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.769e-05/1.982, allocations: 48.98 kB / 0.9085 GB, free: 128 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001395/1.983, allocations: 0.8918 MB / 0.9094 GB, free: 128 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005854/1.989, allocations: 4.006 MB / 0.9133 GB, free: 126.3 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008523/1.99, allocations: 0.6208 MB / 0.9139 GB, free: 126.3 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004651/1.99, allocations: 392.1 kB / 0.9143 GB, free: 126.3 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002761/1.993, allocations: 2.386 MB / 0.9166 GB, free: 124.7 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005631/1.994, allocations: 440.4 kB / 0.917 GB, free: 124.5 MB / 490.7 MB Notification: Performance of pre-optimization done (n=47): time 2.775e-06/1.994, allocations: 0 / 0.917 GB, free: 124.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=52): time 0.003386/1.997, allocations: 1.958 MB / 0.9189 GB, free: 123.5 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.521e-05/1.997, allocations: 168.9 kB / 0.9191 GB, free: 123.3 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008092/1.998, allocations: 0.6791 MB / 0.9198 GB, free: 123 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.447e-05/1.998, allocations: 33.48 kB / 0.9198 GB, free: 123 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002857/1.998, allocations: 444.5 kB / 0.9202 GB, free: 122.7 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001312/1.998, allocations: 169.7 kB / 0.9204 GB, free: 122.5 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.332e-05/1.999, allocations: 15.97 kB / 0.9204 GB, free: 122.5 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001412/1.999, allocations: 396.7 kB / 0.9208 GB, free: 122.2 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004803/1.999, allocations: 351.5 kB / 0.9211 GB, free: 122.1 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006316/2, allocations: 0.6266 MB / 0.9217 GB, free: 121.6 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005772/2, allocations: 453.3 kB / 0.9222 GB, free: 121.4 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.588e-06/2, allocations: 2.969 kB / 0.9222 GB, free: 121.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.00185/2.002, allocations: 1.223 MB / 0.9234 GB, free: 121 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008055/2.003, allocations: 3.436 MB / 0.9267 GB, free: 117.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.527e-05/2.003, allocations: 10.88 kB / 0.9267 GB, free: 117.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009192/2.004, allocations: 336.9 kB / 0.927 GB, free: 117.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005588/2.005, allocations: 161.3 kB / 0.9272 GB, free: 117.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001146/2.006, allocations: 1.437 MB / 0.9286 GB, free: 116.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007291/2.007, allocations: 54.75 kB / 0.9286 GB, free: 116 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.175e-05/2.007, allocations: 48.23 kB / 0.9287 GB, free: 116 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/2.007, allocations: 6.031 kB / 0.9287 GB, free: 116 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001638/2.008, allocations: 1.06 MB / 0.9297 GB, free: 115.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/2.008, allocations: 11 kB / 0.9297 GB, free: 115.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000606/2.009, allocations: 267.1 kB / 0.93 GB, free: 115.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005107/2.009, allocations: 159.6 kB / 0.9302 GB, free: 115.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00163/2.011, allocations: 2.338 MB / 0.9324 GB, free: 113.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006446/2.012, allocations: 48.72 kB / 0.9325 GB, free: 113.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.566e-05/2.012, allocations: 43.34 kB / 0.9325 GB, free: 113.5 MB / 490.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: 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 () * 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.0002893/2.012, allocations: 198.5 kB / 0.9327 GB, free: 113.3 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001411/2.012, allocations: 89.78 kB / 0.9328 GB, free: 113.3 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001962/2.014, allocations: 1.018 MB / 0.9338 GB, free: 112.9 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.042e-06/2.014, allocations: 8.719 kB / 0.9338 GB, free: 112.9 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/2.014, allocations: 0 / 0.9338 GB, free: 112.9 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.175e-06/2.014, allocations: 7.844 kB / 0.9338 GB, free: 112.9 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002635/2.017, allocations: 1.842 MB / 0.9356 GB, free: 112 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/2.017, allocations: 6.844 kB / 0.9356 GB, free: 112 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003594/2.017, allocations: 73.19 kB / 0.9357 GB, free: 112 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008013/2.018, allocations: 337.8 kB / 0.936 GB, free: 111.9 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.217e-05/2.018, allocations: 15.38 kB / 0.936 GB, free: 111.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001039/2.019, allocations: 1.426 MB / 0.9374 GB, free: 110.7 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/2.019, allocations: 3.938 kB / 0.9374 GB, free: 110.7 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002005/2.021, allocations: 1.484 MB / 0.9389 GB, free: 110.1 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004453/2.022, allocations: 252.1 kB / 0.9391 GB, free: 109.9 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001163/2.022, allocations: 23.52 kB / 0.9391 GB, free: 109.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004996/2.022, allocations: 44.55 kB / 0.9392 GB, free: 109.9 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000151/2.023, allocations: 45.28 kB / 0.9392 GB, free: 109.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.875e-05/2.023, allocations: 26.3 kB / 0.9392 GB, free: 109.9 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006787/2.023, allocations: 0.5233 MB / 0.9397 GB, free: 109.7 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.3e-07/2.023, allocations: 0 / 0.9397 GB, free: 109.7 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002403/2.026, allocations: 0.6544 MB / 0.9404 GB, free: 109.5 MB / 490.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: 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) * 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.001461/2.027, allocations: 0.62 MB / 0.941 GB, free: 109.3 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002724/2.03, allocations: 1.626 MB / 0.9426 GB, free: 108.6 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.603e-06/2.03, allocations: 6.594 kB / 0.9426 GB, free: 108.6 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007749/2.031, allocations: 470.2 kB / 0.943 GB, free: 108.4 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001276/2.032, allocations: 264.5 kB / 0.9433 GB, free: 108.3 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002857/2.035, allocations: 1.36 MB / 0.9446 GB, free: 107.8 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004617/2.035, allocations: 1.027 MB / 0.9456 GB, free: 107.1 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001181/2.037, allocations: 379.1 kB / 0.946 GB, free: 107 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001625/2.037, allocations: 58.48 kB / 0.946 GB, free: 107 MB / 490.7 MB Notification: Performance of SimCode: time 9.22e-07/2.037, allocations: 0 / 0.946 GB, free: 107 MB / 490.7 MB Notification: Performance of Templates: time 0.03527/2.072, allocations: 20.79 MB / 0.9663 GB, free: 97.94 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank.makefile (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)