Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.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.Fluid.TestComponents.Pipes.StaticPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe") translateModel(ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001398/0.001398, 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.001723/0.001723, allocations: 201 kB / 16.14 MB, free: 6.762 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.371/1.371, allocations: 205.1 MB / 222 MB, free: 4.719 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.3497/0.3497, allocations: 39.93 MB / 309.3 MB, free: 9.648 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.001317/0.001317, allocations: 63.92 kB / 376.9 MB, free: 13.39 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1405/0.1418, allocations: 56.89 MB / 433.8 MB, free: 4.402 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe): time 0.01569/0.1576, allocations: 12.85 MB / 446.7 MB, free: 7.484 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009129/0.1668, allocations: 5.676 MB / 452.3 MB, free: 1.797 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007992/0.1677, allocations: 23.81 kB / 452.4 MB, free: 1.773 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008128/0.1686, allocations: 175.1 kB / 452.5 MB, free: 1.602 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00208/0.1707, allocations: 0.634 MB / 453.2 MB, free: 0.9648 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.3095/0.4802, allocations: 1.284 MB / 454.5 MB, free: 36.54 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002198/0.4824, allocations: 1.726 MB / 456.2 MB, free: 36.54 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004628/0.4829, allocations: 274.5 kB / 456.5 MB, free: 36.53 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008937/0.4838, allocations: 439.4 kB / 456.9 MB, free: 36.53 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006383/0.4844, allocations: 458.2 kB / 457.3 MB, free: 36.5 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.284e-05/0.4845, allocations: 22.16 kB / 457.4 MB, free: 36.5 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002475/0.487, allocations: 1.046 MB / 458.4 MB, free: 36.5 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002655/0.4873, allocations: 145.1 kB / 458.5 MB, free: 36.48 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003446/0.4876, allocations: 247.6 kB / 458.8 MB, free: 36.41 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002331/0.49, allocations: 1.281 MB / 460.1 MB, free: 36.33 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.006e-05/0.49, allocations: 0 / 460.1 MB, free: 36.33 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.49, allocations: 0 / 460.1 MB, free: 36.33 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.167e-05/0.49, allocations: 0 / 460.1 MB, free: 36.33 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.002085/0.4921, allocations: 0.9574 MB / 461 MB, free: 35.7 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.4922, allocations: 9.781 kB / 461 MB, free: 35.7 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000261/0.4924, allocations: 61.75 kB / 461.1 MB, free: 35.67 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005909/0.493, allocations: 430.9 kB / 461.5 MB, free: 35.42 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.36e-05/0.4931, allocations: 27.09 kB / 461.5 MB, free: 35.42 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.914e-05/0.4931, allocations: 32.23 kB / 461.6 MB, free: 35.42 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008335/0.494, allocations: 0.5234 MB / 462.1 MB, free: 35.3 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.722e-05/0.494, allocations: 3.125 kB / 462.1 MB, free: 35.3 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.193e-05/0.4941, allocations: 14.42 kB / 462.1 MB, free: 35.3 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.807e-05/0.4941, allocations: 26.91 kB / 462.1 MB, free: 35.3 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006604/0.4948, allocations: 467.7 kB / 462.6 MB, free: 35.3 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003114/0.4979, allocations: 2.255 MB / 464.8 MB, free: 33.98 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004251/0.4984, allocations: 237.6 kB / 465.1 MB, free: 33.96 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000248/0.4986, allocations: 135 kB / 465.2 MB, free: 33.95 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001288/0.4999, allocations: 1.021 MB / 466.2 MB, free: 33.18 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004107/0.5004, allocations: 213.5 kB / 466.4 MB, free: 33.07 MB / 382.1 MB Notification: Performance of pre-optimization done (n=18): time 4.027e-06/0.5004, allocations: 0 / 466.4 MB, free: 33.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=18): time 0.0008697/0.5013, allocations: 387.6 kB / 466.8 MB, free: 32.98 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001535/0.5014, allocations: 243.4 kB / 467.1 MB, free: 32.7 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000757/0.5022, allocations: 0.5243 MB / 467.6 MB, free: 32.56 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.486e-05/0.5022, allocations: 32.33 kB / 467.6 MB, free: 32.53 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002781/0.5025, allocations: 283.5 kB / 467.9 MB, free: 32.38 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.327e-05/0.5026, allocations: 63.61 kB / 468 MB, free: 32.34 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001826/0.5028, allocations: 91.39 kB / 468 MB, free: 32.32 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001813/0.503, allocations: 363.8 kB / 468.4 MB, free: 32.01 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002337/0.5032, allocations: 135.9 kB / 468.5 MB, free: 32 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004222/0.5037, allocations: 320.5 kB / 468.8 MB, free: 31.79 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006612/0.5043, allocations: 455.3 kB / 469.3 MB, free: 31.56 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.56e-06/0.5044, allocations: 0 / 469.3 MB, free: 31.56 MB / 382.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0009258/0.5053, allocations: 0.5293 MB / 469.8 MB, free: 31.46 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.418e-05/0.5054, allocations: 42.17 kB / 469.9 MB, free: 31.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.198e-05/0.5054, allocations: 9.594 kB / 469.9 MB, free: 31.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.571e-05/0.5054, allocations: 6.688 kB / 469.9 MB, free: 31.43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000384/0.5058, allocations: 79.09 kB / 470 MB, free: 31.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.816e-05/0.5059, allocations: 11.89 kB / 470 MB, free: 31.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004431/0.5063, allocations: 56.98 kB / 470 MB, free: 31.4 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.637e-05/0.5064, allocations: 24.84 kB / 470 MB, free: 31.4 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003632/0.5067, allocations: 267.8 kB / 470.3 MB, free: 31.32 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003302/0.5071, allocations: 311.5 kB / 470.6 MB, free: 31.1 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005045/0.5076, allocations: 457.9 kB / 471.1 MB, free: 30.86 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.58e-06/0.5076, allocations: 4.781 kB / 471.1 MB, free: 30.86 MB / 382.1 MB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0007434/0.5083, allocations: 0.5256 MB / 471.6 MB, free: 30.77 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.921e-05/0.5084, allocations: 36.48 kB / 471.6 MB, free: 30.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.5084, allocations: 10.52 kB / 471.6 MB, free: 30.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.548e-06/0.5084, allocations: 8.203 kB / 471.6 MB, free: 30.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002552/0.5087, allocations: 75.06 kB / 471.7 MB, free: 30.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.879e-06/0.5087, allocations: 13.48 kB / 471.7 MB, free: 30.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004373/0.5091, allocations: 54.2 kB / 471.8 MB, free: 30.71 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.434e-05/0.5092, allocations: 19.97 kB / 471.8 MB, free: 30.71 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 7 (p_table.nextEventScaled,p_table.nextEvent,$PRE.p_table.nextEvent,p_table.last,p_table.b,p_table.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002251/0.5094, allocations: 243.7 kB / 472 MB, free: 30.49 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.859e-05/0.5095, allocations: 57.25 kB / 472.1 MB, free: 30.46 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000668/0.5102, allocations: 369.2 kB / 472.5 MB, free: 30.39 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.5102, allocations: 0 / 472.5 MB, free: 30.39 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.694e-06/0.5102, allocations: 0 / 472.5 MB, free: 30.39 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.5102, allocations: 7.031 kB / 472.5 MB, free: 30.38 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004398/0.5107, allocations: 410.6 kB / 472.9 MB, free: 30.19 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.5107, allocations: 0 / 472.9 MB, free: 30.19 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001093/0.5108, allocations: 26.47 kB / 472.9 MB, free: 30.19 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.656e-06/0.5108, allocations: 3.375 kB / 472.9 MB, free: 30.19 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.02e-05/0.5108, allocations: 3.219 kB / 472.9 MB, free: 30.19 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.5108, allocations: 0 / 472.9 MB, free: 30.19 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.121e-06/0.5109, allocations: 8 kB / 472.9 MB, free: 30.18 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004793/0.5113, allocations: 373.9 kB / 473.3 MB, free: 30.05 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.826e-05/0.5115, allocations: 126.6 kB / 473.4 MB, free: 29.93 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.063e-05/0.5115, allocations: 6.344 kB / 473.4 MB, free: 29.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002362/0.5118, allocations: 12.73 kB / 473.4 MB, free: 29.93 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.584e-05/0.5119, allocations: 10.66 kB / 473.4 MB, free: 29.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.3e-05/0.5119, allocations: 8.062 kB / 473.4 MB, free: 29.93 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003953/0.5123, allocations: 380.8 kB / 473.8 MB, free: 29.8 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5123, allocations: 0 / 473.8 MB, free: 29.8 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001456/0.5138, allocations: 428.4 kB / 474.2 MB, free: 29.72 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: 6 ($whenCondition1,p_table.a,p_table.b,p_table.last,p_table.nextEvent,p_table.nextEventScaled) * Number of discrete states: 6 (p_table.nextEvent,p_table.last,p_table.nextEventScaled,p_table.b,p_table.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001022/0.5148, allocations: 415.8 kB / 474.6 MB, free: 29.56 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009359/0.5157, allocations: 0.6817 MB / 475.3 MB, free: 29.25 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.5158, allocations: 0 / 475.3 MB, free: 29.25 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001741/0.5159, allocations: 184.9 kB / 475.5 MB, free: 29.14 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009694/0.5169, allocations: 202.9 kB / 475.7 MB, free: 29.09 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001394/0.5183, allocations: 0.951 MB / 476.6 MB, free: 28.55 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003023/0.5186, allocations: 0.8493 MB / 477.5 MB, free: 27.83 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005293/0.5192, allocations: 157.5 kB / 477.6 MB, free: 27.81 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001022/0.5193, allocations: 39.5 kB / 477.7 MB, free: 27.8 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.5193, allocations: 4 kB / 477.7 MB, free: 27.8 MB / 382.1 MB Notification: Performance of Templates: time 0.02787/0.5472, allocations: 11.73 MB / 489.4 MB, free: 26.96 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe 2>&1)