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.006849/0.006849, allocations: 174.2 kB / 15.12 MB, free: 5.973 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.528/1.528, allocations: 194.5 MB / 210.3 MB, free: 7.551 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.001878/0.001878, allocations: 120.6 kB / 255.6 MB, free: 10.15 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1977/0.1977, allocations: 40.02 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004221/0.0004221, allocations: 22.16 kB / 406.2 MB, free: 51.85 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1298, allocations: 54.87 MB / 461 MB, free: 3.324 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9788/1.109, allocations: 330.3 MB / 0.7728 GB, free: 117.8 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003026/1.109, allocations: 86.14 kB / 0.7729 GB, free: 117.8 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6579/1.767, allocations: 142 MB / 0.9116 GB, free: 119.1 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.643e-06/1.767, allocations: 0 / 0.9116 GB, free: 119.1 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.995e-05/1.767, allocations: 21.5 kB / 0.9116 GB, free: 119.1 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.004468/1.772, allocations: 1.281 MB / 0.9129 GB, free: 118.5 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.46e-05/1.772, allocations: 9 kB / 0.9129 GB, free: 118.5 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004585/1.772, allocations: 111.5 kB / 0.913 GB, free: 118.5 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001965/1.774, allocations: 0.7138 MB / 0.9137 GB, free: 118.2 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001495/1.774, allocations: 108.6 kB / 0.9138 GB, free: 118.2 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001395/1.774, allocations: 53.34 kB / 0.9138 GB, free: 118.2 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002337/1.777, allocations: 1.018 MB / 0.9148 GB, free: 118 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.036e-05/1.777, allocations: 4.109 kB / 0.9148 GB, free: 118 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001106/1.777, allocations: 24.94 kB / 0.9149 GB, free: 118 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000124/1.777, allocations: 54.27 kB / 0.9149 GB, free: 118 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002428/1.779, allocations: 0.902 MB / 0.9158 GB, free: 118 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009016/1.788, allocations: 4.01 MB / 0.9197 GB, free: 116.3 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001246/1.79, allocations: 0.6278 MB / 0.9203 GB, free: 116.3 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003561/1.793, allocations: 2.324 MB / 0.9226 GB, free: 114.8 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007592/1.794, allocations: 442.3 kB / 0.923 GB, free: 114.7 MB / 490.7 MB Notification: Performance of pre-optimization done (n=47): time 3.106e-06/1.794, allocations: 0 / 0.923 GB, free: 114.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=52): time 0.006464/1.801, allocations: 2.601 MB / 0.9255 GB, free: 113.9 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001064/1.801, allocations: 162.6 kB / 0.9257 GB, free: 113.8 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001685/1.802, allocations: 0.693 MB / 0.9264 GB, free: 113.6 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.412e-05/1.803, allocations: 32.8 kB / 0.9264 GB, free: 113.6 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004064/1.803, allocations: 448.3 kB / 0.9268 GB, free: 113.4 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001671/1.803, allocations: 176.6 kB / 0.927 GB, free: 113.3 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.829e-05/1.803, allocations: 14.12 kB / 0.927 GB, free: 113.3 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001898/1.803, allocations: 399.1 kB / 0.9274 GB, free: 113 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007341/1.804, allocations: 356.2 kB / 0.9277 GB, free: 113 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001005/1.805, allocations: 0.6407 MB / 0.9284 GB, free: 112.6 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007094/1.806, allocations: 463.5 kB / 0.9288 GB, free: 112.6 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/1.806, allocations: 0 / 0.9288 GB, free: 112.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002196/1.808, allocations: 1.246 MB / 0.93 GB, free: 112.4 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001223/1.809, allocations: 3.425 MB / 0.9334 GB, free: 108.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.459e-05/1.809, allocations: 16.7 kB / 0.9334 GB, free: 108.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001109/1.811, allocations: 350.2 kB / 0.9337 GB, free: 108.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00063/1.811, allocations: 160.3 kB / 0.9339 GB, free: 108.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001304/1.812, allocations: 1.437 MB / 0.9353 GB, free: 107.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001003/1.813, allocations: 53.92 kB / 0.9353 GB, free: 107.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001114/1.814, allocations: 46.36 kB / 0.9354 GB, free: 107.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/1.814, allocations: 6.75 kB / 0.9354 GB, free: 107.8 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001892/1.816, allocations: 1.086 MB / 0.9364 GB, free: 107.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/1.816, allocations: 7 kB / 0.9364 GB, free: 107.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000642/1.816, allocations: 257 kB / 0.9367 GB, free: 107.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005514/1.817, allocations: 160.5 kB / 0.9368 GB, free: 107.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002048/1.819, allocations: 2.35 MB / 0.9391 GB, free: 105.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001028/1.82, allocations: 56.09 kB / 0.9392 GB, free: 105.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9e-05/1.82, allocations: 42.67 kB / 0.9392 GB, free: 105.9 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 () * Number of clocked 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.000992/1.821, allocations: 400.6 kB / 0.9396 GB, free: 105.7 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002157/1.821, allocations: 87.22 kB / 0.9397 GB, free: 105.6 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002319/1.824, allocations: 1.044 MB / 0.9407 GB, free: 105.5 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.799e-06/1.824, allocations: 10.97 kB / 0.9407 GB, free: 105.5 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/1.824, allocations: 0 / 0.9407 GB, free: 105.5 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.08e-05/1.824, allocations: 3.953 kB / 0.9407 GB, free: 105.5 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003611/1.827, allocations: 1.852 MB / 0.9425 GB, free: 105.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.807e-06/1.827, allocations: 0 / 0.9425 GB, free: 105.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004902/1.828, allocations: 77.03 kB / 0.9426 GB, free: 105.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009733/1.829, allocations: 333.6 kB / 0.9429 GB, free: 105.1 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.226e-05/1.829, allocations: 22.89 kB / 0.943 GB, free: 105.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001371/1.83, allocations: 1.423 MB / 0.9443 GB, free: 104.1 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/1.83, allocations: 5.75 kB / 0.9443 GB, free: 104.1 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002514/1.833, allocations: 1.508 MB / 0.9458 GB, free: 103.8 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006321/1.833, allocations: 246.9 kB / 0.9461 GB, free: 103.7 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001215/1.834, allocations: 16.45 kB / 0.9461 GB, free: 103.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005539/1.834, allocations: 42.31 kB / 0.9461 GB, free: 103.7 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001816/1.834, allocations: 55.62 kB / 0.9462 GB, free: 103.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.896e-05/1.834, allocations: 25.98 kB / 0.9462 GB, free: 103.7 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.000771/1.835, allocations: 0.5239 MB / 0.9467 GB, free: 103.6 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.31e-07/1.835, allocations: 0 / 0.9467 GB, free: 103.6 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003179/1.838, allocations: 0.6553 MB / 0.9473 GB, free: 103.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) * Number of clocked states: 0 () * 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.002179/1.841, allocations: 0.6194 MB / 0.9479 GB, free: 103.3 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003597/1.844, allocations: 1.616 MB / 0.9495 GB, free: 103 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.456e-06/1.844, allocations: 0 / 0.9495 GB, free: 103 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009394/1.845, allocations: 490 kB / 0.95 GB, free: 103 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001513/1.847, allocations: 278.7 kB / 0.9503 GB, free: 103 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003904/1.851, allocations: 2.056 MB / 0.9523 GB, free: 102.2 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005284/1.851, allocations: 1.028 MB / 0.9533 GB, free: 101.5 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001121/1.852, allocations: 307.5 kB / 0.9536 GB, free: 101.5 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001775/1.852, allocations: 62 kB / 0.9536 GB, free: 101.5 MB / 490.7 MB Notification: Performance of SimCode: time 2.635e-06/1.852, allocations: 0 / 0.9536 GB, free: 101.5 MB / 490.7 MB Notification: Performance of Templates: time 0.03438/1.887, allocations: 19.15 MB / 0.9723 GB, free: 100.7 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)