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.005048/0.005048, allocations: 95.92 kB / 15.73 MB, free: 6.039 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.001146/0.001146, allocations: 200.8 kB / 16.68 MB, free: 5.969 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.344/1.344, allocations: 205.1 MB / 222.5 MB, free: 12.24 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.1951/0.1951, allocations: 38 MB / 307.9 MB, free: 5.996 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.001533/0.001533, allocations: 71.91 kB / 433 MB, free: 14.43 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1524/0.1539, allocations: 56.45 MB / 489.5 MB, free: 5.891 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe): time 0.01575/0.1697, allocations: 12.59 MB / 0.4903 GB, free: 9.234 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008275/0.1781, allocations: 5.421 MB / 0.4956 GB, free: 3.797 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005762/0.1788, allocations: 11.94 kB / 0.4956 GB, free: 3.785 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007835/0.1796, allocations: 210.6 kB / 0.4958 GB, free: 3.578 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001936/0.1815, allocations: 0.6803 MB / 0.4964 GB, free: 2.895 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005072/0.1866, allocations: 1.562 MB / 0.498 GB, free: 1.328 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001773/0.1884, allocations: 1.231 MB / 0.4992 GB, free: 96 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005299/0.1889, allocations: 325.2 kB / 0.4995 GB, free: 15.77 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008125/0.1897, allocations: 0.4944 MB / 0.5 GB, free: 15.27 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006998/0.1904, allocations: 466.4 kB / 0.5004 GB, free: 14.82 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.564e-05/0.1905, allocations: 44 kB / 0.5005 GB, free: 14.77 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001992/0.1925, allocations: 1.053 MB / 0.5015 GB, free: 13.72 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001884/0.1928, allocations: 163.5 kB / 0.5016 GB, free: 13.56 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002994/0.1931, allocations: 278.7 kB / 0.5019 GB, free: 13.29 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001851/0.1949, allocations: 1.308 MB / 0.5032 GB, free: 11.97 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.1949, allocations: 0 / 0.5032 GB, free: 11.97 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1949, allocations: 0 / 0.5032 GB, free: 11.97 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.518e-06/0.195, allocations: 4 kB / 0.5032 GB, free: 11.97 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.001903/0.1969, allocations: 0.9777 MB / 0.5041 GB, free: 10.93 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.072e-05/0.1969, allocations: 11.89 kB / 0.5042 GB, free: 10.92 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000252/0.1972, allocations: 64.56 kB / 0.5042 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006694/0.1979, allocations: 469.6 kB / 0.5047 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.35e-05/0.1979, allocations: 24.56 kB / 0.5047 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.733e-05/0.198, allocations: 31.98 kB / 0.5047 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008482/0.1988, allocations: 0.5224 MB / 0.5052 GB, free: 9.746 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.688e-05/0.1989, allocations: 7.938 kB / 0.5052 GB, free: 9.738 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.737e-05/0.1989, allocations: 12 kB / 0.5052 GB, free: 9.727 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-05/0.199, allocations: 28.48 kB / 0.5053 GB, free: 9.695 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000741/0.1997, allocations: 462 kB / 0.5057 GB, free: 9.246 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003101/0.2029, allocations: 2.262 MB / 0.5079 GB, free: 6.844 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004089/0.2033, allocations: 234.6 kB / 0.5081 GB, free: 6.605 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002211/0.2035, allocations: 144.6 kB / 0.5083 GB, free: 6.461 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001097/0.2046, allocations: 1.025 MB / 0.5093 GB, free: 5.316 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003085/0.2049, allocations: 216.4 kB / 0.5095 GB, free: 5.074 MB / 398.1 MB Notification: Performance of pre-optimization done (n=18): time 3.858e-06/0.205, allocations: 4 kB / 0.5095 GB, free: 5.07 MB / 398.1 MB Notification: Performance of matching and sorting (n=18): time 0.0006792/0.2056, allocations: 389.5 kB / 0.5099 GB, free: 4.68 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001204/0.2058, allocations: 243.3 kB / 0.5101 GB, free: 4.387 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005998/0.2064, allocations: 0.5137 MB / 0.5106 GB, free: 3.863 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.108e-05/0.2064, allocations: 29.7 kB / 0.5106 GB, free: 3.828 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002517/0.2067, allocations: 299.7 kB / 0.5109 GB, free: 3.531 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.381e-05/0.2067, allocations: 55.53 kB / 0.511 GB, free: 3.477 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001567/0.2069, allocations: 97.62 kB / 0.5111 GB, free: 3.375 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001803/0.2071, allocations: 362.8 kB / 0.5114 GB, free: 3.012 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002256/0.2073, allocations: 137.2 kB / 0.5115 GB, free: 2.875 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000369/0.2077, allocations: 308.8 kB / 0.5118 GB, free: 2.496 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005428/0.2083, allocations: 465.2 kB / 0.5123 GB, free: 1.969 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.2083, allocations: 0 / 0.5123 GB, free: 1.969 MB / 398.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0008049/0.2091, allocations: 0.538 MB / 0.5128 GB, free: 1.418 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.789e-05/0.2091, allocations: 41.73 kB / 0.5128 GB, free: 1.371 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.2092, allocations: 4 kB / 0.5128 GB, free: 1.367 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.543e-05/0.2092, allocations: 8 kB / 0.5129 GB, free: 1.359 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003115/0.2095, allocations: 79.89 kB / 0.5129 GB, free: 1.281 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.331e-05/0.2095, allocations: 7.938 kB / 0.5129 GB, free: 1.273 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000359/0.2099, allocations: 51.62 kB / 0.513 GB, free: 1.223 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.614e-05/0.21, allocations: 23.98 kB / 0.513 GB, free: 1.199 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003785/0.2103, allocations: 268.4 kB / 0.5133 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003532/0.2107, allocations: 325.9 kB / 0.5136 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005164/0.2112, allocations: 453.2 kB / 0.514 GB, free: 12 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.054e-06/0.2112, allocations: 0 / 0.514 GB, free: 12 kB / 398.1 MB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.000786/0.212, allocations: 0.5219 MB / 0.5145 GB, free: 15.48 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.231e-05/0.2121, allocations: 41.69 kB / 0.5146 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.2121, allocations: 4 kB / 0.5146 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.907e-06/0.2121, allocations: 8.531 kB / 0.5146 GB, free: 15.42 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002613/0.2124, allocations: 87.78 kB / 0.5147 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.2124, allocations: 8 kB / 0.5147 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003625/0.2128, allocations: 43.77 kB / 0.5147 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.341e-05/0.2128, allocations: 24 kB / 0.5147 GB, free: 15.26 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.000213/0.213, allocations: 249.3 kB / 0.515 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.322e-05/0.2131, allocations: 55.67 kB / 0.515 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000623/0.2137, allocations: 363.4 kB / 0.5154 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.046e-06/0.2138, allocations: 4.062 kB / 0.5154 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.418e-06/0.2138, allocations: 4 kB / 0.5154 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.2138, allocations: 3.984 kB / 0.5154 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004727/0.2143, allocations: 413.2 kB / 0.5158 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-06/0.2143, allocations: 0 / 0.5158 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001156/0.2144, allocations: 23.98 kB / 0.5158 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.2144, allocations: 0 / 0.5158 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.004e-05/0.2144, allocations: 11.94 kB / 0.5158 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.2145, allocations: 0 / 0.5158 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.2145, allocations: 8 kB / 0.5158 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000531/0.215, allocations: 370.2 kB / 0.5162 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001193/0.2151, allocations: 124.7 kB / 0.5163 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.751e-05/0.2152, allocations: 8 kB / 0.5163 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000225/0.2154, allocations: 11.98 kB / 0.5163 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.54e-05/0.2155, allocations: 12.03 kB / 0.5163 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.63e-05/0.2156, allocations: 15.98 kB / 0.5163 GB, free: 13.5 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004117/0.216, allocations: 370.8 kB / 0.5167 GB, free: 13.14 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.216, allocations: 0 / 0.5167 GB, free: 13.14 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001254/0.2172, allocations: 434.9 kB / 0.5171 GB, free: 12.71 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.001017/0.2183, allocations: 420.2 kB / 0.5175 GB, free: 12.3 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009904/0.2193, allocations: 0.6787 MB / 0.5182 GB, free: 11.6 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/0.2193, allocations: 0 / 0.5182 GB, free: 11.6 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002099/0.2195, allocations: 183.3 kB / 0.5183 GB, free: 11.41 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009109/0.2204, allocations: 207.5 kB / 0.5185 GB, free: 11.21 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001347/0.2218, allocations: 0.8311 MB / 0.5193 GB, free: 10.35 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004117/0.2222, allocations: 0.8432 MB / 0.5202 GB, free: 9.477 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004504/0.2227, allocations: 168.3 kB / 0.5203 GB, free: 9.309 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.847e-05/0.2228, allocations: 39.44 kB / 0.5204 GB, free: 9.27 MB / 414.1 MB Notification: Performance of SimCode: time 3.5e-07/0.2228, allocations: 0 / 0.5204 GB, free: 9.27 MB / 414.1 MB Notification: Performance of Templates: time 0.3041/0.5269, allocations: 12.16 MB / 0.5322 GB, free: 47.89 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)