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.007936/0.007936, allocations: 101.1 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.00194/0.00194, allocations: 187.8 kB / 16.67 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.374/1.374, allocations: 205.1 MB / 222.5 MB, free: 4.379 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.2987/0.2987, allocations: 38 MB / 307.9 MB, free: 10.4 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.00153/0.00153, allocations: 75.84 kB / 433 MB, free: 5.406 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4794/0.4809, allocations: 56.46 MB / 489.5 MB, free: 19.9 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe): time 0.0176/0.4986, allocations: 12.59 MB / 0.4903 GB, free: 10.87 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01117/0.5098, allocations: 5.417 MB / 0.4956 GB, free: 7.074 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009938/0.5109, allocations: 17.69 kB / 0.4956 GB, free: 7.066 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001026/0.512, allocations: 206.4 kB / 0.4958 GB, free: 6.945 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002698/0.5147, allocations: 0.6861 MB / 0.4965 GB, free: 6.57 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005518/0.5202, allocations: 1.551 MB / 0.498 GB, free: 5.871 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002579/0.5228, allocations: 1.234 MB / 0.4992 GB, free: 5.324 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007015/0.5235, allocations: 317.1 kB / 0.4995 GB, free: 5.195 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001279/0.5248, allocations: 0.4958 MB / 0.5 GB, free: 4.988 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001042/0.5259, allocations: 471.4 kB / 0.5004 GB, free: 4.781 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001202/0.526, allocations: 42.75 kB / 0.5005 GB, free: 4.781 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003646/0.5297, allocations: 1.053 MB / 0.5015 GB, free: 4.211 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002419/0.5299, allocations: 168.2 kB / 0.5016 GB, free: 4.094 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003867/0.5303, allocations: 273.4 kB / 0.5019 GB, free: 3.922 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002417/0.5327, allocations: 1.32 MB / 0.5032 GB, free: 3.09 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.5328, allocations: 0 / 0.5032 GB, free: 3.09 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.5328, allocations: 1.656 kB / 0.5032 GB, free: 3.09 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.205e-05/0.5328, allocations: 0 / 0.5032 GB, free: 3.09 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.002399/0.5352, allocations: 0.9459 MB / 0.5041 GB, free: 2.297 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.672e-05/0.5353, allocations: 12.95 kB / 0.5041 GB, free: 2.293 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003196/0.5356, allocations: 64.67 kB / 0.5042 GB, free: 2.262 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007745/0.5364, allocations: 467.5 kB / 0.5046 GB, free: 1.859 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.357e-05/0.5364, allocations: 22.25 kB / 0.5047 GB, free: 1.848 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.606e-05/0.5365, allocations: 27.28 kB / 0.5047 GB, free: 1.84 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009744/0.5375, allocations: 0.524 MB / 0.5052 GB, free: 1.488 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.765e-05/0.5375, allocations: 1.062 kB / 0.5052 GB, free: 1.488 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.153e-05/0.5376, allocations: 12.5 kB / 0.5052 GB, free: 1.48 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-05/0.5377, allocations: 32.7 kB / 0.5052 GB, free: 1.465 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008257/0.5385, allocations: 459.4 kB / 0.5057 GB, free: 1.246 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003641/0.5421, allocations: 2.255 MB / 0.5079 GB, free: 15.27 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005262/0.5427, allocations: 237.7 kB / 0.5081 GB, free: 15.14 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002665/0.543, allocations: 142.8 kB / 0.5082 GB, free: 15.06 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001455/0.5444, allocations: 1.028 MB / 0.5093 GB, free: 14.04 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003694/0.5448, allocations: 217.9 kB / 0.5095 GB, free: 13.86 MB / 398.1 MB Notification: Performance of pre-optimization done (n=18): time 1.813e-06/0.5448, allocations: 0 / 0.5095 GB, free: 13.86 MB / 398.1 MB Notification: Performance of matching and sorting (n=18): time 0.0008227/0.5457, allocations: 387.8 kB / 0.5098 GB, free: 13.64 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001811/0.5459, allocations: 235.5 kB / 0.5101 GB, free: 13.36 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007669/0.5466, allocations: 0.5159 MB / 0.5106 GB, free: 13.05 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.164e-05/0.5467, allocations: 31.33 kB / 0.5106 GB, free: 13.02 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002695/0.547, allocations: 281.2 kB / 0.5109 GB, free: 12.77 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.205e-05/0.547, allocations: 68.41 kB / 0.5109 GB, free: 12.71 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001791/0.5472, allocations: 96.02 kB / 0.511 GB, free: 12.65 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001573/0.5474, allocations: 358.3 kB / 0.5114 GB, free: 12.3 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002668/0.5477, allocations: 138 kB / 0.5115 GB, free: 12.23 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004166/0.5481, allocations: 310.7 kB / 0.5118 GB, free: 11.94 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006589/0.5488, allocations: 458.8 kB / 0.5122 GB, free: 11.56 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/0.5488, allocations: 1.375 kB / 0.5122 GB, free: 11.56 MB / 398.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001194/0.55, allocations: 0.5369 MB / 0.5127 GB, free: 11.27 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.967e-05/0.5501, allocations: 39.06 kB / 0.5128 GB, free: 11.23 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.954e-05/0.5501, allocations: 8.016 kB / 0.5128 GB, free: 11.23 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.699e-05/0.5501, allocations: 6.938 kB / 0.5128 GB, free: 11.23 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000419/0.5506, allocations: 76.5 kB / 0.5129 GB, free: 11.21 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.528e-05/0.5506, allocations: 13.34 kB / 0.5129 GB, free: 11.2 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000532/0.5512, allocations: 59.73 kB / 0.5129 GB, free: 11.16 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.008e-05/0.5512, allocations: 24.88 kB / 0.513 GB, free: 11.16 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005582/0.5518, allocations: 269.2 kB / 0.5132 GB, free: 10.98 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004567/0.5523, allocations: 328.4 kB / 0.5135 GB, free: 10.66 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007789/0.5531, allocations: 451.1 kB / 0.514 GB, free: 10.29 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.23e-06/0.5531, allocations: 1.25 kB / 0.514 GB, free: 10.29 MB / 398.1 MB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.001204/0.5543, allocations: 0.5185 MB / 0.5145 GB, free: 10 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.179e-05/0.5544, allocations: 43.94 kB / 0.5145 GB, free: 9.965 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/0.5544, allocations: 4.531 kB / 0.5145 GB, free: 9.965 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.933e-05/0.5544, allocations: 6.844 kB / 0.5145 GB, free: 9.965 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003417/0.5548, allocations: 79.06 kB / 0.5146 GB, free: 9.945 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.703e-05/0.5548, allocations: 10.8 kB / 0.5146 GB, free: 9.941 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005118/0.5553, allocations: 37.59 kB / 0.5146 GB, free: 9.922 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.182e-05/0.5554, allocations: 24.2 kB / 0.5147 GB, free: 9.914 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.0003765/0.5558, allocations: 253.2 kB / 0.5149 GB, free: 9.668 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001193/0.5559, allocations: 48.59 kB / 0.515 GB, free: 9.645 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009068/0.5568, allocations: 355.6 kB / 0.5153 GB, free: 9.434 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.532e-05/0.5568, allocations: 9.188 kB / 0.5153 GB, free: 9.426 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.984e-06/0.5569, allocations: 1.156 kB / 0.5153 GB, free: 9.426 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.5569, allocations: 0 / 0.5153 GB, free: 9.426 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006686/0.5575, allocations: 411.9 kB / 0.5157 GB, free: 9.066 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.5576, allocations: 0 / 0.5157 GB, free: 9.066 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001368/0.5577, allocations: 28.02 kB / 0.5157 GB, free: 9.059 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.618e-06/0.5577, allocations: 1.438 kB / 0.5157 GB, free: 9.059 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.842e-05/0.5578, allocations: 11.97 kB / 0.5157 GB, free: 9.051 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.5578, allocations: 0 / 0.5157 GB, free: 9.051 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/0.5578, allocations: 5.578 kB / 0.5157 GB, free: 9.047 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007034/0.5585, allocations: 365.7 kB / 0.5161 GB, free: 8.82 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001542/0.5586, allocations: 125.5 kB / 0.5162 GB, free: 8.691 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.718e-05/0.5587, allocations: 8.531 kB / 0.5162 GB, free: 8.688 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000233/0.559, allocations: 17.62 kB / 0.5162 GB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.927e-05/0.5591, allocations: 13.33 kB / 0.5162 GB, free: 8.668 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.332e-05/0.5591, allocations: 11.23 kB / 0.5163 GB, free: 8.664 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005885/0.5597, allocations: 375.7 kB / 0.5166 GB, free: 8.441 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5597, allocations: 1.25 kB / 0.5166 GB, free: 8.441 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002172/0.5619, allocations: 427.7 kB / 0.517 GB, free: 8.352 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.001464/0.5634, allocations: 411.6 kB / 0.5174 GB, free: 8.125 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001282/0.5647, allocations: 0.6725 MB / 0.5181 GB, free: 7.734 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/0.5647, allocations: 1.125 kB / 0.5181 GB, free: 7.734 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002395/0.5649, allocations: 184.3 kB / 0.5183 GB, free: 7.609 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001022/0.566, allocations: 219.2 kB / 0.5185 GB, free: 7.488 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002079/0.5681, allocations: 0.8148 MB / 0.5193 GB, free: 6.996 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007837/0.5689, allocations: 0.8379 MB / 0.5201 GB, free: 6.223 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0006185/0.5695, allocations: 168.2 kB / 0.5202 GB, free: 6.141 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000131/0.5696, allocations: 46.55 kB / 0.5203 GB, free: 6.129 MB / 398.1 MB Notification: Performance of SimCode: time 1.362e-06/0.5696, allocations: 0 / 0.5203 GB, free: 6.129 MB / 398.1 MB Notification: Performance of Templates: time 0.02227/0.5919, allocations: 12.16 MB / 0.5322 GB, free: 10.95 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)