Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|p_table.a|p_table.b|p_table.last|p_table.nextEvent",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.003843/0.003842, allocations: 361.9 kB / 15.95 MB, free: 6.203 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 3.928/3.928, allocations: 388.9 MB / 405.6 MB, free: 9.586 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003526/0.003526, allocations: 238.1 kB / 451 MB, free: 145 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.5995/0.5995, allocations: 80.01 MB / 0.5627 GB, free: 19.77 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004789/0.0004791, allocations: 12 kB / 0.6265 GB, free: 96.53 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1042, allocations: 54.87 MB / 0.6801 GB, free: 41.65 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.14/1.244, allocations: 329.9 MB / 1.002 GB, free: 93.11 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003063/1.245, allocations: 86.45 kB / 1.002 GB, free: 93.07 MB / 490.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Interfaces.mo:327:3-329:69:writable] Warning: Inherited elements are not identical: bug: https://trac.modelica.org/Modelica/ticket/627 first: Medium.MassFlowRate m_flow(min = if allowFlowReversal then -Modelica.Constants.inf else 0, start = m_flow_start, stateSelect = if momentumDynamics == Modelica.Fluid.Types.Dynamics.SteadyState then StateSelect.default else StateSelect.prefer) "mass flow rates between states" second: Medium.MassFlowRate m_flow(min = if allowFlowReversal then -Modelica.Constants.inf else 0, start = m_flow_start) "Mass flow rate in design flow direction" Continue .... [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Interfaces.mo:327:3-329:69:writable] Warning: Inherited elements are not identical: bug: https://trac.modelica.org/Modelica/ticket/627 first: Medium.MassFlowRate m_flow(min = if allowFlowReversal then -Modelica.Constants.inf else 0, start = m_flow_start, stateSelect = if momentumDynamics == Modelica.Fluid.Types.Dynamics.SteadyState then StateSelect.default else StateSelect.prefer) "mass flow rates between states" second: Medium.MassFlowRate m_flow(min = if allowFlowReversal then -Modelica.Constants.inf else 0, start = m_flow_start) "Mass flow rate in design flow direction" Continue .... Notification: Performance of FrontEnd - DAE generated: time 1.888/3.133, allocations: 330.2 MB / 1.325 GB, free: 70.23 MB / 490.7 MB Notification: Performance of FrontEnd: time 4.078e-06/3.133, allocations: 3.906 kB / 1.325 GB, free: 70.23 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002011/3.133, allocations: 39.52 kB / 1.325 GB, free: 70.23 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 254 * Number of variables: 254 Notification: Performance of Generate backend data structure: time 0.007519/3.141, allocations: 1.956 MB / 1.327 GB, free: 69.36 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/3.141, allocations: 11.62 kB / 1.327 GB, free: 69.36 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001438/3.143, allocations: 182.9 kB / 1.327 GB, free: 69.29 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00386/3.146, allocations: 1.118 MB / 1.328 GB, free: 68.98 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001158/3.147, allocations: 78.55 kB / 1.328 GB, free: 68.98 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003084/3.147, allocations: 93.12 kB / 1.328 GB, free: 68.98 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003826/3.151, allocations: 1.468 MB / 1.33 GB, free: 68.68 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.271e-05/3.151, allocations: 5.906 kB / 1.33 GB, free: 68.68 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002552/3.151, allocations: 47.81 kB / 1.33 GB, free: 68.68 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001006/3.151, allocations: 52.8 kB / 1.33 GB, free: 68.68 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003622/3.155, allocations: 1.316 MB / 1.331 GB, free: 68.66 MB / 490.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01302/3.168, allocations: 6.55 MB / 1.337 GB, free: 64.87 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001322/3.169, allocations: 0.4994 MB / 1.338 GB, free: 64.85 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007532/3.17, allocations: 307.4 kB / 1.338 GB, free: 64.84 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02935/3.199, allocations: 16.94 MB / 1.355 GB, free: 48.27 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000605/3.2, allocations: 282.4 kB / 1.355 GB, free: 48.19 MB / 490.7 MB Notification: Performance of pre-optimization done (n=42): time 3.877e-06/3.2, allocations: 0 / 1.355 GB, free: 48.19 MB / 490.7 MB Notification: Performance of matching and sorting (n=42): time 0.001986/3.202, allocations: 0.6728 MB / 1.356 GB, free: 48.06 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.421e-05/3.202, allocations: 271.7 kB / 1.356 GB, free: 47.75 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002095/3.204, allocations: 1.147 MB / 1.357 GB, free: 47.57 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001636/3.205, allocations: 39.33 kB / 1.357 GB, free: 47.54 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006868/3.205, allocations: 0.7846 MB / 1.358 GB, free: 47.14 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002407/3.206, allocations: 147.4 kB / 1.358 GB, free: 47.06 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.877e-05/3.206, allocations: 26.53 kB / 1.358 GB, free: 47.06 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001037/3.206, allocations: 350 kB / 1.358 GB, free: 46.75 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007124/3.206, allocations: 269.1 kB / 1.359 GB, free: 46.75 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00109/3.208, allocations: 0.9661 MB / 1.36 GB, free: 45.87 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001096/3.209, allocations: 472.8 kB / 1.36 GB, free: 45.83 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.578e-05/3.209, allocations: 3.906 kB / 1.36 GB, free: 45.83 MB / 490.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003405/3.212, allocations: 1.303 MB / 1.361 GB, free: 45.7 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000502/3.213, allocations: 0.7985 MB / 1.362 GB, free: 44.77 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.461e-05/3.213, allocations: 26.84 kB / 1.362 GB, free: 44.77 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.71e-05/3.213, allocations: 31.69 kB / 1.362 GB, free: 44.77 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003798/3.217, allocations: 428.8 kB / 1.363 GB, free: 44.77 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008071/3.217, allocations: 1.282 MB / 1.364 GB, free: 43.59 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002076/3.22, allocations: 186 kB / 1.364 GB, free: 43.51 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002817/3.22, allocations: 86.28 kB / 1.364 GB, free: 43.51 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/3.22, allocations: 3.938 kB / 1.364 GB, free: 43.51 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002821/3.223, allocations: 1.144 MB / 1.365 GB, free: 43.47 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.779e-05/3.223, allocations: 20.88 kB / 1.365 GB, free: 43.47 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.71e-05/3.223, allocations: 35.84 kB / 1.365 GB, free: 43.47 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001844/3.225, allocations: 322.2 kB / 1.365 GB, free: 43.47 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003782/3.225, allocations: 0.6408 MB / 1.366 GB, free: 42.88 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001797/3.227, allocations: 141.2 kB / 1.366 GB, free: 42.83 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002553/3.227, allocations: 82.41 kB / 1.366 GB, free: 42.83 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 104 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,p_table.a,p_table.b,p_table.last,$PRE.p_table.nextEvent,p_table.nextEvent,p_table.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009498/3.228, allocations: 449.6 kB / 1.367 GB, free: 42.6 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003236/3.229, allocations: 120.8 kB / 1.367 GB, free: 42.54 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003478/3.232, allocations: 1.191 MB / 1.368 GB, free: 42.38 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-05/3.232, allocations: 7.812 kB / 1.368 GB, free: 42.38 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/3.232, allocations: 0 / 1.368 GB, free: 42.38 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.668e-06/3.232, allocations: 3.797 kB / 1.368 GB, free: 42.38 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004003/3.236, allocations: 1.765 MB / 1.37 GB, free: 42 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/3.236, allocations: 0 / 1.37 GB, free: 42 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003049/3.239, allocations: 248.8 kB / 1.37 GB, free: 42 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.295e-05/3.239, allocations: 3.812 kB / 1.37 GB, free: 42 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001064/3.239, allocations: 18.64 kB / 1.37 GB, free: 42 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006382/3.24, allocations: 1.228 MB / 1.371 GB, free: 40.82 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/3.24, allocations: 3.938 kB / 1.371 GB, free: 40.82 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001846/3.242, allocations: 0.818 MB / 1.372 GB, free: 40.56 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005105/3.243, allocations: 240.4 kB / 1.372 GB, free: 40.39 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002812/3.243, allocations: 17.69 kB / 1.372 GB, free: 40.39 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009087/3.244, allocations: 47.47 kB / 1.372 GB, free: 40.38 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001219/3.244, allocations: 45.86 kB / 1.372 GB, free: 40.38 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001001/3.244, allocations: 32.59 kB / 1.372 GB, free: 40.38 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001569/3.246, allocations: 0.7892 MB / 1.373 GB, free: 40.27 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.774e-06/3.246, allocations: 3.625 kB / 1.373 GB, free: 40.27 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00578/3.251, allocations: 1.35 MB / 1.374 GB, free: 39.97 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (61): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00481/3.256, allocations: 1.313 MB / 1.376 GB, free: 39.59 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007163/3.263, allocations: 1.726 MB / 1.377 GB, free: 39.46 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.296e-06/3.264, allocations: 2.562 kB / 1.377 GB, free: 39.46 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004762/3.268, allocations: 0.5776 MB / 1.378 GB, free: 39.39 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003789/3.272, allocations: 414.3 kB / 1.378 GB, free: 39.37 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006691/3.279, allocations: 3.089 MB / 1.381 GB, free: 38.16 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007195/3.28, allocations: 1.197 MB / 1.383 GB, free: 37.45 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002816/3.282, allocations: 461 kB / 1.383 GB, free: 37.38 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004161/3.283, allocations: 129.2 kB / 1.383 GB, free: 37.38 MB / 490.7 MB Notification: Performance of SimCode: time 1.182e-06/3.283, allocations: 0 / 1.383 GB, free: 37.38 MB / 490.7 MB Notification: Performance of Templates: time 0.07507/3.358, allocations: 31.12 MB / 1.414 GB, free: 35.13 MB / 490.7 MB