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.002484/0.002484, allocations: 180 kB / 12.73 MB, free: 2.578 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.643/1.643, allocations: 194.3 MB / 207.5 MB, free: 3.398 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.001716/0.001716, allocations: 112.2 kB / 252.6 MB, free: 4.77 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.1883/0.1883, allocations: 39.94 MB / 337.5 MB, free: 472 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.522e-05/5.533e-05, allocations: 0 / 400.3 MB, free: 69.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1312, allocations: 54.86 MB / 455.1 MB, free: 14.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3753/0.5066, allocations: 82.78 MB / 0.5253 GB, free: 8.414 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001957/0.5068, allocations: 68.52 kB / 0.5254 GB, free: 8.379 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01537/0.5222, allocations: 4.17 MB / 0.5295 GB, free: 5.016 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.5223, allocations: 0 / 0.5295 GB, free: 5.016 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.651e-05/0.5223, allocations: 4 kB / 0.5295 GB, free: 5.012 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.0008244/0.5231, allocations: 0.5049 MB / 0.5299 GB, free: 4.477 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.5232, allocations: 8.031 kB / 0.53 GB, free: 4.469 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.078e-05/0.5233, allocations: 35.36 kB / 0.53 GB, free: 4.438 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001572/0.5235, allocations: 200.1 kB / 0.5302 GB, free: 4.203 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001281/0.5236, allocations: 27.66 kB / 0.5302 GB, free: 4.184 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.99e-05/0.5237, allocations: 31.25 kB / 0.5302 GB, free: 4.16 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006239/0.5243, allocations: 269.6 kB / 0.5305 GB, free: 3.98 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.623e-05/0.5244, allocations: 4.375 kB / 0.5305 GB, free: 3.977 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.959e-05/0.5244, allocations: 11.19 kB / 0.5305 GB, free: 3.973 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.387e-05/0.5244, allocations: 11.98 kB / 0.5305 GB, free: 3.961 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005469/0.525, allocations: 204.7 kB / 0.5307 GB, free: 3.828 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002171/0.5272, allocations: 1.036 MB / 0.5317 GB, free: 2.965 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.162e-05/0.5273, allocations: 37.64 kB / 0.5318 GB, free: 2.926 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.557e-05/0.5274, allocations: 24.05 kB / 0.5318 GB, free: 2.906 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.041e-05/0.5274, allocations: 0 / 0.5318 GB, free: 2.906 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.483e-05/0.5274, allocations: 30.56 kB / 0.5318 GB, free: 2.867 MB / 346.7 MB Notification: Performance of pre-optimization done (n=2): time 1.523e-06/0.5274, allocations: 4 kB / 0.5318 GB, free: 2.863 MB / 346.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002093/0.5277, allocations: 62.98 kB / 0.5319 GB, free: 2.801 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.085e-05/0.5277, allocations: 59.3 kB / 0.5319 GB, free: 2.73 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003595/0.5281, allocations: 289.9 kB / 0.5322 GB, free: 2.5 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.608e-06/0.5281, allocations: 25.7 kB / 0.5322 GB, free: 2.469 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001214/0.5282, allocations: 232.6 kB / 0.5325 GB, free: 2.266 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.571e-05/0.5283, allocations: 14.59 kB / 0.5325 GB, free: 2.254 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.602e-05/0.5283, allocations: 6.188 kB / 0.5325 GB, free: 2.254 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.673e-05/0.5283, allocations: 333.3 kB / 0.5328 GB, free: 1.926 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001582/0.5285, allocations: 60.44 kB / 0.5329 GB, free: 1.891 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001752/0.5287, allocations: 84.08 kB / 0.5329 GB, free: 1.828 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001895/0.5289, allocations: 66.47 kB / 0.533 GB, free: 1.789 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.5289, allocations: 0 / 0.533 GB, free: 1.789 MB / 346.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005023/0.5294, allocations: 219.9 kB / 0.5332 GB, free: 1.617 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.204e-05/0.5295, allocations: 4 kB / 0.5332 GB, free: 1.613 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/0.5295, allocations: 0 / 0.5332 GB, free: 1.613 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.301e-05/0.5295, allocations: 8.031 kB / 0.5332 GB, free: 1.605 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004669/0.53, allocations: 55.41 kB / 0.5333 GB, free: 1.555 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.253e-05/0.53, allocations: 11.88 kB / 0.5333 GB, free: 1.543 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000402/0.5305, allocations: 38.91 kB / 0.5333 GB, free: 1.508 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.512e-05/0.5305, allocations: 7.5 kB / 0.5333 GB, free: 1.504 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 7.443e-05/0.5306, allocations: 112.4 kB / 0.5334 GB, free: 1.391 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.785e-05/0.5307, allocations: 15.81 kB / 0.5334 GB, free: 1.375 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.311e-05/0.5307, allocations: 27.31 kB / 0.5335 GB, free: 1.352 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.5308, allocations: 4 kB / 0.5335 GB, free: 1.348 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.5308, allocations: 0 / 0.5335 GB, free: 1.348 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.5308, allocations: 3.953 kB / 0.5335 GB, free: 1.344 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00071/0.5315, allocations: 0.5121 MB / 0.534 GB, free: 0.8242 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.5315, allocations: 0 / 0.534 GB, free: 0.8242 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.755e-05/0.5316, allocations: 4 kB / 0.534 GB, free: 0.8203 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.5316, allocations: 0 / 0.534 GB, free: 0.8203 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.261e-05/0.5316, allocations: 8.016 kB / 0.534 GB, free: 0.8125 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.5316, allocations: 0 / 0.534 GB, free: 0.8125 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.5316, allocations: 3.938 kB / 0.534 GB, free: 0.8086 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001732/0.5318, allocations: 108.6 kB / 0.5341 GB, free: 0.6875 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.534e-05/0.5319, allocations: 100.8 kB / 0.5342 GB, free: 0.5742 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.896e-05/0.532, allocations: 7.953 kB / 0.5342 GB, free: 0.5664 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001792/0.5322, allocations: 4.031 kB / 0.5342 GB, free: 0.5625 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.804e-05/0.5322, allocations: 7.938 kB / 0.5342 GB, free: 0.5547 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-06/0.5323, allocations: 0 / 0.5342 GB, free: 0.5547 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000297/0.5326, allocations: 216.4 kB / 0.5344 GB, free: 400 kB / 346.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.5326, allocations: 4 kB / 0.5344 GB, free: 396 kB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004663/0.5331, allocations: 63.72 kB / 0.5345 GB, free: 336 kB / 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.0001096/0.5332, allocations: 87.25 kB / 0.5346 GB, free: 236 kB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002971/0.5335, allocations: 119.2 kB / 0.5347 GB, free: 152 kB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.5335, allocations: 0 / 0.5347 GB, free: 152 kB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.519e-05/0.5336, allocations: 11.81 kB / 0.5347 GB, free: 144 kB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003073/0.5339, allocations: 16.14 kB / 0.5347 GB, free: 128 kB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006873/0.5346, allocations: 239.4 kB / 0.5349 GB, free: 15.88 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004286/0.535, allocations: 0.7441 MB / 0.5357 GB, free: 15.11 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002195/0.5353, allocations: 26.06 kB / 0.5357 GB, free: 15.08 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.687e-05/0.5354, allocations: 19.42 kB / 0.5357 GB, free: 15.06 MB / 362.7 MB Notification: Performance of SimCode: time 6.51e-07/0.5354, allocations: 0 / 0.5357 GB, free: 15.06 MB / 362.7 MB Notification: Performance of Templates: time 0.006907/0.5423, allocations: 1.606 MB / 0.5373 GB, free: 13.49 MB / 362.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)