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.007404/0.007404, allocations: 103 kB / 15.73 MB, free: 6.051 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.001731/0.001731, allocations: 197.6 kB / 16.68 MB, free: 5.98 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.492/1.492, allocations: 205.1 MB / 222.5 MB, free: 4.508 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.3716/0.3716, allocations: 37.99 MB / 307.9 MB, free: 10.07 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.001946/0.001946, allocations: 67.84 kB / 433 MB, free: 5.398 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4082/0.4102, allocations: 56.46 MB / 489.5 MB, free: 20.26 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe): time 0.01362/0.4238, allocations: 12.6 MB / 0.4903 GB, free: 11.21 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007581/0.4315, allocations: 5.423 MB / 0.4956 GB, free: 7.418 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000543/0.432, allocations: 11.91 kB / 0.4956 GB, free: 7.414 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008931/0.433, allocations: 211 kB / 0.4958 GB, free: 7.289 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002019/0.435, allocations: 0.6944 MB / 0.4965 GB, free: 6.906 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004384/0.4394, allocations: 1.549 MB / 0.498 GB, free: 6.211 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001559/0.441, allocations: 1.238 MB / 0.4992 GB, free: 5.664 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005252/0.4415, allocations: 321.3 kB / 0.4995 GB, free: 5.531 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008104/0.4424, allocations: 0.5014 MB / 0.5 GB, free: 5.324 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006333/0.443, allocations: 466.7 kB / 0.5004 GB, free: 5.09 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.407e-05/0.4431, allocations: 42.78 kB / 0.5005 GB, free: 5.09 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001865/0.445, allocations: 1.064 MB / 0.5015 GB, free: 4.508 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002045/0.4452, allocations: 164.4 kB / 0.5017 GB, free: 4.395 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002797/0.4455, allocations: 273.8 kB / 0.5019 GB, free: 4.223 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001648/0.4471, allocations: 1.312 MB / 0.5032 GB, free: 3.398 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.4471, allocations: 0 / 0.5032 GB, free: 3.398 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.4472, allocations: 0 / 0.5032 GB, free: 3.398 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.828e-06/0.4472, allocations: 0 / 0.5032 GB, free: 3.398 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.001675/0.4488, allocations: 0.9543 MB / 0.5041 GB, free: 2.598 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/0.4489, allocations: 13.92 kB / 0.5042 GB, free: 2.594 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002629/0.4492, allocations: 60.17 kB / 0.5042 GB, free: 2.566 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006286/0.4498, allocations: 463.9 kB / 0.5047 GB, free: 2.168 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.614e-05/0.4499, allocations: 25.64 kB / 0.5047 GB, free: 2.152 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.688e-05/0.4499, allocations: 27.03 kB / 0.5047 GB, free: 2.145 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000797/0.4507, allocations: 0.5249 MB / 0.5052 GB, free: 1.793 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.695e-05/0.4507, allocations: 3.938 kB / 0.5052 GB, free: 1.789 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.587e-05/0.4508, allocations: 12.66 kB / 0.5052 GB, free: 1.781 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.696e-05/0.4509, allocations: 33.42 kB / 0.5053 GB, free: 1.766 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007451/0.4516, allocations: 463.3 kB / 0.5057 GB, free: 1.543 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002878/0.4545, allocations: 2.247 MB / 0.5079 GB, free: 15.58 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004547/0.455, allocations: 241.8 kB / 0.5081 GB, free: 15.44 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002435/0.4552, allocations: 136.2 kB / 0.5083 GB, free: 15.37 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001199/0.4564, allocations: 1.032 MB / 0.5093 GB, free: 14.35 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003346/0.4568, allocations: 217.5 kB / 0.5095 GB, free: 14.16 MB / 398.1 MB Notification: Performance of pre-optimization done (n=18): time 1.372e-06/0.4568, allocations: 0 / 0.5095 GB, free: 14.16 MB / 398.1 MB Notification: Performance of matching and sorting (n=18): time 0.0007365/0.4575, allocations: 385.3 kB / 0.5098 GB, free: 13.95 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001398/0.4577, allocations: 243.5 kB / 0.5101 GB, free: 13.66 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007153/0.4584, allocations: 0.5158 MB / 0.5106 GB, free: 13.35 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.035e-05/0.4585, allocations: 27.14 kB / 0.5106 GB, free: 13.32 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002473/0.4587, allocations: 284.8 kB / 0.5109 GB, free: 13.07 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.443e-05/0.4588, allocations: 61.81 kB / 0.5109 GB, free: 13.02 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001782/0.459, allocations: 95.77 kB / 0.511 GB, free: 12.96 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001604/0.4591, allocations: 358.2 kB / 0.5114 GB, free: 12.61 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002326/0.4594, allocations: 140.2 kB / 0.5115 GB, free: 12.54 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003804/0.4598, allocations: 311.3 kB / 0.5118 GB, free: 12.24 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006131/0.4604, allocations: 455.5 kB / 0.5122 GB, free: 11.87 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/0.4604, allocations: 1.281 kB / 0.5122 GB, free: 11.87 MB / 398.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0009379/0.4614, allocations: 0.5369 MB / 0.5128 GB, free: 11.57 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.058e-05/0.4614, allocations: 42.41 kB / 0.5128 GB, free: 11.54 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.4614, allocations: 9.062 kB / 0.5128 GB, free: 11.54 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.607e-05/0.4615, allocations: 6.938 kB / 0.5128 GB, free: 11.54 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003254/0.4618, allocations: 79.66 kB / 0.5129 GB, free: 11.52 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.865e-05/0.4618, allocations: 9.719 kB / 0.5129 GB, free: 11.51 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003948/0.4622, allocations: 58.98 kB / 0.513 GB, free: 11.47 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.112e-05/0.4623, allocations: 20.69 kB / 0.513 GB, free: 11.47 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003672/0.4627, allocations: 265.2 kB / 0.5132 GB, free: 11.3 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003814/0.4631, allocations: 329.7 kB / 0.5135 GB, free: 10.98 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005662/0.4636, allocations: 453.4 kB / 0.514 GB, free: 10.6 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.687e-06/0.4636, allocations: 2.125 kB / 0.514 GB, free: 10.6 MB / 398.1 MB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0009087/0.4646, allocations: 0.5182 MB / 0.5145 GB, free: 10.32 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.714e-05/0.4646, allocations: 39.22 kB / 0.5145 GB, free: 10.28 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.4646, allocations: 5.062 kB / 0.5145 GB, free: 10.28 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.4647, allocations: 6.938 kB / 0.5145 GB, free: 10.28 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003005/0.465, allocations: 83.75 kB / 0.5146 GB, free: 10.26 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.3e-05/0.465, allocations: 14.48 kB / 0.5146 GB, free: 10.25 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003719/0.4654, allocations: 45.36 kB / 0.5147 GB, free: 10.22 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.054e-05/0.4654, allocations: 20.69 kB / 0.5147 GB, free: 10.22 MB / 398.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.0002082/0.4656, allocations: 245 kB / 0.5149 GB, free: 9.98 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.402e-05/0.4657, allocations: 49.62 kB / 0.515 GB, free: 9.957 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000667/0.4664, allocations: 357.7 kB / 0.5153 GB, free: 9.742 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.245e-06/0.4664, allocations: 10.28 kB / 0.5153 GB, free: 9.734 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.4664, allocations: 0 / 0.5153 GB, free: 9.734 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.4664, allocations: 1.531 kB / 0.5153 GB, free: 9.734 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004585/0.4669, allocations: 411.2 kB / 0.5157 GB, free: 9.375 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.4669, allocations: 0 / 0.5157 GB, free: 9.375 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001168/0.467, allocations: 28.61 kB / 0.5157 GB, free: 9.367 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.467, allocations: 1.625 kB / 0.5157 GB, free: 9.367 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.132e-05/0.4671, allocations: 6.5 kB / 0.5158 GB, free: 9.363 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.4671, allocations: 5.703 kB / 0.5158 GB, free: 9.359 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.4671, allocations: 0 / 0.5158 GB, free: 9.359 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005715/0.4677, allocations: 370.4 kB / 0.5161 GB, free: 9.129 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001215/0.4678, allocations: 125.6 kB / 0.5162 GB, free: 9 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.649e-05/0.4679, allocations: 11.84 kB / 0.5162 GB, free: 8.992 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002161/0.4681, allocations: 5.312 kB / 0.5162 GB, free: 8.992 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.567e-05/0.4682, allocations: 18.23 kB / 0.5163 GB, free: 8.98 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.441e-05/0.4682, allocations: 14.05 kB / 0.5163 GB, free: 8.973 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004591/0.4687, allocations: 373.5 kB / 0.5166 GB, free: 8.754 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4687, allocations: 4 kB / 0.5166 GB, free: 8.75 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00152/0.4702, allocations: 431.4 kB / 0.5171 GB, free: 8.656 MB / 398.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.001439/0.4717, allocations: 416.9 kB / 0.5174 GB, free: 8.426 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001681/0.4733, allocations: 0.6799 MB / 0.5181 GB, free: 8.027 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.4734, allocations: 0 / 0.5181 GB, free: 8.027 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000322/0.4737, allocations: 180.2 kB / 0.5183 GB, free: 7.906 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001186/0.4749, allocations: 217.1 kB / 0.5185 GB, free: 7.789 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002382/0.4773, allocations: 0.8063 MB / 0.5193 GB, free: 7.305 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006098/0.4779, allocations: 0.8459 MB / 0.5201 GB, free: 6.523 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0006521/0.4786, allocations: 165.1 kB / 0.5203 GB, free: 6.445 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001392/0.4787, allocations: 41.97 kB / 0.5203 GB, free: 6.438 MB / 398.1 MB Notification: Performance of SimCode: time 1.062e-06/0.4787, allocations: 0 / 0.5203 GB, free: 6.438 MB / 398.1 MB Notification: Performance of Templates: time 0.02576/0.5045, allocations: 12.16 MB / 0.5322 GB, free: 11.07 MB / 414.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)