Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Shapes.Leakage.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.FluxTubes.Shapes.Leakage,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Shapes.Leakage") translateModel(ModelicaTest.FluxTubes.Shapes.Leakage,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Shapes.Leakage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001426/0.001427, allocations: 181.6 kB / 7.651 MB, free: 1.402 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.446/1.446, allocations: 194.3 MB / 202.4 MB, free: 8.539 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.001738/0.001738, allocations: 114.2 kB / 247.4 MB, free: 6.219 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.2409/0.2409, allocations: 39.95 MB / 332.2 MB, free: 4.773 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.154e-05/2.168e-05, allocations: 4 kB / 393.3 MB, free: 75.53 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1056, allocations: 54.87 MB / 448.2 MB, free: 20.65 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3885/0.4942, allocations: 82.12 MB / 0.5179 GB, free: 10.38 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003047/0.4946, allocations: 65.97 kB / 0.5179 GB, free: 10.38 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009796/0.5044, allocations: 4.136 MB / 0.522 GB, free: 9.062 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.5044, allocations: 0.9844 kB / 0.522 GB, free: 9.062 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.254e-05/0.5044, allocations: 3.969 kB / 0.522 GB, free: 9.062 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0006924/0.5051, allocations: 0.5117 MB / 0.5225 GB, free: 8.617 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.5052, allocations: 7.688 kB / 0.5225 GB, free: 8.617 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.219e-05/0.5053, allocations: 31.02 kB / 0.5225 GB, free: 8.602 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00016/0.5055, allocations: 197.4 kB / 0.5227 GB, free: 8.383 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.68e-05/0.5055, allocations: 16.06 kB / 0.5227 GB, free: 8.383 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.734e-05/0.5056, allocations: 23.39 kB / 0.5227 GB, free: 8.379 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003183/0.5059, allocations: 187.8 kB / 0.5229 GB, free: 8.363 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000337/0.5063, allocations: 226.9 kB / 0.5231 GB, free: 8.297 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.5063, allocations: 0 / 0.5231 GB, free: 8.297 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.202e-05/0.5063, allocations: 3.938 kB / 0.5231 GB, free: 8.293 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.5063, allocations: 11.77 kB / 0.5232 GB, free: 8.289 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001451/0.5078, allocations: 0.9511 MB / 0.5241 GB, free: 7.758 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.079e-05/0.5079, allocations: 29.95 kB / 0.5241 GB, free: 7.734 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.907e-05/0.5079, allocations: 27.17 kB / 0.5241 GB, free: 7.727 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.145e-05/0.508, allocations: 3.938 kB / 0.5241 GB, free: 7.723 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.932e-05/0.508, allocations: 38.55 kB / 0.5242 GB, free: 7.676 MB / 346.7 MB Notification: Performance of pre-optimization done (n=2): time 2.034e-06/0.508, allocations: 3.938 kB / 0.5242 GB, free: 7.672 MB / 346.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001865/0.5082, allocations: 60.42 kB / 0.5242 GB, free: 7.629 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.405e-05/0.5082, allocations: 51.41 kB / 0.5243 GB, free: 7.566 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002174/0.5084, allocations: 225.5 kB / 0.5245 GB, free: 7.453 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.13e-05/0.5085, allocations: 25.7 kB / 0.5245 GB, free: 7.422 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001032/0.5086, allocations: 243.4 kB / 0.5248 GB, free: 7.223 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.498e-06/0.5086, allocations: 11.31 kB / 0.5248 GB, free: 7.219 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.053e-05/0.5086, allocations: 0 / 0.5248 GB, free: 7.219 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.725e-05/0.5087, allocations: 329.2 kB / 0.5251 GB, free: 6.898 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001201/0.5088, allocations: 58.94 kB / 0.5251 GB, free: 6.895 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.352e-05/0.5089, allocations: 75.42 kB / 0.5252 GB, free: 6.871 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000104/0.509, allocations: 64.31 kB / 0.5253 GB, free: 6.859 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.509, allocations: 3.844 kB / 0.5253 GB, free: 6.859 MB / 346.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002676/0.5093, allocations: 192.7 kB / 0.5255 GB, free: 6.805 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.5093, allocations: 3.844 kB / 0.5255 GB, free: 6.805 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.5094, allocations: 0 / 0.5255 GB, free: 6.805 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.5094, allocations: 3.844 kB / 0.5255 GB, free: 6.805 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002787/0.5097, allocations: 58.36 kB / 0.5255 GB, free: 6.785 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-06/0.5097, allocations: 3.844 kB / 0.5255 GB, free: 6.785 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002296/0.5099, allocations: 31.2 kB / 0.5256 GB, free: 6.766 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.723e-05/0.5099, allocations: 7.656 kB / 0.5256 GB, free: 6.766 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.906e-05/0.51, allocations: 108.9 kB / 0.5257 GB, free: 6.652 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.926e-05/0.5101, allocations: 15.5 kB / 0.5257 GB, free: 6.645 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.212e-05/0.5101, allocations: 16.95 kB / 0.5257 GB, free: 6.641 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.5101, allocations: 3.812 kB / 0.5257 GB, free: 6.641 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.5101, allocations: 4 kB / 0.5257 GB, free: 6.637 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.5101, allocations: 0 / 0.5257 GB, free: 6.637 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004538/0.5106, allocations: 476 kB / 0.5262 GB, free: 6.227 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.5106, allocations: 0 / 0.5262 GB, free: 6.227 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.944e-05/0.5106, allocations: 3.844 kB / 0.5262 GB, free: 6.227 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.5107, allocations: 0 / 0.5262 GB, free: 6.227 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.276e-06/0.5107, allocations: 0 / 0.5262 GB, free: 6.227 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.5107, allocations: 4.062 kB / 0.5262 GB, free: 6.223 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/0.5107, allocations: 7.781 kB / 0.5262 GB, free: 6.219 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001114/0.5108, allocations: 106.1 kB / 0.5263 GB, free: 6.113 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.932e-05/0.5109, allocations: 96.44 kB / 0.5264 GB, free: 6.008 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.039e-05/0.5109, allocations: 0 / 0.5264 GB, free: 6.008 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.915e-05/0.511, allocations: 4.031 kB / 0.5264 GB, free: 6.004 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.395e-05/0.511, allocations: 11.73 kB / 0.5264 GB, free: 5.996 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/0.5111, allocations: 0 / 0.5264 GB, free: 5.996 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001463/0.5112, allocations: 177.9 kB / 0.5266 GB, free: 5.906 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5112, allocations: 0 / 0.5266 GB, free: 5.906 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002728/0.5115, allocations: 64.78 kB / 0.5266 GB, free: 5.895 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001035/0.5116, allocations: 90.62 kB / 0.5267 GB, free: 5.805 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002021/0.5118, allocations: 103.6 kB / 0.5268 GB, free: 5.793 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.5118, allocations: 7.906 kB / 0.5268 GB, free: 5.789 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.827e-05/0.5119, allocations: 6.812 kB / 0.5268 GB, free: 5.789 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002257/0.5121, allocations: 18.06 kB / 0.5268 GB, free: 5.781 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004976/0.5126, allocations: 234.3 kB / 0.5271 GB, free: 5.617 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002522/0.5129, allocations: 0.7498 MB / 0.5278 GB, free: 4.883 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001237/0.513, allocations: 17.39 kB / 0.5278 GB, free: 4.871 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.165e-05/0.513, allocations: 19.08 kB / 0.5278 GB, free: 4.859 MB / 346.7 MB Notification: Performance of SimCode: time 2.41e-07/0.513, allocations: 0 / 0.5278 GB, free: 4.859 MB / 346.7 MB Notification: Performance of Templates: time 0.003831/0.5169, allocations: 1.337 MB / 0.5291 GB, free: 4.207 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Shapes.Leakage.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Shapes.Leakage.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Shapes.Leakage.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Shapes.Leakage.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Shapes.Leakage.sim & ./ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Shapes.Leakage -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Shapes.Leakage.pipe 2>&1)