Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_Pipes_StaticPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_Pipes_StaticPipe",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001361/0.001361, allocations: 118.2 kB / 17.79 MB, free: 5.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001302/0.001302, allocations: 197.2 kB / 18.73 MB, free: 4.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.472/1.472, allocations: 227.4 MB / 247 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2396/0.2396, allocations: 46.12 MB / 344.4 MB, free: 11.47 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002272/0.002272, allocations: 76.16 kB / 480.9 MB, free: 4.531 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3998/0.402, allocations: 62.46 MB / 0.5306 GB, free: 13.22 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe): time 0.01659/0.4187, allocations: 12.67 MB / 0.543 GB, free: 3.023 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009704/0.4284, allocations: 5.481 MB / 0.5483 GB, free: 14.61 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007327/0.4292, allocations: 17.41 kB / 0.5484 GB, free: 14.61 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009268/0.4302, allocations: 216.5 kB / 0.5486 GB, free: 14.42 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002747/0.433, allocations: 0.6934 MB / 0.5492 GB, free: 13.89 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00516/0.4382, allocations: 1.561 MB / 0.5508 GB, free: 12.86 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002297/0.4405, allocations: 1.239 MB / 0.552 GB, free: 11.7 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007662/0.4412, allocations: 313.2 kB / 0.5523 GB, free: 11.38 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001353/0.4426, allocations: 0.5061 MB / 0.5528 GB, free: 10.88 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0011/0.4437, allocations: 462.4 kB / 0.5532 GB, free: 10.42 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001952/0.4439, allocations: 44 kB / 0.5532 GB, free: 10.38 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003045/0.447, allocations: 1.092 MB / 0.5543 GB, free: 9.285 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003329/0.4473, allocations: 163.5 kB / 0.5545 GB, free: 9.125 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005982/0.448, allocations: 282.7 kB / 0.5547 GB, free: 8.848 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003195/0.4512, allocations: 1.355 MB / 0.5561 GB, free: 7.488 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.4512, allocations: 3.938 kB / 0.5561 GB, free: 7.484 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.4512, allocations: 0 / 0.5561 GB, free: 7.484 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.257e-06/0.4512, allocations: 0 / 0.5561 GB, free: 7.484 MB / 414.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.002038/0.4532, allocations: 0.9737 MB / 0.557 GB, free: 6.449 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.4533, allocations: 8.031 kB / 0.557 GB, free: 6.441 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001046/0.4534, allocations: 74.7 kB / 0.5571 GB, free: 6.359 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002477/0.4537, allocations: 64.61 kB / 0.5572 GB, free: 6.297 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007137/0.4544, allocations: 469.7 kB / 0.5576 GB, free: 5.801 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.474e-05/0.4544, allocations: 20.56 kB / 0.5576 GB, free: 5.781 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.158e-05/0.4545, allocations: 31.98 kB / 0.5577 GB, free: 5.75 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008824/0.4554, allocations: 0.5224 MB / 0.5582 GB, free: 5.191 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.656e-05/0.4554, allocations: 7.922 kB / 0.5582 GB, free: 5.184 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.44e-05/0.4555, allocations: 11.98 kB / 0.5582 GB, free: 5.172 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.486e-05/0.4555, allocations: 32.53 kB / 0.5582 GB, free: 5.141 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007811/0.4563, allocations: 469.9 kB / 0.5587 GB, free: 4.684 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003497/0.4598, allocations: 2.242 MB / 0.5609 GB, free: 2.293 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004829/0.4603, allocations: 242.6 kB / 0.5611 GB, free: 2.047 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002478/0.4606, allocations: 132.8 kB / 0.5612 GB, free: 1.914 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001362/0.4619, allocations: 1.025 MB / 0.5622 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003824/0.4623, allocations: 218.4 kB / 0.5624 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of pre-optimization done (n=18): time 1.703e-06/0.4623, allocations: 3.938 kB / 0.5624 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of matching and sorting (n=18): time 0.0007505/0.4631, allocations: 382.8 kB / 0.5628 GB, free: 144 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002022/0.4633, allocations: 239.3 kB / 0.563 GB, free: 15.85 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006576/0.464, allocations: 0.5176 MB / 0.5635 GB, free: 15.32 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.442e-05/0.464, allocations: 29.7 kB / 0.5636 GB, free: 15.29 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002823/0.4643, allocations: 295.7 kB / 0.5638 GB, free: 15 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.082e-05/0.4644, allocations: 63.53 kB / 0.5639 GB, free: 14.93 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001636/0.4646, allocations: 97.62 kB / 0.564 GB, free: 14.83 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002069/0.4648, allocations: 354.8 kB / 0.5643 GB, free: 14.48 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002463/0.465, allocations: 141.2 kB / 0.5645 GB, free: 14.33 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004088/0.4655, allocations: 314.1 kB / 0.5648 GB, free: 13.95 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006137/0.4661, allocations: 465 kB / 0.5652 GB, free: 13.42 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.4661, allocations: 0 / 0.5652 GB, free: 13.42 MB / 430.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.000904/0.467, allocations: 0.5412 MB / 0.5657 GB, free: 12.87 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.941e-05/0.4671, allocations: 41.69 kB / 0.5658 GB, free: 12.82 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.4671, allocations: 11.88 kB / 0.5658 GB, free: 12.81 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.639e-05/0.4671, allocations: 8 kB / 0.5658 GB, free: 12.8 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003158/0.4674, allocations: 79.84 kB / 0.5659 GB, free: 12.73 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.569e-05/0.4675, allocations: 7.984 kB / 0.5659 GB, free: 12.72 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003681/0.4678, allocations: 56.06 kB / 0.5659 GB, free: 12.66 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.527e-05/0.4679, allocations: 24 kB / 0.566 GB, free: 12.64 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003977/0.4683, allocations: 268.5 kB / 0.5662 GB, free: 12.38 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004135/0.4687, allocations: 314 kB / 0.5665 GB, free: 11.99 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005891/0.4693, allocations: 461 kB / 0.5669 GB, free: 11.46 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.004e-06/0.4693, allocations: 0 / 0.5669 GB, free: 11.46 MB / 430.1 MB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.000847/0.4702, allocations: 0.533 MB / 0.5675 GB, free: 10.92 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.508e-05/0.4702, allocations: 33.7 kB / 0.5675 GB, free: 10.88 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.4702, allocations: 8 kB / 0.5675 GB, free: 10.87 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.973e-06/0.4703, allocations: 4 kB / 0.5675 GB, free: 10.87 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002798/0.4705, allocations: 79.89 kB / 0.5676 GB, free: 10.79 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.22e-05/0.4706, allocations: 11.94 kB / 0.5676 GB, free: 10.78 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003695/0.4709, allocations: 43.77 kB / 0.5676 GB, free: 10.73 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.027e-05/0.471, allocations: 24 kB / 0.5677 GB, free: 10.71 MB / 430.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.0002146/0.4712, allocations: 237.9 kB / 0.5679 GB, free: 10.46 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.897e-05/0.4713, allocations: 55.67 kB / 0.5679 GB, free: 10.41 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000687/0.472, allocations: 370.3 kB / 0.5683 GB, free: 10.04 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.472, allocations: 3.938 kB / 0.5683 GB, free: 10.03 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.472, allocations: 0 / 0.5683 GB, free: 10.03 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.472, allocations: 0 / 0.5683 GB, free: 10.03 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005414/0.4726, allocations: 417.4 kB / 0.5687 GB, free: 9.574 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.4726, allocations: 0 / 0.5687 GB, free: 9.574 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001116/0.4727, allocations: 24 kB / 0.5687 GB, free: 9.551 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.621e-06/0.4727, allocations: 3.984 kB / 0.5687 GB, free: 9.547 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.519e-05/0.4728, allocations: 11.94 kB / 0.5687 GB, free: 9.535 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.4728, allocations: 3.938 kB / 0.5687 GB, free: 9.531 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.4728, allocations: 4 kB / 0.5687 GB, free: 9.527 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005549/0.4733, allocations: 370.2 kB / 0.5691 GB, free: 9.141 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001275/0.4735, allocations: 124.8 kB / 0.5692 GB, free: 9 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.64e-05/0.4735, allocations: 8 kB / 0.5692 GB, free: 8.992 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002115/0.4738, allocations: 19.92 kB / 0.5692 GB, free: 8.973 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.474e-05/0.4738, allocations: 11.98 kB / 0.5693 GB, free: 8.961 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.395e-05/0.4739, allocations: 8 kB / 0.5693 GB, free: 8.953 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004492/0.4743, allocations: 370.8 kB / 0.5696 GB, free: 8.594 MB / 430.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.4743, allocations: 0 / 0.5696 GB, free: 8.594 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001181/0.4755, allocations: 442.8 kB / 0.57 GB, free: 8.16 MB / 430.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.001869/0.4774, allocations: 1.219 MB / 0.5712 GB, free: 6.914 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001078/0.4785, allocations: 0.6645 MB / 0.5719 GB, free: 6.227 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.4785, allocations: 8.062 kB / 0.5719 GB, free: 6.219 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002257/0.4787, allocations: 187.3 kB / 0.5721 GB, free: 6.023 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000933/0.4797, allocations: 203.8 kB / 0.5723 GB, free: 5.832 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006023/0.4857, allocations: 4.393 MB / 0.5765 GB, free: 1.23 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005305/0.4863, allocations: 0.8471 MB / 0.5774 GB, free: 364 kB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005155/0.4868, allocations: 168.2 kB / 0.5775 GB, free: 196 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002434/0.487, allocations: 155.4 kB / 0.5777 GB, free: 40 kB / 430.1 MB Notification: Performance of SimCode: time 7.91e-07/0.487, allocations: 4 kB / 0.5777 GB, free: 36 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04938/0.5364, allocations: 17.07 MB / 0.5944 GB, free: 15.13 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.091/9.627, allocations: 8 kB / 0.5944 GB, free: 15.12 MB / 462.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_Pipes_StaticPipe.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe 2>&1)