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.00115/0.00115, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001272/0.001273, allocations: 191.5 kB / 16.25 MB, free: 6.617 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.612/1.612, allocations: 205.1 MB / 222.1 MB, free: 4.715 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.4043/0.4043, allocations: 37.98 MB / 307.4 MB, free: 10.06 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.001484/0.001484, allocations: 66.62 kB / 374.7 MB, free: 15.53 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.1342, allocations: 56.47 MB / 431.2 MB, free: 6.961 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe): time 0.01369/0.1479, allocations: 12.83 MB / 444 MB, free: 10.07 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007478/0.1554, allocations: 5.461 MB / 449.5 MB, free: 4.59 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008309/0.1563, allocations: 23.81 kB / 449.5 MB, free: 4.566 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000835/0.1572, allocations: 179.1 kB / 449.7 MB, free: 4.391 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002412/0.1596, allocations: 0.6418 MB / 450.3 MB, free: 3.746 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004562/0.1642, allocations: 1.431 MB / 451.8 MB, free: 2.312 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001955/0.1662, allocations: 1.231 MB / 453 MB, free: 1.078 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006496/0.1668, allocations: 317.2 kB / 453.3 MB, free: 0.7617 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001054/0.1679, allocations: 0.4943 MB / 453.8 MB, free: 272 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2623/0.4302, allocations: 483.6 kB / 454.3 MB, free: 36.75 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002338/0.4305, allocations: 43.44 kB / 454.3 MB, free: 36.75 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002675/0.4332, allocations: 1.05 MB / 455.4 MB, free: 36.75 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002324/0.4335, allocations: 173.5 kB / 455.5 MB, free: 36.75 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004104/0.4339, allocations: 271 kB / 455.8 MB, free: 36.75 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001719/0.4356, allocations: 1.312 MB / 457.1 MB, free: 36.71 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.73e-06/0.4356, allocations: 0 / 457.1 MB, free: 36.71 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.4356, allocations: 0.7812 kB / 457.1 MB, free: 36.71 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.064e-05/0.4357, allocations: 0 / 457.1 MB, free: 36.71 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.001588/0.4372, allocations: 0.9474 MB / 458.1 MB, free: 36.1 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/0.4373, allocations: 13.95 kB / 458.1 MB, free: 36.09 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002352/0.4375, allocations: 60.2 kB / 458.1 MB, free: 36.07 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004854/0.438, allocations: 437.6 kB / 458.6 MB, free: 35.82 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.14e-05/0.4381, allocations: 25.94 kB / 458.6 MB, free: 35.82 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.48e-05/0.4381, allocations: 26.28 kB / 458.6 MB, free: 35.82 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007337/0.4389, allocations: 0.5267 MB / 459.1 MB, free: 35.7 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.4389, allocations: 0 / 459.1 MB, free: 35.7 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.878e-05/0.4389, allocations: 17.55 kB / 459.2 MB, free: 35.7 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-05/0.439, allocations: 31.05 kB / 459.2 MB, free: 35.7 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005788/0.4396, allocations: 465.6 kB / 459.6 MB, free: 35.7 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002633/0.4422, allocations: 2.251 MB / 461.9 MB, free: 34.39 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003677/0.4426, allocations: 238.4 kB / 462.1 MB, free: 34.37 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001843/0.4428, allocations: 135.8 kB / 462.3 MB, free: 34.36 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008978/0.4437, allocations: 1.013 MB / 463.3 MB, free: 33.59 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002709/0.444, allocations: 225.7 kB / 463.5 MB, free: 33.48 MB / 382.1 MB Notification: Performance of pre-optimization done (n=18): time 1.262e-06/0.444, allocations: 0 / 463.5 MB, free: 33.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=18): time 0.0005859/0.4446, allocations: 384 kB / 463.9 MB, free: 33.39 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.086e-05/0.4447, allocations: 241.5 kB / 464.1 MB, free: 33.11 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004817/0.4452, allocations: 0.5127 MB / 464.6 MB, free: 32.98 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.857e-05/0.4452, allocations: 27.77 kB / 464.6 MB, free: 32.95 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001537/0.4454, allocations: 287.3 kB / 464.9 MB, free: 32.8 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.866e-05/0.4454, allocations: 71.73 kB / 465 MB, free: 32.75 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000131/0.4456, allocations: 98.62 kB / 465.1 MB, free: 32.73 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.187e-05/0.4457, allocations: 356.1 kB / 465.4 MB, free: 32.42 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001845/0.4459, allocations: 140.8 kB / 465.6 MB, free: 32.41 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002582/0.4461, allocations: 312.8 kB / 465.9 MB, free: 32.21 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004183/0.4466, allocations: 464.2 kB / 466.3 MB, free: 31.97 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.4466, allocations: 7.031 kB / 466.3 MB, free: 31.97 MB / 382.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.000644/0.4472, allocations: 0.5322 MB / 466.9 MB, free: 31.88 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.51e-05/0.4473, allocations: 48.11 kB / 466.9 MB, free: 31.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.4473, allocations: 2.969 kB / 466.9 MB, free: 31.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/0.4473, allocations: 5.969 kB / 466.9 MB, free: 31.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002711/0.4476, allocations: 77.02 kB / 467 MB, free: 31.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.118e-05/0.4476, allocations: 11.91 kB / 467 MB, free: 31.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003497/0.448, allocations: 59.67 kB / 467.1 MB, free: 31.81 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.772e-05/0.448, allocations: 19.19 kB / 467.1 MB, free: 31.81 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002785/0.4483, allocations: 266.9 kB / 467.4 MB, free: 31.73 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002544/0.4486, allocations: 318.2 kB / 467.7 MB, free: 31.51 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004075/0.449, allocations: 467.4 kB / 468.1 MB, free: 31.27 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.426e-06/0.449, allocations: 3.125 kB / 468.1 MB, free: 31.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0006354/0.4496, allocations: 0.5185 MB / 468.6 MB, free: 31.18 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.588e-05/0.4497, allocations: 43.06 kB / 468.7 MB, free: 31.14 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.4497, allocations: 10.59 kB / 468.7 MB, free: 31.14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.013e-06/0.4497, allocations: 6.656 kB / 468.7 MB, free: 31.14 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002426/0.4499, allocations: 73.86 kB / 468.8 MB, free: 31.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.797e-06/0.4499, allocations: 12.67 kB / 468.8 MB, free: 31.14 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003687/0.4503, allocations: 47.45 kB / 468.8 MB, free: 31.12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.266e-05/0.4504, allocations: 23.19 kB / 468.9 MB, free: 31.12 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.0001456/0.4505, allocations: 238.6 kB / 469.1 MB, free: 30.91 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.569e-05/0.4506, allocations: 53.28 kB / 469.1 MB, free: 30.88 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005659/0.4512, allocations: 358.6 kB / 469.5 MB, free: 30.8 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.4512, allocations: 3.062 kB / 469.5 MB, free: 30.8 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.4512, allocations: 4 kB / 469.5 MB, free: 30.79 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.4512, allocations: 7.406 kB / 469.5 MB, free: 30.79 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003548/0.4515, allocations: 412.3 kB / 469.9 MB, free: 30.6 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.4516, allocations: 3.094 kB / 469.9 MB, free: 30.6 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001075/0.4517, allocations: 25.22 kB / 469.9 MB, free: 30.6 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.4517, allocations: 0 / 469.9 MB, free: 30.6 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.074e-05/0.4517, allocations: 6.625 kB / 469.9 MB, free: 30.6 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.4517, allocations: 0.75 kB / 469.9 MB, free: 30.6 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.4517, allocations: 6.844 kB / 470 MB, free: 30.59 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004535/0.4522, allocations: 370.9 kB / 470.3 MB, free: 30.46 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.699e-05/0.4523, allocations: 116.9 kB / 470.4 MB, free: 30.35 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.147e-05/0.4524, allocations: 13.22 kB / 470.4 MB, free: 30.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002393/0.4526, allocations: 19.02 kB / 470.5 MB, free: 30.34 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.923e-05/0.4527, allocations: 8.078 kB / 470.5 MB, free: 30.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.251e-05/0.4527, allocations: 11.09 kB / 470.5 MB, free: 30.34 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003454/0.4531, allocations: 370 kB / 470.8 MB, free: 30.25 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4531, allocations: 0 / 470.8 MB, free: 30.25 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001362/0.4544, allocations: 430.2 kB / 471.3 MB, free: 30.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.001002/0.4555, allocations: 424.6 kB / 471.7 MB, free: 30.05 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009106/0.4564, allocations: 0.6975 MB / 472.4 MB, free: 29.91 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.4564, allocations: 0 / 472.4 MB, free: 29.91 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001766/0.4566, allocations: 190.2 kB / 472.6 MB, free: 29.84 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009292/0.4575, allocations: 208.8 kB / 472.8 MB, free: 29.83 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001388/0.4589, allocations: 0.9526 MB / 473.7 MB, free: 29.36 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002914/0.4592, allocations: 0.8442 MB / 474.6 MB, free: 28.66 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004918/0.4597, allocations: 167.7 kB / 474.7 MB, free: 28.63 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.737e-05/0.4598, allocations: 37.91 kB / 474.8 MB, free: 28.62 MB / 382.1 MB Notification: Performance of SimCode: time 5.51e-07/0.4598, allocations: 0 / 474.8 MB, free: 28.62 MB / 382.1 MB Notification: Performance of Templates: time 0.02498/0.4848, allocations: 12.04 MB / 486.8 MB, free: 27.81 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)