Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.1_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe") translateModel(ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.0007855/0.0007856, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.004826/0.004826, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.454/1.454, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3492/0.3492, allocations: 38.03 MB / 308.8 MB, free: 10.32 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.1. 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.0006621/0.0006621, allocations: 16.22 kB / 377.1 MB, free: 14.82 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1178, allocations: 57.51 MB / 434.6 MB, free: 5.211 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe): time 0.01354/0.1314, allocations: 12.36 MB / 446.9 MB, free: 8.789 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008036/0.1394, allocations: 5.587 MB / 452.5 MB, free: 3.188 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008731/0.1403, allocations: 19.81 kB / 452.5 MB, free: 3.168 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000802/0.1412, allocations: 167.1 kB / 452.7 MB, free: 3.004 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002003/0.1432, allocations: 0.6418 MB / 453.3 MB, free: 2.359 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00501/0.1482, allocations: 1.301 MB / 454.6 MB, free: 1.055 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2308/0.3791, allocations: 1.721 MB / 456.4 MB, free: 34.54 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009721/0.3801, allocations: 273.2 kB / 456.6 MB, free: 34.54 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001735/0.3819, allocations: 430.5 kB / 457.1 MB, free: 34.54 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001141/0.383, allocations: 457.7 kB / 457.5 MB, free: 34.54 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001919/0.3833, allocations: 24.84 kB / 457.5 MB, free: 34.54 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002218/0.3855, allocations: 1.036 MB / 458.6 MB, free: 34.54 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002438/0.3858, allocations: 149.9 kB / 458.7 MB, free: 34.53 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003772/0.3861, allocations: 270.2 kB / 459 MB, free: 34.43 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001605/0.3878, allocations: 1.269 MB / 460.2 MB, free: 34.35 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.3878, allocations: 0 / 460.2 MB, free: 34.35 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3878, allocations: 4.688 kB / 460.2 MB, free: 34.35 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.3878, allocations: 0 / 460.2 MB, free: 34.35 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.001376/0.3892, allocations: 0.852 MB / 461.1 MB, free: 33.74 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.3892, allocations: 10.19 kB / 461.1 MB, free: 33.74 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002153/0.3894, allocations: 63.39 kB / 461.2 MB, free: 33.71 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004762/0.3899, allocations: 432.3 kB / 461.6 MB, free: 33.46 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.239e-05/0.39, allocations: 25 kB / 461.6 MB, free: 33.46 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.488e-05/0.39, allocations: 32.41 kB / 461.6 MB, free: 33.46 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007009/0.3907, allocations: 0.5224 MB / 462.2 MB, free: 33.34 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.3907, allocations: 4.406 kB / 462.2 MB, free: 33.34 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.523e-05/0.3908, allocations: 10.16 kB / 462.2 MB, free: 33.34 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.375e-05/0.3909, allocations: 33.91 kB / 462.2 MB, free: 33.34 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006363/0.3915, allocations: 466.5 kB / 462.7 MB, free: 33.33 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002688/0.3942, allocations: 2.255 MB / 464.9 MB, free: 32.02 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003925/0.3946, allocations: 241.3 kB / 465.2 MB, free: 32 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001952/0.3948, allocations: 134.6 kB / 465.3 MB, free: 31.99 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008837/0.3957, allocations: 1.018 MB / 466.3 MB, free: 31.22 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002524/0.396, allocations: 220.8 kB / 466.5 MB, free: 31.11 MB / 382.1 MB Notification: Performance of pre-optimization done (n=18): time 2.384e-06/0.396, allocations: 0 / 466.5 MB, free: 31.11 MB / 382.1 MB Notification: Performance of matching and sorting (n=18): time 0.0005415/0.3965, allocations: 386.2 kB / 466.9 MB, free: 31.01 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.901e-05/0.3966, allocations: 245.4 kB / 467.1 MB, free: 30.73 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004605/0.3971, allocations: 0.5185 MB / 467.7 MB, free: 30.6 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.573e-05/0.3971, allocations: 29.11 kB / 467.7 MB, free: 30.57 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001424/0.3972, allocations: 282.3 kB / 468 MB, free: 30.41 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.344e-05/0.3973, allocations: 70.14 kB / 468 MB, free: 30.38 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.697e-05/0.3973, allocations: 37.42 kB / 468.1 MB, free: 30.36 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.992e-05/0.3974, allocations: 355.8 kB / 468.4 MB, free: 30.05 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001823/0.3976, allocations: 131.6 kB / 468.5 MB, free: 30.05 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002545/0.3979, allocations: 316.5 kB / 468.9 MB, free: 29.84 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003861/0.3983, allocations: 458.8 kB / 469.3 MB, free: 29.61 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.3983, allocations: 3.125 kB / 469.3 MB, free: 29.61 MB / 382.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.000615/0.3989, allocations: 0.5258 MB / 469.8 MB, free: 29.52 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.891e-05/0.399, allocations: 257.5 kB / 470.1 MB, free: 29.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.375e-06/0.399, allocations: 3.312 kB / 470.1 MB, free: 29.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.3991, allocations: 6.406 kB / 470.1 MB, free: 29.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002609/0.3993, allocations: 80.62 kB / 470.2 MB, free: 29.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-06/0.3993, allocations: 6.5 kB / 470.2 MB, free: 29.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003566/0.3997, allocations: 72.41 kB / 470.2 MB, free: 29.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.459e-05/0.3997, allocations: 22.7 kB / 470.3 MB, free: 29.2 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.081e-06/0.3998, allocations: 5.906 kB / 470.3 MB, free: 29.2 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000557/0.4003, allocations: 482.7 kB / 470.7 MB, free: 29.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.4003, allocations: 7.156 kB / 470.8 MB, free: 29.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.829e-06/0.4003, allocations: 6.375 kB / 470.8 MB, free: 29.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002284/0.4006, allocations: 79.25 kB / 470.8 MB, free: 29.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.4006, allocations: 13.48 kB / 470.9 MB, free: 29.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002908/0.4009, allocations: 50.92 kB / 470.9 MB, free: 29.13 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.95e-05/0.4009, allocations: 25.34 kB / 470.9 MB, free: 29.13 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.0002204/0.4012, allocations: 296.5 kB / 471.2 MB, free: 28.91 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.819e-05/0.4012, allocations: 51.41 kB / 471.3 MB, free: 28.89 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00055/0.4018, allocations: 367 kB / 471.6 MB, free: 28.8 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.4018, allocations: 3.156 kB / 471.6 MB, free: 28.8 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.4018, allocations: 4 kB / 471.6 MB, free: 28.8 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.798e-06/0.4018, allocations: 0 / 471.6 MB, free: 28.8 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003564/0.4022, allocations: 416.3 kB / 472 MB, free: 28.6 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.4022, allocations: 3.125 kB / 472 MB, free: 28.6 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001017/0.4023, allocations: 31.09 kB / 472.1 MB, free: 28.6 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.4023, allocations: 0 / 472.1 MB, free: 28.6 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.775e-05/0.4023, allocations: 5.312 kB / 472.1 MB, free: 28.6 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.4023, allocations: 0 / 472.1 MB, free: 28.6 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.4023, allocations: 3.25 kB / 472.1 MB, free: 28.6 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000414/0.4028, allocations: 367.3 kB / 472.4 MB, free: 28.47 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.767e-05/0.4029, allocations: 131 kB / 472.6 MB, free: 28.35 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.975e-05/0.4029, allocations: 13.16 kB / 472.6 MB, free: 28.35 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002257/0.4032, allocations: 16.84 kB / 472.6 MB, free: 28.34 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.437e-05/0.4032, allocations: 12.5 kB / 472.6 MB, free: 28.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.689e-05/0.4032, allocations: 8.344 kB / 472.6 MB, free: 28.34 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003217/0.4036, allocations: 372.4 kB / 473 MB, free: 28.26 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4036, allocations: 4 kB / 473 MB, free: 28.25 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009944/0.4046, allocations: 422.9 kB / 473.4 MB, free: 28.2 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.0007864/0.4054, allocations: 416 kB / 473.8 MB, free: 28.04 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008349/0.4062, allocations: 0.6738 MB / 474.5 MB, free: 27.91 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.4062, allocations: 0 / 474.5 MB, free: 27.91 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001693/0.4064, allocations: 190.1 kB / 474.7 MB, free: 27.84 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009048/0.4073, allocations: 196.6 kB / 474.9 MB, free: 27.83 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00113/0.4085, allocations: 1.009 MB / 475.9 MB, free: 27.36 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002263/0.4087, allocations: 0.8463 MB / 476.7 MB, free: 26.64 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004909/0.4092, allocations: 167.6 kB / 476.9 MB, free: 26.62 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.244e-05/0.4093, allocations: 42.75 kB / 476.9 MB, free: 26.62 MB / 382.1 MB Notification: Performance of SimCode: time 3.31e-07/0.4093, allocations: 0 / 476.9 MB, free: 26.62 MB / 382.1 MB Notification: Performance of Templates: time 0.01888/0.4282, allocations: 11.67 MB / 488.6 MB, free: 25.8 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe 2>&1) Environment - environmentSimulation: