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.001565/0.001565, 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.00172/0.00172, allocations: 195.2 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.384/1.384, allocations: 205.1 MB / 222.4 MB, free: 4.617 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.3335/0.3335, allocations: 39.94 MB / 309.7 MB, free: 9.277 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.001457/0.001457, allocations: 66.56 kB / 377.6 MB, free: 12.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1473/0.1488, allocations: 56.88 MB / 434.5 MB, free: 3.688 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe): time 0.01375/0.1626, allocations: 12.59 MB / 447.1 MB, free: 7.039 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007625/0.1703, allocations: 5.417 MB / 452.5 MB, free: 1.609 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005531/0.1709, allocations: 19.88 kB / 452.5 MB, free: 1.59 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006308/0.1716, allocations: 206.6 kB / 452.7 MB, free: 1.387 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001668/0.1733, allocations: 0.6803 MB / 453.4 MB, free: 0.7031 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2779/0.4512, allocations: 1.555 MB / 455 MB, free: 37.52 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001572/0.4528, allocations: 1.235 MB / 456.2 MB, free: 37.52 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004056/0.4532, allocations: 317.7 kB / 456.5 MB, free: 37.52 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007119/0.4539, allocations: 499.8 kB / 457 MB, free: 37.52 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000595/0.4545, allocations: 463.1 kB / 457.4 MB, free: 37.48 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.128e-05/0.4546, allocations: 41.31 kB / 457.5 MB, free: 37.48 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002253/0.4569, allocations: 1.049 MB / 458.5 MB, free: 37.48 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002376/0.4571, allocations: 165.6 kB / 458.7 MB, free: 37.46 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003657/0.4575, allocations: 272 kB / 459 MB, free: 37.39 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002409/0.4599, allocations: 1.3 MB / 460.3 MB, free: 37.29 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.4599, allocations: 0.7188 kB / 460.3 MB, free: 37.29 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.46, allocations: 0 / 460.3 MB, free: 37.29 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.187e-05/0.46, allocations: 0.5938 kB / 460.3 MB, free: 37.29 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.00191/0.4619, allocations: 0.9518 MB / 461.2 MB, free: 36.66 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.224e-05/0.462, allocations: 13.58 kB / 461.2 MB, free: 36.65 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002582/0.4622, allocations: 62.06 kB / 461.3 MB, free: 36.62 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005895/0.4628, allocations: 438.8 kB / 461.7 MB, free: 36.38 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.815e-05/0.4629, allocations: 23.12 kB / 461.7 MB, free: 36.38 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.322e-05/0.4629, allocations: 28.94 kB / 461.8 MB, free: 36.38 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007612/0.4637, allocations: 0.5258 MB / 462.3 MB, free: 36.26 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.673e-05/0.4637, allocations: 0 / 462.3 MB, free: 36.26 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.381e-05/0.4638, allocations: 15.28 kB / 462.3 MB, free: 36.26 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-05/0.4638, allocations: 34.67 kB / 462.3 MB, free: 36.25 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006353/0.4645, allocations: 463.8 kB / 462.8 MB, free: 36.25 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002749/0.4672, allocations: 2.258 MB / 465.1 MB, free: 34.93 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004151/0.4677, allocations: 238.3 kB / 465.3 MB, free: 34.9 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001798/0.4679, allocations: 134.9 kB / 465.4 MB, free: 34.89 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009672/0.4688, allocations: 1.021 MB / 466.4 MB, free: 34.13 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002831/0.4691, allocations: 216.7 kB / 466.7 MB, free: 34.01 MB / 382.1 MB Notification: Performance of pre-optimization done (n=18): time 1.473e-06/0.4692, allocations: 0 / 466.7 MB, free: 34.01 MB / 382.1 MB Notification: Performance of matching and sorting (n=18): time 0.0006399/0.4698, allocations: 383.1 kB / 467 MB, free: 33.92 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.625e-05/0.4699, allocations: 242 kB / 467.3 MB, free: 33.64 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005255/0.4704, allocations: 0.5231 MB / 467.8 MB, free: 33.51 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.264e-05/0.4705, allocations: 29.39 kB / 467.8 MB, free: 33.48 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001946/0.4707, allocations: 291.3 kB / 468.1 MB, free: 33.32 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.752e-05/0.4707, allocations: 54.92 kB / 468.2 MB, free: 33.29 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001369/0.4709, allocations: 98.12 kB / 468.2 MB, free: 33.27 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000114/0.471, allocations: 362.6 kB / 468.6 MB, free: 32.95 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002013/0.4712, allocations: 134.2 kB / 468.7 MB, free: 32.95 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00032/0.4715, allocations: 319.3 kB / 469 MB, free: 32.73 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000447/0.472, allocations: 462.8 kB / 469.5 MB, free: 32.5 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.472, allocations: 3.281 kB / 469.5 MB, free: 32.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.000743/0.4727, allocations: 0.5345 MB / 470 MB, free: 32.39 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.074e-05/0.4728, allocations: 46.44 kB / 470.1 MB, free: 32.35 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.4728, allocations: 3.062 kB / 470.1 MB, free: 32.35 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.445e-05/0.4728, allocations: 6.062 kB / 470.1 MB, free: 32.35 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003058/0.4731, allocations: 70.78 kB / 470.2 MB, free: 32.35 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.278e-05/0.4732, allocations: 14.06 kB / 470.2 MB, free: 32.35 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000377/0.4736, allocations: 58.91 kB / 470.2 MB, free: 32.31 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.987e-05/0.4736, allocations: 24.58 kB / 470.3 MB, free: 32.31 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003007/0.4739, allocations: 266.4 kB / 470.5 MB, free: 32.16 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003087/0.4742, allocations: 310.2 kB / 470.8 MB, free: 31.89 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004328/0.4747, allocations: 458.7 kB / 471.3 MB, free: 31.55 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.966e-06/0.4747, allocations: 2.75 kB / 471.3 MB, free: 31.55 MB / 382.1 MB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0006611/0.4753, allocations: 0.5236 MB / 471.8 MB, free: 31.33 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.933e-05/0.4754, allocations: 36.7 kB / 471.8 MB, free: 31.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.4754, allocations: 10.25 kB / 471.8 MB, free: 31.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.414e-06/0.4754, allocations: 6.25 kB / 471.8 MB, free: 31.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002546/0.4757, allocations: 80.06 kB / 471.9 MB, free: 31.29 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.235e-06/0.4757, allocations: 11.28 kB / 471.9 MB, free: 31.29 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003668/0.4761, allocations: 41.84 kB / 472 MB, free: 31.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.158e-05/0.4761, allocations: 26.09 kB / 472 MB, free: 31.27 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.000155/0.4763, allocations: 249.1 kB / 472.2 MB, free: 31.04 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.32e-05/0.4763, allocations: 53.19 kB / 472.3 MB, free: 31.01 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005449/0.4769, allocations: 356.8 kB / 472.6 MB, free: 30.84 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.4769, allocations: 2.875 kB / 472.6 MB, free: 30.84 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.4769, allocations: 0 / 472.6 MB, free: 30.84 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.134e-06/0.4769, allocations: 3.938 kB / 472.6 MB, free: 30.84 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003293/0.4773, allocations: 417.6 kB / 473.1 MB, free: 30.56 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.4773, allocations: 0 / 473.1 MB, free: 30.56 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001075/0.4774, allocations: 29.09 kB / 473.1 MB, free: 30.56 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.4774, allocations: 3.281 kB / 473.1 MB, free: 30.56 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.749e-05/0.4774, allocations: 3.375 kB / 473.1 MB, free: 30.56 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.4774, allocations: 6.281 kB / 473.1 MB, free: 30.56 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.4774, allocations: 3.938 kB / 473.1 MB, free: 30.55 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004049/0.4778, allocations: 366.2 kB / 473.5 MB, free: 30.36 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.988e-05/0.4779, allocations: 128.4 kB / 473.6 MB, free: 30.23 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.589e-05/0.478, allocations: 7 kB / 473.6 MB, free: 30.22 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002131/0.4782, allocations: 9.609 kB / 473.6 MB, free: 30.22 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.713e-05/0.4783, allocations: 17.12 kB / 473.6 MB, free: 30.22 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.944e-05/0.4783, allocations: 6.219 kB / 473.6 MB, free: 30.22 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003445/0.4787, allocations: 378.5 kB / 474 MB, free: 30.05 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4787, allocations: 0 / 474 MB, free: 30.05 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001069/0.4798, allocations: 425.2 kB / 474.4 MB, free: 29.97 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.0008805/0.4806, allocations: 430.2 kB / 474.8 MB, free: 29.8 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000883/0.4815, allocations: 0.6924 MB / 475.5 MB, free: 29.49 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.4816, allocations: 4.312 kB / 475.5 MB, free: 29.49 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001517/0.4817, allocations: 183.8 kB / 475.7 MB, free: 29.38 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009003/0.4826, allocations: 196.2 kB / 475.9 MB, free: 29.34 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001124/0.4838, allocations: 0.8284 MB / 476.7 MB, free: 28.92 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000226/0.484, allocations: 0.8436 MB / 477.6 MB, free: 28.21 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004982/0.4845, allocations: 176.7 kB / 477.7 MB, free: 28.17 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.418e-05/0.4846, allocations: 43.38 kB / 477.8 MB, free: 28.16 MB / 382.1 MB Notification: Performance of SimCode: time 4.21e-07/0.4846, allocations: 0 / 477.8 MB, free: 28.16 MB / 382.1 MB Notification: Performance of Templates: time 0.02506/0.5097, allocations: 12.09 MB / 489.9 MB, free: 27.29 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)