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.001475/0.001474, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001627/0.001627, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.639/1.639, allocations: 205.1 MB / 222.4 MB, free: 4.598 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.3901/0.3901, allocations: 39.94 MB / 309.7 MB, free: 9.254 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.001521/0.001521, allocations: 70.41 kB / 377.6 MB, free: 12.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1539/0.1554, allocations: 56.89 MB / 434.5 MB, free: 3.664 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.FixedShape): time 0.004898/0.1604, allocations: 2.381 MB / 436.9 MB, free: 1.266 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001525/0.1619, allocations: 0.8186 MB / 437.7 MB, free: 448 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001464/0.1621, allocations: 4 kB / 437.7 MB, free: 444 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000285/0.1624, allocations: 59.52 kB / 437.8 MB, free: 384 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002788/0.1627, allocations: 95.3 kB / 437.9 MB, free: 288 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003096/0.163, allocations: 99.75 kB / 437.9 MB, free: 188 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004842/0.1635, allocations: 346.9 kB / 438.3 MB, free: 15.84 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002818/0.1638, allocations: 92.47 kB / 438.4 MB, free: 15.75 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002575/0.1641, allocations: 143.5 kB / 438.5 MB, free: 15.61 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001946/0.1643, allocations: 147.4 kB / 438.7 MB, free: 15.47 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.219e-05/0.1643, allocations: 28 kB / 438.7 MB, free: 15.44 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.87e-05/0.1644, allocations: 28 kB / 438.7 MB, free: 15.41 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.044e-05/0.1645, allocations: 67.75 kB / 438.8 MB, free: 15.35 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001423/0.1646, allocations: 155.2 kB / 438.9 MB, free: 15.2 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003348/0.165, allocations: 359 kB / 439.3 MB, free: 14.84 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.165, allocations: 0 / 439.3 MB, free: 14.84 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.165, allocations: 0 / 439.3 MB, free: 14.84 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.017e-06/0.165, allocations: 0 / 439.3 MB, free: 14.84 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.001204/0.1662, allocations: 0.612 MB / 439.9 MB, free: 14.18 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.378e-05/0.1663, allocations: 15.89 kB / 439.9 MB, free: 14.17 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.975e-05/0.1664, allocations: 36.56 kB / 439.9 MB, free: 14.13 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003951/0.1668, allocations: 263.5 kB / 440.2 MB, free: 13.84 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.494e-05/0.1668, allocations: 16.94 kB / 440.2 MB, free: 13.82 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.632e-05/0.1669, allocations: 24.38 kB / 440.2 MB, free: 13.8 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005196/0.1674, allocations: 257.1 kB / 440.5 MB, free: 13.54 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/0.1674, allocations: 0 / 440.5 MB, free: 13.54 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.517e-05/0.1674, allocations: 12 kB / 440.5 MB, free: 13.53 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.404e-05/0.1675, allocations: 8 kB / 440.5 MB, free: 13.52 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005079/0.168, allocations: 230.1 kB / 440.7 MB, free: 13.3 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001543/0.1695, allocations: 0.8637 MB / 441.6 MB, free: 12.37 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005869/0.1701, allocations: 313.8 kB / 441.9 MB, free: 12.05 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002802/0.1704, allocations: 140.8 kB / 442 MB, free: 11.91 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.434e-05/0.1705, allocations: 7.984 kB / 442.1 MB, free: 11.91 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.194e-05/0.1705, allocations: 34.56 kB / 442.1 MB, free: 11.86 MB / 382.1 MB Notification: Performance of pre-optimization done (n=31): time 1.243e-06/0.1705, allocations: 0 / 442.1 MB, free: 11.86 MB / 382.1 MB Notification: Performance of matching and sorting (n=31): time 0.004492/0.175, allocations: 1.258 MB / 443.3 MB, free: 10.51 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.786e-05/0.1751, allocations: 55.34 kB / 443.4 MB, free: 10.45 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002593/0.1754, allocations: 220.9 kB / 443.6 MB, free: 10.22 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.135e-05/0.1754, allocations: 33.7 kB / 443.7 MB, free: 10.18 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001269/0.1755, allocations: 153.2 kB / 443.8 MB, free: 10.03 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001089/0.1757, allocations: 110.4 kB / 443.9 MB, free: 9.918 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.75e-05/0.1758, allocations: 49.7 kB / 444 MB, free: 9.863 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001721/0.1759, allocations: 334.8 kB / 444.3 MB, free: 9.527 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002332/0.1762, allocations: 99.94 kB / 444.4 MB, free: 9.43 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002346/0.1764, allocations: 125.9 kB / 444.5 MB, free: 9.301 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004505/0.1769, allocations: 231.2 kB / 444.7 MB, free: 9.07 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.1769, allocations: 0 / 444.7 MB, free: 9.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001696/0.1786, allocations: 0.5403 MB / 445.3 MB, free: 8.512 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.008e-05/0.1786, allocations: 4 kB / 445.3 MB, free: 8.508 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/0.1787, allocations: 4 kB / 445.3 MB, free: 8.504 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001662/0.1803, allocations: 319.1 kB / 445.6 MB, free: 8.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000167/0.1805, allocations: 23.98 kB / 445.6 MB, free: 8.156 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007715/0.1882, allocations: 6.828 MB / 452.4 MB, free: 0.7617 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002184/0.1885, allocations: 23.86 kB / 452.5 MB, free: 0.7383 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.379e-05/0.1885, allocations: 12 kB / 452.5 MB, free: 0.7266 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.0001875/0.1887, allocations: 141.8 kB / 452.6 MB, free: 0.5781 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.427e-05/0.1888, allocations: 31.56 kB / 452.6 MB, free: 0.5469 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3226/0.5114, allocations: 0.5488 MB / 453.2 MB, free: 51.57 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.641e-05/0.5115, allocations: 3.594 kB / 453.2 MB, free: 51.57 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.5115, allocations: 4.812 kB / 453.2 MB, free: 51.57 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.464e-05/0.5115, allocations: 0 / 453.2 MB, free: 51.57 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006944/0.5122, allocations: 348.7 kB / 453.5 MB, free: 51.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.304e-06/0.5122, allocations: 2.906 kB / 453.5 MB, free: 51.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001474/0.5124, allocations: 25.59 kB / 453.6 MB, free: 51.38 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001515/0.5139, allocations: 315.8 kB / 453.9 MB, free: 51.35 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.69e-05/0.5139, allocations: 5.656 kB / 453.9 MB, free: 51.35 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006985/0.5209, allocations: 6.892 MB / 460.8 MB, free: 46.01 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/0.521, allocations: 5.766 kB / 460.8 MB, free: 46.01 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001646/0.5226, allocations: 0.6137 MB / 461.4 MB, free: 45.83 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.693e-05/0.5227, allocations: 103.3 kB / 461.5 MB, free: 45.72 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.037e-05/0.5227, allocations: 11.06 kB / 461.5 MB, free: 45.72 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001848/0.5229, allocations: 21 kB / 461.5 MB, free: 45.72 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001503/0.5231, allocations: 26.72 kB / 461.6 MB, free: 45.72 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.916e-05/0.5231, allocations: 6.344 kB / 461.6 MB, free: 45.72 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001638/0.5233, allocations: 164.8 kB / 461.7 MB, free: 45.64 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5233, allocations: 0 / 461.7 MB, free: 45.64 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005975/0.5239, allocations: 118.5 kB / 461.8 MB, free: 45.64 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.0001571/0.5241, allocations: 106.8 kB / 461.9 MB, free: 45.55 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001223/0.5253, allocations: 0.7559 MB / 462.7 MB, free: 45.05 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.5253, allocations: 0 / 462.7 MB, free: 45.05 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00108/0.5264, allocations: 0.7372 MB / 463.4 MB, free: 44.52 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003523/0.5268, allocations: 30.67 kB / 463.5 MB, free: 44.51 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001035/0.5278, allocations: 0.5401 MB / 464 MB, free: 44.22 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003103/0.5282, allocations: 0.7754 MB / 464.8 MB, free: 43.53 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.78e-05/0.5282, allocations: 9.297 kB / 464.8 MB, free: 43.53 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.661e-05/0.5283, allocations: 19.03 kB / 464.8 MB, free: 43.52 MB / 382.1 MB Notification: Performance of SimCode: time 3.7e-07/0.5283, allocations: 0 / 464.8 MB, free: 43.52 MB / 382.1 MB Notification: Performance of Templates: time 0.01435/0.5427, allocations: 7.998 MB / 472.8 MB, free: 43.03 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)