Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Shapes.FixedShape.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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 Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.FluxTubes.Shapes.FixedShape,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Shapes.FixedShape") translateModel(ModelicaTest.FluxTubes.Shapes.FixedShape,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Shapes.FixedShape") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001543/0.001543, allocations: 111.3 kB / 15.23 MB, free: 0.6367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002054/0.002054, allocations: 195.9 kB / 16.14 MB, free: 6.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.629/1.629, allocations: 205.1 MB / 222 MB, free: 4.988 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3628/0.3628, allocations: 39.94 MB / 309.3 MB, free: 9.527 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001419/0.001419, allocations: 63.91 kB / 376.9 MB, free: 13.47 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.175/0.1764, allocations: 56.88 MB / 433.8 MB, free: 4.492 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.FixedShape): time 0.004581/0.181, allocations: 2.446 MB / 436.2 MB, free: 2.027 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001367/0.1825, allocations: 0.8032 MB / 437.1 MB, free: 1.215 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001335/0.1826, allocations: 4 kB / 437.1 MB, free: 1.211 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002707/0.1829, allocations: 43.69 kB / 437.1 MB, free: 1.168 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002316/0.1831, allocations: 83.45 kB / 437.2 MB, free: 1.086 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002353/0.1834, allocations: 91.84 kB / 437.3 MB, free: 0.9961 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003019/0.1837, allocations: 326.8 kB / 437.6 MB, free: 0.6758 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001828/0.1839, allocations: 81 kB / 437.7 MB, free: 0.5938 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000199/0.1841, allocations: 123.5 kB / 437.8 MB, free: 484 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001545/0.1843, allocations: 155.3 kB / 437.9 MB, free: 328 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.431e-05/0.1843, allocations: 20 kB / 438 MB, free: 308 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.419e-05/0.1844, allocations: 16 kB / 438 MB, free: 292 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.634e-05/0.1844, allocations: 51.83 kB / 438 MB, free: 240 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001171/0.1845, allocations: 147.2 kB / 438.2 MB, free: 92 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003034/0.1848, allocations: 347 kB / 438.5 MB, free: 15.75 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.1849, allocations: 0 / 438.5 MB, free: 15.75 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.1849, allocations: 0 / 438.5 MB, free: 15.75 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.526e-06/0.1849, allocations: 0 / 438.5 MB, free: 15.75 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001098/0.186, allocations: 0.6158 MB / 439.1 MB, free: 15.09 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/0.186, allocations: 16.03 kB / 439.1 MB, free: 15.07 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.445e-05/0.1861, allocations: 32.56 kB / 439.2 MB, free: 15.04 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003103/0.1864, allocations: 259.6 kB / 439.4 MB, free: 14.75 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.893e-05/0.1865, allocations: 16.94 kB / 439.4 MB, free: 14.73 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.775e-05/0.1865, allocations: 24.38 kB / 439.5 MB, free: 14.71 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005077/0.187, allocations: 245.2 kB / 439.7 MB, free: 14.46 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.187, allocations: 7.938 kB / 439.7 MB, free: 14.45 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.89e-05/0.1871, allocations: 8 kB / 439.7 MB, free: 14.45 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.199e-05/0.1871, allocations: 8 kB / 439.7 MB, free: 14.44 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004918/0.1876, allocations: 230.1 kB / 440 MB, free: 14.21 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001473/0.1891, allocations: 0.8792 MB / 440.8 MB, free: 13.27 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005701/0.1897, allocations: 302.7 kB / 441.1 MB, free: 12.97 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000283/0.19, allocations: 144.8 kB / 441.3 MB, free: 12.82 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.177e-05/0.19, allocations: 8 kB / 441.3 MB, free: 12.82 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.48e-05/0.1901, allocations: 42.44 kB / 441.3 MB, free: 12.77 MB / 382.1 MB Notification: Performance of pre-optimization done (n=31): time 2.354e-06/0.1901, allocations: 0 / 441.3 MB, free: 12.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=31): time 0.004597/0.1947, allocations: 1.254 MB / 442.6 MB, free: 11.42 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.405e-05/0.1947, allocations: 55.34 kB / 442.6 MB, free: 11.35 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002178/0.195, allocations: 220.9 kB / 442.8 MB, free: 11.12 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.659e-05/0.195, allocations: 29.7 kB / 442.9 MB, free: 11.09 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001128/0.1951, allocations: 153.2 kB / 443 MB, free: 10.93 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.168e-05/0.1952, allocations: 114.4 kB / 443.1 MB, free: 10.82 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.054e-05/0.1953, allocations: 49.7 kB / 443.2 MB, free: 10.77 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.1954, allocations: 338.8 kB / 443.5 MB, free: 10.43 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002168/0.1957, allocations: 95.95 kB / 443.6 MB, free: 10.33 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000243/0.1959, allocations: 121.8 kB / 443.7 MB, free: 10.21 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000481/0.1964, allocations: 231.3 kB / 444 MB, free: 9.977 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.1964, allocations: 4 kB / 444 MB, free: 9.973 MB / 382.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001764/0.1982, allocations: 0.5363 MB / 444.5 MB, free: 9.418 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.522e-05/0.1982, allocations: 15.94 kB / 444.5 MB, free: 9.402 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.1982, allocations: 0 / 444.5 MB, free: 9.402 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001649/0.1999, allocations: 307.1 kB / 444.8 MB, free: 9.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001757/0.2001, allocations: 23.98 kB / 444.8 MB, free: 9.066 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006841/0.2069, allocations: 6.332 MB / 451.2 MB, free: 2.199 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002282/0.2072, allocations: 19.88 kB / 451.2 MB, free: 2.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.208e-05/0.2072, allocations: 12 kB / 451.2 MB, free: 2.168 MB / 382.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,5), (1,5), (1,5), (1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001782/0.2074, allocations: 149.6 kB / 451.3 MB, free: 2.012 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.282e-05/0.2075, allocations: 23.7 kB / 451.4 MB, free: 1.988 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001737/0.2092, allocations: 0.5512 MB / 451.9 MB, free: 1.422 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.2092, allocations: 4 kB / 451.9 MB, free: 1.418 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.2092, allocations: 4.125 kB / 451.9 MB, free: 1.414 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.2092, allocations: 3.984 kB / 451.9 MB, free: 1.41 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004258/0.2097, allocations: 365.1 kB / 452.3 MB, free: 1.004 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.2097, allocations: 4 kB / 452.3 MB, free: 1 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001137/0.2098, allocations: 19.97 kB / 452.3 MB, free: 0.9805 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001509/0.2113, allocations: 307.2 kB / 452.6 MB, free: 0.668 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.303e-05/0.2114, allocations: 4 kB / 452.6 MB, free: 0.6641 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2585/0.4699, allocations: 6.377 MB / 459 MB, free: 46.71 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.4699, allocations: 0 / 459 MB, free: 46.71 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001595/0.4715, allocations: 0.6163 MB / 459.6 MB, free: 46.53 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.879e-05/0.4716, allocations: 100.1 kB / 459.7 MB, free: 46.43 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.999e-05/0.4716, allocations: 10.58 kB / 459.7 MB, free: 46.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001881/0.4718, allocations: 17.83 kB / 459.7 MB, free: 46.43 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001277/0.4719, allocations: 27.81 kB / 459.8 MB, free: 46.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.786e-05/0.472, allocations: 9.75 kB / 459.8 MB, free: 46.43 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001436/0.4721, allocations: 160.7 kB / 459.9 MB, free: 46.35 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4721, allocations: 0 / 459.9 MB, free: 46.35 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004945/0.4726, allocations: 118.5 kB / 460 MB, free: 46.34 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(2,4), (2,4), (2,4), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001092/0.4727, allocations: 100.4 kB / 460.1 MB, free: 46.26 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008328/0.4736, allocations: 0.7448 MB / 460.9 MB, free: 45.81 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.4736, allocations: 0 / 460.9 MB, free: 45.81 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00102/0.4746, allocations: 0.7197 MB / 461.6 MB, free: 45.35 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003291/0.475, allocations: 28.66 kB / 461.6 MB, free: 45.34 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008756/0.4758, allocations: 0.6443 MB / 462.3 MB, free: 45 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002281/0.4761, allocations: 0.7747 MB / 463 MB, free: 44.31 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.318e-05/0.4762, allocations: 8.094 kB / 463.1 MB, free: 44.31 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.449e-05/0.4762, allocations: 13.38 kB / 463.1 MB, free: 44.3 MB / 382.1 MB Notification: Performance of SimCode: time 6.21e-07/0.4762, allocations: 0 / 463.1 MB, free: 44.3 MB / 382.1 MB Notification: Performance of Templates: time 0.01152/0.4877, allocations: 7.491 MB / 470.6 MB, free: 43.85 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Shapes.FixedShape.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Shapes.FixedShape.sim & ./ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Shapes.FixedShape -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe 2>&1)