Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.2_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe") translateModel(ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.001174/0.001174, allocations: 108.6 kB / 15.73 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001274/0.001274, allocations: 200.1 kB / 16.66 MB, free: 6.57 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.567/1.567, allocations: 205.1 MB / 222.5 MB, free: 4.535 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.4115/0.4115, allocations: 39.94 MB / 309.8 MB, free: 9.336 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.2. 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.00209/0.00209, allocations: 67.91 kB / 435.8 MB, free: 2.473 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4583/0.4604, allocations: 56.88 MB / 492.6 MB, free: 19.55 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe): time 0.0157/0.4762, allocations: 12.6 MB / 0.4934 GB, free: 10.51 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009517/0.4858, allocations: 5.41 MB / 0.4987 GB, free: 6.672 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008385/0.4867, allocations: 17.47 kB / 0.4987 GB, free: 6.664 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008516/0.4876, allocations: 212.2 kB / 0.4989 GB, free: 6.484 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002476/0.4901, allocations: 0.6788 MB / 0.4996 GB, free: 5.969 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005878/0.496, allocations: 1.564 MB / 0.5011 GB, free: 4.914 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002943/0.4989, allocations: 1.236 MB / 0.5023 GB, free: 4.215 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000745/0.4997, allocations: 318.2 kB / 0.5026 GB, free: 4.008 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001408/0.5011, allocations: 0.4907 MB / 0.5031 GB, free: 3.738 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001067/0.5022, allocations: 468.5 kB / 0.5035 GB, free: 3.473 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001473/0.5024, allocations: 42.81 kB / 0.5036 GB, free: 3.473 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004155/0.5065, allocations: 1.064 MB / 0.5046 GB, free: 2.891 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003551/0.5069, allocations: 161.2 kB / 0.5048 GB, free: 2.781 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005804/0.5075, allocations: 272.5 kB / 0.505 GB, free: 2.609 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003564/0.5111, allocations: 1.312 MB / 0.5063 GB, free: 1.785 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.792e-06/0.5111, allocations: 5.125 kB / 0.5063 GB, free: 1.781 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.836e-06/0.5111, allocations: 0 / 0.5063 GB, free: 1.781 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.099e-05/0.5111, allocations: 0 / 0.5063 GB, free: 1.781 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.002339/0.5135, allocations: 0.9463 MB / 0.5072 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.07e-05/0.5135, allocations: 13.52 kB / 0.5072 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003113/0.5138, allocations: 59.78 kB / 0.5073 GB, free: 0.957 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007695/0.5146, allocations: 472.3 kB / 0.5078 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.464e-05/0.5147, allocations: 21.19 kB / 0.5078 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.815e-05/0.5148, allocations: 27.56 kB / 0.5078 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009314/0.5157, allocations: 0.5322 MB / 0.5083 GB, free: 172 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.66e-05/0.5157, allocations: 1.312 kB / 0.5083 GB, free: 172 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.888e-05/0.5158, allocations: 12.31 kB / 0.5083 GB, free: 164 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.601e-05/0.5158, allocations: 28.86 kB / 0.5084 GB, free: 152 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009254/0.5168, allocations: 463.7 kB / 0.5088 GB, free: 15.92 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004036/0.5208, allocations: 2.247 MB / 0.511 GB, free: 13.95 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004864/0.5213, allocations: 245.2 kB / 0.5112 GB, free: 13.81 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002562/0.5216, allocations: 136.5 kB / 0.5114 GB, free: 13.74 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001291/0.5229, allocations: 1.027 MB / 0.5124 GB, free: 12.72 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003993/0.5233, allocations: 223 kB / 0.5126 GB, free: 12.54 MB / 398.1 MB Notification: Performance of pre-optimization done (n=18): time 1.773e-06/0.5233, allocations: 0 / 0.5126 GB, free: 12.54 MB / 398.1 MB Notification: Performance of matching and sorting (n=18): time 0.0008266/0.5242, allocations: 384.7 kB / 0.5129 GB, free: 12.33 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001545/0.5243, allocations: 234.5 kB / 0.5132 GB, free: 12.05 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008762/0.5252, allocations: 0.5236 MB / 0.5137 GB, free: 11.73 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.221e-05/0.5253, allocations: 27.67 kB / 0.5137 GB, free: 11.7 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002686/0.5255, allocations: 288 kB / 0.514 GB, free: 11.44 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.263e-05/0.5256, allocations: 60.59 kB / 0.514 GB, free: 11.39 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002033/0.5258, allocations: 100.8 kB / 0.5141 GB, free: 11.32 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002148/0.526, allocations: 357.4 kB / 0.5145 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002854/0.5263, allocations: 133 kB / 0.5146 GB, free: 10.91 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004521/0.5268, allocations: 315.4 kB / 0.5149 GB, free: 10.61 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006746/0.5275, allocations: 459 kB / 0.5153 GB, free: 10.23 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/0.5275, allocations: 1.375 kB / 0.5153 GB, free: 10.23 MB / 398.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001032/0.5285, allocations: 0.5299 MB / 0.5159 GB, free: 9.949 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.994e-05/0.5286, allocations: 42.53 kB / 0.5159 GB, free: 9.91 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.038e-05/0.5287, allocations: 8.344 kB / 0.5159 GB, free: 9.906 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.186e-05/0.5287, allocations: 6.719 kB / 0.5159 GB, free: 9.906 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003572/0.5291, allocations: 75.72 kB / 0.516 GB, free: 9.891 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.444e-05/0.5291, allocations: 19.17 kB / 0.516 GB, free: 9.879 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003707/0.5295, allocations: 54.81 kB / 0.5161 GB, free: 9.844 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.332e-05/0.5296, allocations: 21.08 kB / 0.5161 GB, free: 9.84 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003989/0.53, allocations: 272.3 kB / 0.5163 GB, free: 9.656 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004082/0.5304, allocations: 313.6 kB / 0.5166 GB, free: 9.355 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000614/0.531, allocations: 458.5 kB / 0.5171 GB, free: 8.969 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.886e-06/0.531, allocations: 5.375 kB / 0.5171 GB, free: 8.965 MB / 398.1 MB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0009469/0.532, allocations: 0.5179 MB / 0.5176 GB, free: 8.684 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.639e-05/0.532, allocations: 44.25 kB / 0.5176 GB, free: 8.645 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/0.532, allocations: 4.5 kB / 0.5176 GB, free: 8.645 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.5321, allocations: 10.88 kB / 0.5176 GB, free: 8.641 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003206/0.5324, allocations: 79.19 kB / 0.5177 GB, free: 8.621 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.139e-05/0.5324, allocations: 7.219 kB / 0.5177 GB, free: 8.621 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003869/0.5328, allocations: 41.02 kB / 0.5178 GB, free: 8.598 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.65e-05/0.5329, allocations: 19.97 kB / 0.5178 GB, free: 8.594 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.000283/0.5332, allocations: 249.3 kB / 0.518 GB, free: 8.352 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001115/0.5333, allocations: 56.44 kB / 0.5181 GB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008157/0.5341, allocations: 351.4 kB / 0.5184 GB, free: 8.113 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.395e-06/0.5341, allocations: 5.312 kB / 0.5184 GB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.5341, allocations: 1.375 kB / 0.5184 GB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.5342, allocations: 3.984 kB / 0.5184 GB, free: 8.105 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005389/0.5347, allocations: 411.3 kB / 0.5188 GB, free: 7.746 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.5347, allocations: 1.375 kB / 0.5188 GB, free: 7.746 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001233/0.5348, allocations: 31.83 kB / 0.5188 GB, free: 7.734 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.541e-06/0.5349, allocations: 5.25 kB / 0.5188 GB, free: 7.73 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.471e-05/0.5349, allocations: 10.59 kB / 0.5189 GB, free: 7.723 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.5349, allocations: 1.406 kB / 0.5189 GB, free: 7.723 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.5349, allocations: 0 / 0.5189 GB, free: 7.723 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006292/0.5355, allocations: 363.2 kB / 0.5192 GB, free: 7.5 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001395/0.5357, allocations: 124 kB / 0.5193 GB, free: 7.371 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.649e-05/0.5358, allocations: 8.719 kB / 0.5193 GB, free: 7.367 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002155/0.536, allocations: 10.8 kB / 0.5193 GB, free: 7.363 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.233e-05/0.5361, allocations: 17.94 kB / 0.5194 GB, free: 7.352 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.551e-05/0.5361, allocations: 9.922 kB / 0.5194 GB, free: 7.348 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000558/0.5367, allocations: 376.9 kB / 0.5197 GB, free: 7.125 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5367, allocations: 0 / 0.5197 GB, free: 7.125 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001807/0.5385, allocations: 435.7 kB / 0.5201 GB, free: 7.027 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.001231/0.5397, allocations: 412 kB / 0.5205 GB, free: 6.801 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001142/0.5409, allocations: 0.6773 MB / 0.5212 GB, free: 6.223 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.5409, allocations: 0 / 0.5212 GB, free: 6.223 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002077/0.5411, allocations: 192.7 kB / 0.5214 GB, free: 6.023 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009723/0.5421, allocations: 204.8 kB / 0.5216 GB, free: 5.828 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001448/0.5435, allocations: 0.828 MB / 0.5224 GB, free: 4.973 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004627/0.544, allocations: 0.8432 MB / 0.5232 GB, free: 4.102 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004508/0.5445, allocations: 168.2 kB / 0.5234 GB, free: 3.934 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001058/0.5446, allocations: 39.44 kB / 0.5234 GB, free: 3.895 MB / 398.1 MB Notification: Performance of SimCode: time 8.41e-07/0.5446, allocations: 0 / 0.5234 GB, free: 3.895 MB / 398.1 MB Notification: Performance of Templates: time 0.02053/0.5651, allocations: 12.31 MB / 0.5354 GB, free: 7.594 MB / 414.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe 2>&1)