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.0007322/0.0007323, allocations: 86.41 kB / 15.06 MB, free: 1.09 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.0007927/0.0007928, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.254/1.254, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.2745/0.2745, allocations: 38.04 MB / 308.4 MB, free: 10.44 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.0005275/0.0005276, allocations: 12 kB / 376.4 MB, free: 15.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1088, allocations: 57.51 MB / 434 MB, free: 5.543 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe): time 0.01095/0.1198, allocations: 11.74 MB / 445.7 MB, free: 9.754 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006439/0.1263, allocations: 5.103 MB / 450.8 MB, free: 4.641 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005817/0.127, allocations: 19.88 kB / 450.8 MB, free: 4.621 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005891/0.1276, allocations: 162.9 kB / 451 MB, free: 4.461 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.001628/0.1292, allocations: 0.6259 MB / 451.6 MB, free: 3.832 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003056/0.1323, allocations: 1.188 MB / 452.8 MB, free: 2.641 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001678/0.134, allocations: 1.438 MB / 454.2 MB, free: 1.199 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004145/0.1344, allocations: 261.4 kB / 454.5 MB, free: 0.9375 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006705/0.1351, allocations: 462.3 kB / 454.9 MB, free: 496 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005752/0.1356, allocations: 446.4 kB / 455.4 MB, free: 48 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.254e-05/0.1357, allocations: 24 kB / 455.4 MB, free: 24 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1843/0.32, allocations: 0.933 MB / 456.3 MB, free: 35.1 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002038/0.3202, allocations: 139.8 kB / 456.5 MB, free: 35.1 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001621/0.3204, allocations: 119.2 kB / 456.6 MB, free: 35.07 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007931/0.3212, allocations: 0.9001 MB / 457.5 MB, free: 35.05 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.3212, allocations: 0 / 457.5 MB, free: 35.05 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.3212, allocations: 0 / 457.5 MB, free: 35.05 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.152e-06/0.3212, allocations: 0 / 457.5 MB, free: 35.05 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.001173/0.3224, allocations: 0.8581 MB / 458.3 MB, free: 34.45 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.245e-05/0.3225, allocations: 12.56 kB / 458.4 MB, free: 34.45 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002064/0.3227, allocations: 63.69 kB / 458.4 MB, free: 34.42 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004422/0.3231, allocations: 423.6 kB / 458.8 MB, free: 34.18 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.969e-05/0.3232, allocations: 29.44 kB / 458.9 MB, free: 34.18 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.412e-05/0.3232, allocations: 29.28 kB / 458.9 MB, free: 34.18 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006093/0.3238, allocations: 0.5193 MB / 459.4 MB, free: 34.07 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.3239, allocations: 0 / 459.4 MB, free: 34.07 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.165e-05/0.3239, allocations: 16.22 kB / 459.4 MB, free: 34.07 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.001e-05/0.324, allocations: 30.03 kB / 459.5 MB, free: 34.07 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005868/0.3245, allocations: 462.8 kB / 459.9 MB, free: 34.07 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002272/0.3268, allocations: 2.256 MB / 462.2 MB, free: 32.77 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000359/0.3272, allocations: 234.4 kB / 462.4 MB, free: 32.74 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001662/0.3274, allocations: 136.2 kB / 462.5 MB, free: 32.73 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007615/0.3281, allocations: 1.023 MB / 463.6 MB, free: 31.96 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002259/0.3284, allocations: 212.8 kB / 463.8 MB, free: 31.85 MB / 382.1 MB Notification: Performance of pre-optimization done (n=18): time 1.182e-06/0.3284, allocations: 0 / 463.8 MB, free: 31.85 MB / 382.1 MB Notification: Performance of matching and sorting (n=18): time 0.0004916/0.3289, allocations: 382.8 kB / 464.1 MB, free: 31.76 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.895e-05/0.329, allocations: 237.7 kB / 464.4 MB, free: 31.48 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004692/0.3294, allocations: 0.5116 MB / 464.9 MB, free: 31.36 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.393e-05/0.3295, allocations: 31.42 kB / 464.9 MB, free: 31.32 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001572/0.3296, allocations: 296.7 kB / 465.2 MB, free: 31.16 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.746e-05/0.3297, allocations: 60.02 kB / 465.3 MB, free: 31.13 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.842e-05/0.3297, allocations: 6.688 kB / 465.3 MB, free: 31.13 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.267e-05/0.3298, allocations: 356.3 kB / 465.6 MB, free: 30.82 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001672/0.3299, allocations: 132.2 kB / 465.7 MB, free: 30.82 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002222/0.3302, allocations: 303 kB / 466 MB, free: 30.61 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002129/0.3304, allocations: 204.5 kB / 466.2 MB, free: 30.57 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.3304, allocations: 7.125 kB / 466.2 MB, free: 30.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0005826/0.331, allocations: 0.5195 MB / 466.8 MB, free: 30.47 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.565e-05/0.3311, allocations: 257.5 kB / 467 MB, free: 30.19 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.3311, allocations: 5.781 kB / 467 MB, free: 30.19 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.3311, allocations: 7.25 kB / 467 MB, free: 30.19 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002659/0.3314, allocations: 78.95 kB / 467.1 MB, free: 30.19 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/0.3314, allocations: 8.844 kB / 467.1 MB, free: 30.19 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003101/0.3317, allocations: 54.94 kB / 467.2 MB, free: 30.17 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.236e-05/0.3318, allocations: 22.06 kB / 467.2 MB, free: 30.17 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.22e-06/0.3318, allocations: 9.656 kB / 467.2 MB, free: 30.16 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005438/0.3323, allocations: 485.4 kB / 467.7 MB, free: 30.12 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.3323, allocations: 7.406 kB / 467.7 MB, free: 30.12 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.951e-06/0.3323, allocations: 12.89 kB / 467.7 MB, free: 30.12 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002289/0.3326, allocations: 78.73 kB / 467.8 MB, free: 30.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.3326, allocations: 6.375 kB / 467.8 MB, free: 30.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002641/0.3329, allocations: 48.92 kB / 467.8 MB, free: 30.1 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.664e-05/0.3329, allocations: 20.03 kB / 467.8 MB, free: 30.1 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 ($whenCondition1,p_table.a,p_table.b,p_table.last,$PRE.p_table.nextEvent,p_table.nextEvent,p_table.nextEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001722/0.3331, allocations: 299.5 kB / 468.1 MB, free: 29.88 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.171e-05/0.3331, allocations: 56.91 kB / 468.2 MB, free: 29.85 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004537/0.3336, allocations: 369.7 kB / 468.5 MB, free: 29.76 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.3336, allocations: 2.953 kB / 468.6 MB, free: 29.76 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.3336, allocations: 0 / 468.6 MB, free: 29.76 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.3336, allocations: 3.141 kB / 468.6 MB, free: 29.76 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002732/0.3339, allocations: 414.2 kB / 469 MB, free: 29.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.3339, allocations: 0 / 469 MB, free: 29.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001013/0.334, allocations: 29.55 kB / 469 MB, free: 29.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.334, allocations: 5.094 kB / 469 MB, free: 29.57 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.657e-05/0.334, allocations: 6.938 kB / 469 MB, free: 29.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.3341, allocations: 3.953 kB / 469 MB, free: 29.56 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3341, allocations: 0 / 469 MB, free: 29.56 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003624/0.3344, allocations: 366 kB / 469.4 MB, free: 29.44 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.536e-05/0.3345, allocations: 125.8 kB / 469.5 MB, free: 29.32 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.077e-05/0.3346, allocations: 5.719 kB / 469.5 MB, free: 29.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002112/0.3348, allocations: 29.58 kB / 469.5 MB, free: 29.31 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.967e-05/0.3349, allocations: 9.719 kB / 469.5 MB, free: 29.31 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.955e-05/0.3349, allocations: 13.66 kB / 469.5 MB, free: 29.31 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003067/0.3352, allocations: 367.5 kB / 469.9 MB, free: 29.22 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3352, allocations: 0 / 469.9 MB, free: 29.22 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008157/0.336, allocations: 423.6 kB / 470.3 MB, free: 29.16 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006943/0.3367, allocations: 412.6 kB / 470.7 MB, free: 29.02 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006895/0.3374, allocations: 0.662 MB / 471.4 MB, free: 28.88 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.3374, allocations: 0 / 471.4 MB, free: 28.88 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001476/0.3376, allocations: 183.8 kB / 471.6 MB, free: 28.82 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007471/0.3383, allocations: 209.1 kB / 471.8 MB, free: 28.8 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009851/0.3393, allocations: 0.9623 MB / 472.7 MB, free: 28.36 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002052/0.3396, allocations: 0.8395 MB / 473.6 MB, free: 27.66 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004437/0.34, allocations: 175.5 kB / 473.7 MB, free: 27.62 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.566e-05/0.3401, allocations: 40.28 kB / 473.8 MB, free: 27.62 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3401, allocations: 0 / 473.8 MB, free: 27.62 MB / 382.1 MB Notification: Performance of Templates: time 0.0155/0.3556, allocations: 11.36 MB / 485.1 MB, free: 26.82 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: