Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Pipes_StaticPipe",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.01145/0.01146, allocations: 163.6 kB / 15.12 MB, free: 6.035 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.761/1.761, allocations: 170.8 MB / 186.7 MB, free: 1.109 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00176/0.001759, allocations: 118.7 kB / 226.2 MB, free: 10.07 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4361/0.4361, allocations: 38.06 MB / 303.7 MB, free: 42.46 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004753/0.0004754, allocations: 16 kB / 363 MB, free: 5.461 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1095, allocations: 48.71 MB / 411.7 MB, free: 4.676 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe): time 0.0193/0.1289, allocations: 11.59 MB / 423.3 MB, free: 9.043 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01058/0.1395, allocations: 5.048 MB / 428.3 MB, free: 3.984 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007403/0.1403, allocations: 19.81 kB / 428.4 MB, free: 3.965 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007652/0.1411, allocations: 155.1 kB / 428.5 MB, free: 3.812 MB / 330.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Fluid/Sources.mo:772:36-773:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Fluid/Sources.mo:770:36-771:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Fluid/Sources.mo:772:36-773:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Fluid/Sources.mo:770:36-771:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.002454/0.1435, allocations: 0.6492 MB / 429.2 MB, free: 3.16 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004945/0.1485, allocations: 1.177 MB / 430.3 MB, free: 1.98 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002461/0.151, allocations: 1.407 MB / 431.7 MB, free: 0.5703 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006107/0.1516, allocations: 261.4 kB / 432 MB, free: 324 kB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2651/0.4168, allocations: 411.1 kB / 432.4 MB, free: 31.93 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001261/0.4181, allocations: 434 kB / 432.8 MB, free: 31.93 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001499/0.4183, allocations: 18.91 kB / 432.8 MB, free: 31.93 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002783/0.4211, allocations: 0.9325 MB / 433.8 MB, free: 31.93 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003953/0.4215, allocations: 140 kB / 433.9 MB, free: 31.93 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002758/0.4218, allocations: 116 kB / 434 MB, free: 31.89 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002532/0.4244, allocations: 0.8849 MB / 434.9 MB, free: 31.87 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/0.4244, allocations: 0 / 434.9 MB, free: 31.87 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.585e-06/0.4244, allocations: 1.406 kB / 434.9 MB, free: 31.87 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.194e-05/0.4245, allocations: 0 / 434.9 MB, free: 31.87 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.002555/0.427, allocations: 0.841 MB / 435.8 MB, free: 31.27 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/0.4271, allocations: 9.188 kB / 435.8 MB, free: 31.27 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001845/0.4273, allocations: 73.86 kB / 435.8 MB, free: 31.23 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003416/0.4277, allocations: 62.59 kB / 435.9 MB, free: 31.2 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001011/0.4287, allocations: 428.7 kB / 436.3 MB, free: 30.96 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.731e-05/0.4287, allocations: 24.97 kB / 436.3 MB, free: 30.96 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.354e-05/0.4288, allocations: 27.39 kB / 436.4 MB, free: 30.96 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001286/0.4301, allocations: 0.5023 MB / 436.9 MB, free: 30.85 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.895e-05/0.4302, allocations: 5.25 kB / 436.9 MB, free: 30.85 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.495e-05/0.4303, allocations: 16.34 kB / 436.9 MB, free: 30.85 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.235e-05/0.4304, allocations: 30.17 kB / 436.9 MB, free: 30.85 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001171/0.4316, allocations: 449.7 kB / 437.4 MB, free: 30.84 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004706/0.4363, allocations: 2.24 MB / 439.6 MB, free: 29.51 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005794/0.4369, allocations: 221.4 kB / 439.8 MB, free: 29.48 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002916/0.4372, allocations: 108.5 kB / 439.9 MB, free: 29.48 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00168/0.4389, allocations: 0.9943 MB / 440.9 MB, free: 28.71 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003184/0.4393, allocations: 140.2 kB / 441.1 MB, free: 28.63 MB / 330.7 MB Notification: Performance of pre-optimization done (n=13): time 2.986e-06/0.4393, allocations: 1.312 kB / 441.1 MB, free: 28.63 MB / 330.7 MB Notification: Performance of matching and sorting (n=13): time 0.0007294/0.44, allocations: 285.8 kB / 441.3 MB, free: 28.54 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.254e-05/0.4401, allocations: 160.9 kB / 441.5 MB, free: 28.35 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007888/0.4409, allocations: 487 kB / 442 MB, free: 28.23 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.566e-05/0.441, allocations: 34.64 kB / 442 MB, free: 28.19 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002529/0.4412, allocations: 301.2 kB / 442.3 MB, free: 28.02 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.717e-05/0.4413, allocations: 43.36 kB / 442.3 MB, free: 27.99 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.042e-05/0.4413, allocations: 8.75 kB / 442.3 MB, free: 27.99 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.992e-05/0.4415, allocations: 354.1 kB / 442.7 MB, free: 27.68 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002678/0.4417, allocations: 104.2 kB / 442.8 MB, free: 27.68 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000394/0.4421, allocations: 336.1 kB / 443.1 MB, free: 27.39 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003891/0.4425, allocations: 195.9 kB / 443.3 MB, free: 27.35 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.246e-06/0.4426, allocations: 2.781 kB / 443.3 MB, free: 27.35 MB / 330.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.00112/0.4437, allocations: 0.5042 MB / 443.8 MB, free: 27.25 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001862/0.4439, allocations: 343.3 kB / 444.2 MB, free: 26.86 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.32e-05/0.4439, allocations: 8.531 kB / 444.2 MB, free: 26.86 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.287e-05/0.444, allocations: 15.36 kB / 444.2 MB, free: 26.86 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005729/0.4446, allocations: 95.3 kB / 444.3 MB, free: 26.86 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.667e-05/0.4446, allocations: 14.2 kB / 444.3 MB, free: 26.86 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000672/0.4453, allocations: 56.31 kB / 444.3 MB, free: 26.83 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.236e-05/0.4453, allocations: 25.59 kB / 444.4 MB, free: 26.83 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.859e-06/0.4454, allocations: 2.406 kB / 444.4 MB, free: 26.83 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009784/0.4463, allocations: 462.2 kB / 444.8 MB, free: 26.79 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/0.4464, allocations: 9.344 kB / 444.8 MB, free: 26.79 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.37e-05/0.4464, allocations: 13.39 kB / 444.8 MB, free: 26.79 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005269/0.447, allocations: 89.56 kB / 444.9 MB, free: 26.79 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.485e-05/0.447, allocations: 11.75 kB / 444.9 MB, free: 26.79 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005583/0.4476, allocations: 47.45 kB / 445 MB, free: 26.77 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.014e-05/0.4476, allocations: 33.22 kB / 445 MB, free: 26.77 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,p_table.a,p_table.b,p_table.last,$PRE.p_table.nextEvent,p_table.nextEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004201/0.448, allocations: 308 kB / 445.3 MB, free: 26.54 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.487e-05/0.4481, allocations: 40.62 kB / 445.4 MB, free: 26.52 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006428/0.4488, allocations: 285.1 kB / 445.6 MB, free: 26.45 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.231e-06/0.4488, allocations: 10.41 kB / 445.6 MB, free: 26.44 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.4488, allocations: 0 / 445.6 MB, free: 26.44 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.4489, allocations: 0 / 445.6 MB, free: 26.44 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005108/0.4494, allocations: 380.1 kB / 446 MB, free: 26.25 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.4494, allocations: 0 / 446 MB, free: 26.25 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001666/0.4496, allocations: 19.03 kB / 446 MB, free: 26.25 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.231e-06/0.4496, allocations: 3.25 kB / 446 MB, free: 26.25 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.088e-05/0.4496, allocations: 3.75 kB / 446 MB, free: 26.25 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.147e-06/0.4496, allocations: 7.016 kB / 446 MB, free: 26.24 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.4496, allocations: 0 / 446 MB, free: 26.24 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004779/0.4501, allocations: 283.5 kB / 446.3 MB, free: 26.12 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001294/0.4503, allocations: 124.1 kB / 446.4 MB, free: 26 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.6e-05/0.4504, allocations: 3.25 kB / 446.5 MB, free: 26 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003043/0.4507, allocations: 19.52 kB / 446.5 MB, free: 26 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.026e-05/0.4508, allocations: 10.23 kB / 446.5 MB, free: 26 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.827e-05/0.4508, allocations: 9.625 kB / 446.5 MB, free: 26 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004857/0.4513, allocations: 337.7 kB / 446.8 MB, free: 25.91 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.4513, allocations: 2.062 kB / 446.8 MB, free: 25.91 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001677/0.453, allocations: 402.6 kB / 447.2 MB, free: 25.85 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,p_table.a,p_table.b,p_table.last,p_table.nextEvent) * Number of discrete states: 5 (p_table.last,p_table.nextEvent,p_table.b,p_table.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002202/0.4552, allocations: 1.085 MB / 448.3 MB, free: 25.16 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001313/0.4565, allocations: 0.5881 MB / 448.9 MB, free: 25.03 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.782e-06/0.4566, allocations: 11.25 kB / 448.9 MB, free: 25.02 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000199/0.4568, allocations: 138.9 kB / 449 MB, free: 24.96 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001282/0.4581, allocations: 141.3 kB / 449.2 MB, free: 24.95 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006109/0.4642, allocations: 2.671 MB / 451.8 MB, free: 23.86 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000339/0.4646, allocations: 0.8522 MB / 452.7 MB, free: 23.16 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0009452/0.4656, allocations: 155.8 kB / 452.8 MB, free: 23.14 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002637/0.4659, allocations: 145 kB / 453 MB, free: 23.13 MB / 330.7 MB Notification: Performance of SimCode: time 1.062e-06/0.4659, allocations: 0 / 453 MB, free: 23.13 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04751/0.5134, allocations: 13.4 MB / 466.4 MB, free: 21.86 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003238/0.5138, allocations: 232.6 kB / 466.6 MB, free: 21.62 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.01/3.524, allocations: 0 / 466.6 MB, free: 21.62 MB / 330.7 MB