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.009041/0.009041, allocations: 104.5 kB / 15.74 MB, free: 5.598 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.001604/0.001604, allocations: 191.8 kB / 16.67 MB, free: 5.527 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.421/1.421, allocations: 205.1 MB / 222.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.2233/0.2233, allocations: 38.01 MB / 307.9 MB, free: 5.973 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.001449/0.001449, allocations: 64.28 kB / 433 MB, free: 14.42 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1649/0.1664, allocations: 56.47 MB / 489.5 MB, free: 5.875 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe): time 0.01651/0.183, allocations: 12.59 MB / 0.4903 GB, free: 9.223 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009649/0.1927, allocations: 5.425 MB / 0.4956 GB, free: 3.781 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008534/0.1937, allocations: 11.94 kB / 0.4956 GB, free: 3.77 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009667/0.1946, allocations: 206.6 kB / 0.4958 GB, free: 3.566 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002247/0.1969, allocations: 0.6842 MB / 0.4965 GB, free: 2.879 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004776/0.2017, allocations: 1.562 MB / 0.498 GB, free: 1.312 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001985/0.2037, allocations: 1.231 MB / 0.4992 GB, free: 80 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005243/0.2042, allocations: 325.3 kB / 0.4995 GB, free: 15.75 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000807/0.205, allocations: 0.4944 MB / 0.5 GB, free: 15.26 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006668/0.2057, allocations: 462.4 kB / 0.5004 GB, free: 14.8 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.484e-05/0.2058, allocations: 44 kB / 0.5005 GB, free: 14.76 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002311/0.2081, allocations: 1.065 MB / 0.5015 GB, free: 13.7 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001967/0.2083, allocations: 159.5 kB / 0.5017 GB, free: 13.54 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002848/0.2086, allocations: 278.7 kB / 0.5019 GB, free: 13.27 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001998/0.2106, allocations: 1.305 MB / 0.5032 GB, free: 11.96 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.2106, allocations: 4 kB / 0.5032 GB, free: 11.95 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.2107, allocations: 0 / 0.5032 GB, free: 11.95 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.848e-06/0.2107, allocations: 0 / 0.5032 GB, free: 11.95 MB / 398.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.001942/0.2126, allocations: 0.952 MB / 0.5041 GB, free: 10.95 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.467e-05/0.2127, allocations: 11.89 kB / 0.5041 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002816/0.213, allocations: 68.36 kB / 0.5042 GB, free: 10.87 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007432/0.2137, allocations: 465.3 kB / 0.5046 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.213e-05/0.2138, allocations: 24.5 kB / 0.5047 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.542e-05/0.2138, allocations: 24 kB / 0.5047 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008698/0.2147, allocations: 0.5302 MB / 0.5052 GB, free: 9.758 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.726e-05/0.2147, allocations: 3.938 kB / 0.5052 GB, free: 9.754 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.358e-05/0.2148, allocations: 12 kB / 0.5052 GB, free: 9.742 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.649e-05/0.2149, allocations: 32.53 kB / 0.5053 GB, free: 9.707 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007183/0.2156, allocations: 469.9 kB / 0.5057 GB, free: 9.25 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003439/0.2191, allocations: 2.25 MB / 0.5079 GB, free: 6.859 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000406/0.2195, allocations: 234.6 kB / 0.5081 GB, free: 6.621 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001996/0.2197, allocations: 132.7 kB / 0.5083 GB, free: 6.488 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001266/0.221, allocations: 1.033 MB / 0.5093 GB, free: 5.336 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003332/0.2213, allocations: 212.4 kB / 0.5095 GB, free: 5.098 MB / 398.1 MB Notification: Performance of pre-optimization done (n=18): time 2.445e-06/0.2213, allocations: 0 / 0.5095 GB, free: 5.098 MB / 398.1 MB Notification: Performance of matching and sorting (n=18): time 0.0007268/0.2221, allocations: 385.1 kB / 0.5098 GB, free: 4.711 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001319/0.2222, allocations: 243.3 kB / 0.5101 GB, free: 4.418 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000629/0.2228, allocations: 0.5175 MB / 0.5106 GB, free: 3.891 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.571e-05/0.2229, allocations: 33.7 kB / 0.5106 GB, free: 3.852 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002188/0.2231, allocations: 283.1 kB / 0.5109 GB, free: 3.57 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.751e-05/0.2232, allocations: 59.25 kB / 0.5109 GB, free: 3.512 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001632/0.2233, allocations: 93.58 kB / 0.511 GB, free: 3.414 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001719/0.2235, allocations: 358.8 kB / 0.5114 GB, free: 3.055 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002272/0.2238, allocations: 137.2 kB / 0.5115 GB, free: 2.918 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003591/0.2241, allocations: 312.8 kB / 0.5118 GB, free: 2.535 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005593/0.2247, allocations: 465.2 kB / 0.5122 GB, free: 2.008 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.2247, allocations: 0 / 0.5122 GB, free: 2.008 MB / 398.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.000864/0.2256, allocations: 0.5372 MB / 0.5128 GB, free: 1.457 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.552e-05/0.2256, allocations: 37.7 kB / 0.5128 GB, free: 1.414 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.2257, allocations: 4.594 kB / 0.5128 GB, free: 1.41 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.187e-05/0.2257, allocations: 8 kB / 0.5128 GB, free: 1.402 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003101/0.226, allocations: 79.89 kB / 0.5129 GB, free: 1.324 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.893e-05/0.226, allocations: 11.94 kB / 0.5129 GB, free: 1.312 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004018/0.2264, allocations: 59.36 kB / 0.5129 GB, free: 1.254 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.961e-05/0.2265, allocations: 24 kB / 0.513 GB, free: 1.23 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003827/0.2269, allocations: 268.4 kB / 0.5132 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003376/0.2272, allocations: 321.9 kB / 0.5135 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005164/0.2278, allocations: 453.2 kB / 0.514 GB, free: 48 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.944e-06/0.2278, allocations: 0 / 0.514 GB, free: 48 kB / 398.1 MB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0008023/0.2286, allocations: 0.5179 MB / 0.5145 GB, free: 15.51 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.382e-05/0.2286, allocations: 45.62 kB / 0.5145 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.2286, allocations: 4 kB / 0.5145 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.296e-06/0.2287, allocations: 11.98 kB / 0.5145 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002688/0.2289, allocations: 83.83 kB / 0.5146 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.229, allocations: 7.938 kB / 0.5146 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003793/0.2293, allocations: 52.17 kB / 0.5147 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.611e-05/0.2294, allocations: 19.98 kB / 0.5147 GB, free: 15.29 MB / 414.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.0002087/0.2296, allocations: 241.8 kB / 0.5149 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.255e-05/0.2297, allocations: 47.44 kB / 0.515 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000681/0.2304, allocations: 367.2 kB / 0.5153 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.073e-05/0.2304, allocations: 3.938 kB / 0.5153 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.2304, allocations: 4.125 kB / 0.5153 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.107e-06/0.2304, allocations: 8 kB / 0.5153 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005532/0.231, allocations: 405.2 kB / 0.5157 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.231, allocations: 0 / 0.5157 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001164/0.2311, allocations: 27.98 kB / 0.5157 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/0.2312, allocations: 4 kB / 0.5157 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.33e-05/0.2312, allocations: 7.938 kB / 0.5158 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.2312, allocations: 0 / 0.5158 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.2312, allocations: 0 / 0.5158 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005472/0.2317, allocations: 377.9 kB / 0.5161 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001274/0.2319, allocations: 120.5 kB / 0.5162 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.248e-05/0.232, allocations: 11.91 kB / 0.5162 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002101/0.2322, allocations: 12 kB / 0.5163 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.069e-05/0.2322, allocations: 7.984 kB / 0.5163 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.227e-05/0.2323, allocations: 12 kB / 0.5163 GB, free: 13.54 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003963/0.2327, allocations: 370.8 kB / 0.5166 GB, free: 13.18 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.573e-06/0.2327, allocations: 0 / 0.5166 GB, free: 13.18 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001331/0.234, allocations: 431.5 kB / 0.517 GB, free: 12.76 MB / 414.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.001201/0.2352, allocations: 421.4 kB / 0.5174 GB, free: 12.35 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001105/0.2364, allocations: 0.6797 MB / 0.5181 GB, free: 11.65 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.2364, allocations: 0 / 0.5181 GB, free: 11.65 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002146/0.2366, allocations: 179.4 kB / 0.5183 GB, free: 11.46 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009835/0.2376, allocations: 206.4 kB / 0.5185 GB, free: 11.26 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001532/0.2391, allocations: 0.8165 MB / 0.5193 GB, free: 10.42 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004347/0.2396, allocations: 0.8471 MB / 0.5201 GB, free: 9.543 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004758/0.2401, allocations: 168.1 kB / 0.5203 GB, free: 9.375 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001052/0.2402, allocations: 39.42 kB / 0.5203 GB, free: 9.336 MB / 414.1 MB Notification: Performance of SimCode: time 5.51e-07/0.2402, allocations: 4 kB / 0.5203 GB, free: 9.332 MB / 414.1 MB Notification: Performance of Templates: time 0.3562/0.5964, allocations: 12.29 MB / 0.5323 GB, free: 47.86 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)