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.001116/0.001116, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001132/0.001133, allocations: 190.1 kB / 16.14 MB, free: 6.703 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.397/1.397, allocations: 205.1 MB / 222 MB, free: 4.945 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.3761/0.3761, allocations: 37.99 MB / 307.3 MB, free: 9.891 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.001389/0.001389, allocations: 67.91 kB / 374.6 MB, free: 15.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.146/0.1474, allocations: 56.48 MB / 431 MB, free: 7.047 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe): time 0.01344/0.1609, allocations: 12.85 MB / 443.9 MB, free: 10.13 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00898/0.17, allocations: 5.668 MB / 449.6 MB, free: 4.449 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007455/0.1707, allocations: 19.88 kB / 449.6 MB, free: 4.43 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007556/0.1716, allocations: 175 kB / 449.7 MB, free: 4.258 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001945/0.1735, allocations: 0.6418 MB / 450.4 MB, free: 3.613 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004837/0.1784, allocations: 1.298 MB / 451.7 MB, free: 2.312 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002412/0.1808, allocations: 1.727 MB / 453.4 MB, free: 0.582 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004906/0.1813, allocations: 277.2 kB / 453.7 MB, free: 312 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2783/0.4596, allocations: 436.2 kB / 454.1 MB, free: 35.77 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001446/0.4611, allocations: 462 kB / 454.6 MB, free: 35.77 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001057/0.4613, allocations: 22.25 kB / 454.6 MB, free: 35.77 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002402/0.4637, allocations: 1.034 MB / 455.6 MB, free: 35.77 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002476/0.4639, allocations: 147.2 kB / 455.8 MB, free: 35.77 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000372/0.4643, allocations: 254.1 kB / 456 MB, free: 35.75 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001925/0.4662, allocations: 1.282 MB / 457.3 MB, free: 35.67 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.644e-06/0.4663, allocations: 0 / 457.3 MB, free: 35.67 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.4663, allocations: 0 / 457.3 MB, free: 35.67 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.846e-06/0.4663, allocations: 0 / 457.3 MB, free: 35.67 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.001986/0.4683, allocations: 0.9455 MB / 458.2 MB, free: 35.05 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.987e-05/0.4683, allocations: 10.03 kB / 458.2 MB, free: 35.05 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000258/0.4686, allocations: 56.12 kB / 458.3 MB, free: 35.03 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000569/0.4692, allocations: 444.5 kB / 458.7 MB, free: 34.78 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.595e-05/0.4692, allocations: 30.64 kB / 458.8 MB, free: 34.78 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.764e-05/0.4693, allocations: 26.97 kB / 458.8 MB, free: 34.78 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008331/0.4701, allocations: 0.5184 MB / 459.3 MB, free: 34.66 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/0.4702, allocations: 3.938 kB / 459.3 MB, free: 34.66 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.432e-05/0.4702, allocations: 15.41 kB / 459.3 MB, free: 34.66 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.077e-05/0.4703, allocations: 31.88 kB / 459.4 MB, free: 34.66 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000676/0.471, allocations: 462 kB / 459.8 MB, free: 34.66 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002991/0.474, allocations: 2.262 MB / 462.1 MB, free: 33.35 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003964/0.4744, allocations: 235.3 kB / 462.3 MB, free: 33.32 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001821/0.4746, allocations: 134.8 kB / 462.4 MB, free: 33.32 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009268/0.4755, allocations: 1.019 MB / 463.5 MB, free: 32.55 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003234/0.4758, allocations: 218.8 kB / 463.7 MB, free: 32.43 MB / 382.1 MB Notification: Performance of pre-optimization done (n=18): time 2.003e-06/0.4759, allocations: 0 / 463.7 MB, free: 32.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=18): time 0.0006234/0.4765, allocations: 389 kB / 464 MB, free: 32.34 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.401e-05/0.4766, allocations: 241.9 kB / 464.3 MB, free: 32.05 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005287/0.4771, allocations: 0.5175 MB / 464.8 MB, free: 31.93 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.045e-05/0.4772, allocations: 33.45 kB / 464.8 MB, free: 31.9 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001849/0.4773, allocations: 287.4 kB / 465.1 MB, free: 31.74 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.596e-05/0.4774, allocations: 64.09 kB / 465.2 MB, free: 31.71 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001332/0.4775, allocations: 92.62 kB / 465.3 MB, free: 31.69 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001066/0.4777, allocations: 360.4 kB / 465.6 MB, free: 31.38 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001997/0.4779, allocations: 134.7 kB / 465.7 MB, free: 31.37 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002948/0.4782, allocations: 320.1 kB / 466.1 MB, free: 31.16 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004485/0.4786, allocations: 456.3 kB / 466.5 MB, free: 30.93 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.4786, allocations: 0 / 466.5 MB, free: 30.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007156/0.4794, allocations: 0.5313 MB / 467 MB, free: 30.83 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.653e-05/0.4794, allocations: 43.2 kB / 467.1 MB, free: 30.8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/0.4794, allocations: 6.312 kB / 467.1 MB, free: 30.8 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.455e-05/0.4795, allocations: 13.67 kB / 467.1 MB, free: 30.79 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003054/0.4798, allocations: 78.52 kB / 467.2 MB, free: 30.79 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.52e-05/0.4798, allocations: 12.81 kB / 467.2 MB, free: 30.79 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003653/0.4802, allocations: 56.64 kB / 467.2 MB, free: 30.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.172e-05/0.4802, allocations: 21.69 kB / 467.3 MB, free: 30.77 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003002/0.4805, allocations: 266.7 kB / 467.5 MB, free: 30.68 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003025/0.4808, allocations: 319.7 kB / 467.8 MB, free: 30.46 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004408/0.4813, allocations: 458.7 kB / 468.3 MB, free: 30.23 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.124e-06/0.4813, allocations: 0 / 468.3 MB, free: 30.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0007279/0.482, allocations: 0.5199 MB / 468.8 MB, free: 30.13 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.618e-05/0.4821, allocations: 41.27 kB / 468.8 MB, free: 30.1 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.4821, allocations: 6.781 kB / 468.9 MB, free: 30.1 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.408e-06/0.4821, allocations: 11.3 kB / 468.9 MB, free: 30.1 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002609/0.4824, allocations: 78.89 kB / 468.9 MB, free: 30.1 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.4824, allocations: 10.34 kB / 469 MB, free: 30.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000374/0.4828, allocations: 45.02 kB / 469 MB, free: 30.08 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.707e-05/0.4828, allocations: 23.52 kB / 469 MB, free: 30.08 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.0001507/0.483, allocations: 244.5 kB / 469.3 MB, free: 29.86 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.774e-05/0.4831, allocations: 52.81 kB / 469.3 MB, free: 29.84 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005939/0.4837, allocations: 360 kB / 469.7 MB, free: 29.75 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.623e-06/0.4837, allocations: 3.062 kB / 469.7 MB, free: 29.75 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/0.4837, allocations: 0.6562 kB / 469.7 MB, free: 29.75 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.503e-06/0.4837, allocations: 7.406 kB / 469.7 MB, free: 29.75 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004081/0.4841, allocations: 413.9 kB / 470.1 MB, free: 29.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.4841, allocations: 0 / 470.1 MB, free: 29.55 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001083/0.4842, allocations: 28.11 kB / 470.1 MB, free: 29.55 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.4842, allocations: 3.125 kB / 470.1 MB, free: 29.55 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.907e-05/0.4843, allocations: 7.281 kB / 470.1 MB, free: 29.55 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.4843, allocations: 7.75 kB / 470.1 MB, free: 29.55 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.4843, allocations: 3.938 kB / 470.1 MB, free: 29.54 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004625/0.4848, allocations: 361.3 kB / 470.5 MB, free: 29.42 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.176e-05/0.4849, allocations: 120.5 kB / 470.6 MB, free: 29.3 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.632e-05/0.485, allocations: 14.11 kB / 470.6 MB, free: 29.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002299/0.4852, allocations: 17.09 kB / 470.6 MB, free: 29.3 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.987e-05/0.4852, allocations: 14.03 kB / 470.6 MB, free: 29.29 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2e-05/0.4853, allocations: 8.906 kB / 470.6 MB, free: 29.29 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003506/0.4856, allocations: 373.1 kB / 471 MB, free: 29.21 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4856, allocations: 0 / 471 MB, free: 29.21 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00122/0.4869, allocations: 421.5 kB / 471.4 MB, free: 29.15 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.0009767/0.4879, allocations: 416.2 kB / 471.8 MB, free: 29 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008627/0.4887, allocations: 0.6815 MB / 472.5 MB, free: 28.87 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.4887, allocations: 3.516 kB / 472.5 MB, free: 28.87 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001717/0.4889, allocations: 187.5 kB / 472.7 MB, free: 28.8 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009027/0.4898, allocations: 198.2 kB / 472.9 MB, free: 28.79 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001217/0.4911, allocations: 0.9531 MB / 473.8 MB, free: 28.32 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002657/0.4913, allocations: 0.8407 MB / 474.7 MB, free: 27.62 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005316/0.4919, allocations: 180.9 kB / 474.9 MB, free: 27.59 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001094/0.492, allocations: 41.5 kB / 474.9 MB, free: 27.58 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.492, allocations: 0 / 474.9 MB, free: 27.58 MB / 382.1 MB Notification: Performance of Templates: time 0.01971/0.5117, allocations: 11.71 MB / 486.6 MB, free: 26.8 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.makefile (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)