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.002278/0.002278, allocations: 176 kB / 7.652 MB, free: 1.426 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.912/1.912, allocations: 194.4 MB / 202.4 MB, free: 13.02 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.002221/0.002221, allocations: 108.5 kB / 247.4 MB, free: 28 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2197/0.2197, allocations: 39.95 MB / 332.2 MB, free: 0.6367 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.074e-05/2.049e-05, allocations: 4 kB / 393.3 MB, free: 3.441 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3011/0.3012, allocations: 54.87 MB / 448.2 MB, free: 13.69 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9708/1.272, allocations: 329.6 MB / 0.7595 GB, free: 135.7 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002484/1.272, allocations: 83.95 kB / 0.7596 GB, free: 135.6 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6092/1.882, allocations: 140.4 MB / 0.8968 GB, free: 107.3 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.933e-06/1.882, allocations: 0 / 0.8968 GB, free: 107.3 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.146e-05/1.882, allocations: 19.12 kB / 0.8968 GB, free: 107.3 MB / 474.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.002702/1.884, allocations: 1.18 MB / 0.8979 GB, free: 106.7 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/1.884, allocations: 7.875 kB / 0.8979 GB, free: 106.7 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003754/1.885, allocations: 108.5 kB / 0.898 GB, free: 106.7 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00144/1.886, allocations: 0.7018 MB / 0.8987 GB, free: 106.4 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001089/1.886, allocations: 90.27 kB / 0.8988 GB, free: 106.4 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001078/1.887, allocations: 36.27 kB / 0.8988 GB, free: 106.4 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001454/1.888, allocations: 0.8173 MB / 0.8996 GB, free: 106.4 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001448/1.889, allocations: 0.921 MB / 0.9005 GB, free: 106.2 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.339e-05/1.889, allocations: 1 kB / 0.9005 GB, free: 106.2 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.554e-05/1.89, allocations: 3.312 kB / 0.9005 GB, free: 106.2 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.281e-05/1.89, allocations: 58.44 kB / 0.9006 GB, free: 106.2 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007602/1.897, allocations: 3.871 MB / 0.9044 GB, free: 104.6 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001193/1.899, allocations: 0.5979 MB / 0.905 GB, free: 104.5 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005827/1.899, allocations: 376.7 kB / 0.9053 GB, free: 104.5 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003138/1.902, allocations: 2.351 MB / 0.9076 GB, free: 103.1 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005586/1.903, allocations: 422.7 kB / 0.908 GB, free: 103 MB / 474.7 MB Notification: Performance of pre-optimization done (n=47): time 3.096e-06/1.903, allocations: 0 / 0.908 GB, free: 103 MB / 474.7 MB Notification: Performance of matching and sorting (n=52): time 0.006288/1.909, allocations: 2.379 MB / 0.9103 GB, free: 102.6 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.606e-05/1.909, allocations: 171 kB / 0.9105 GB, free: 102.4 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006172/1.91, allocations: 0.5413 MB / 0.911 GB, free: 102.3 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 5.548e-05/1.91, allocations: 28.83 kB / 0.9111 GB, free: 102.2 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002603/1.91, allocations: 452.6 kB / 0.9115 GB, free: 102 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001196/1.91, allocations: 167.8 kB / 0.9117 GB, free: 101.9 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.521e-05/1.91, allocations: 5.125 kB / 0.9117 GB, free: 101.9 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000111/1.91, allocations: 383.9 kB / 0.912 GB, free: 101.6 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004032/1.911, allocations: 339.4 kB / 0.9123 GB, free: 101.6 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005237/1.911, allocations: 0.6163 MB / 0.913 GB, free: 101.2 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003783/1.915, allocations: 1.048 MB / 0.914 GB, free: 101.2 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.654e-06/1.915, allocations: 3.531 kB / 0.914 GB, free: 101.2 MB / 474.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.005012/1.92, allocations: 1.75 MB / 0.9157 GB, free: 101.1 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000771/1.921, allocations: 3.43 MB / 0.919 GB, free: 97.57 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.703e-05/1.921, allocations: 11.75 kB / 0.919 GB, free: 97.57 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006935/1.922, allocations: 320.8 kB / 0.9194 GB, free: 97.56 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005619/1.922, allocations: 167.1 kB / 0.9195 GB, free: 97.55 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001822/1.924, allocations: 1.623 MB / 0.9211 GB, free: 96.52 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007736/1.925, allocations: 36.56 kB / 0.9211 GB, free: 96.51 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.233e-05/1.925, allocations: 49.62 kB / 0.9212 GB, free: 96.51 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.071e-05/1.925, allocations: 3.906 kB / 0.9212 GB, free: 96.51 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004059/1.929, allocations: 1.429 MB / 0.9226 GB, free: 96.48 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.146e-05/1.929, allocations: 14.97 kB / 0.9226 GB, free: 96.48 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005438/1.93, allocations: 247.6 kB / 0.9228 GB, free: 96.46 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000547/1.93, allocations: 165.9 kB / 0.923 GB, free: 96.46 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001512/1.932, allocations: 2.287 MB / 0.9252 GB, free: 94.67 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006703/1.933, allocations: 30.5 kB / 0.9253 GB, free: 94.67 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.79e-05/1.933, allocations: 44.06 kB / 0.9253 GB, free: 94.67 MB / 474.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.0002874/1.933, allocations: 171.3 kB / 0.9255 GB, free: 94.52 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001704/1.933, allocations: 82.27 kB / 0.9255 GB, free: 94.48 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00275/1.936, allocations: 1.137 MB / 0.9266 GB, free: 94.39 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/1.936, allocations: 3.969 kB / 0.9266 GB, free: 94.39 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.484e-06/1.936, allocations: 0 / 0.9266 GB, free: 94.39 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/1.936, allocations: 3.969 kB / 0.9267 GB, free: 94.39 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003529/1.939, allocations: 1.88 MB / 0.9285 GB, free: 94.1 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/1.939, allocations: 0 / 0.9285 GB, free: 94.1 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003733/1.94, allocations: 82.2 kB / 0.9286 GB, free: 94.1 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000613/1.94, allocations: 319.2 kB / 0.9289 GB, free: 94.08 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.733e-05/1.941, allocations: 14.92 kB / 0.9289 GB, free: 94.08 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001726/1.942, allocations: 1.594 MB / 0.9304 GB, free: 93.04 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/1.942, allocations: 0 / 0.9304 GB, free: 93.04 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002825/1.945, allocations: 1.601 MB / 0.932 GB, free: 92.82 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004449/1.946, allocations: 238.5 kB / 0.9322 GB, free: 92.69 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001874/1.946, allocations: 7.391 kB / 0.9322 GB, free: 92.69 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000583/1.946, allocations: 31.88 kB / 0.9323 GB, free: 92.69 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001174/1.946, allocations: 49.67 kB / 0.9323 GB, free: 92.69 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.49e-05/1.947, allocations: 30.02 kB / 0.9323 GB, free: 92.69 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0005016/1.947, allocations: 418.5 kB / 0.9327 GB, free: 92.59 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.4e-07/1.947, allocations: 0 / 0.9327 GB, free: 92.59 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002441/1.95, allocations: 0.6245 MB / 0.9334 GB, free: 92.48 MB / 474.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.001981/1.952, allocations: 0.6089 MB / 0.9339 GB, free: 92.29 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.00246/1.954, allocations: 1.532 MB / 0.9354 GB, free: 92.05 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/1.954, allocations: 3 kB / 0.9354 GB, free: 92.05 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007672/1.955, allocations: 464.4 kB / 0.9359 GB, free: 91.98 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001356/1.956, allocations: 257.8 kB / 0.9361 GB, free: 91.97 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003145/1.959, allocations: 1.306 MB / 0.9374 GB, free: 91.66 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005397/1.96, allocations: 1.031 MB / 0.9384 GB, free: 90.96 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001257/1.961, allocations: 336.2 kB / 0.9387 GB, free: 90.95 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001644/1.961, allocations: 59.88 kB / 0.9388 GB, free: 90.94 MB / 474.7 MB Notification: Performance of SimCode: time 8.11e-07/1.961, allocations: 0 / 0.9388 GB, free: 90.94 MB / 474.7 MB Notification: Performance of Templates: time 0.03268/1.994, allocations: 18.58 MB / 0.9569 GB, free: 89.96 MB / 474.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)