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.0026/0.002599, allocations: 367.9 kB / 15.96 MB, free: 6.199 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.764/3.764, allocations: 388.9 MB / 405.6 MB, free: 10.33 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.003568/0.003567, allocations: 239.9 kB / 451 MB, free: 145.1 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.4895/0.4895, allocations: 80.02 MB / 0.5627 GB, free: 19.86 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006857/0.0006864, allocations: 15.98 kB / 0.6265 GB, free: 96.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1271, allocations: 54.86 MB / 0.6801 GB, free: 41.67 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction): time 0.05832/0.1855, allocations: 33.22 MB / 0.7125 GB, free: 8.344 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.4409/0.6265, allocations: 15.08 MB / 0.7273 GB, free: 13.6 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00249/0.629, allocations: 57.8 kB / 0.7273 GB, free: 13.6 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003357/0.6325, allocations: 496.1 kB / 0.7278 GB, free: 13.59 MB / 346.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+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.2+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.2+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.2+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.2+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.2+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.2+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.2+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.2+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.2+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.2+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.2+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.0116/0.6441, allocations: 2.067 MB / 0.7298 GB, free: 13.5 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01641/0.6606, allocations: 2.742 MB / 0.7325 GB, free: 13.37 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.009925/0.6705, allocations: 4.084 MB / 0.7365 GB, free: 12.71 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002977/0.6736, allocations: 0.813 MB / 0.7373 GB, free: 12.58 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005301/0.6789, allocations: 1.215 MB / 0.7385 GB, free: 12.32 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00478/0.6838, allocations: 1.15 MB / 0.7396 GB, free: 12.12 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009154/0.6847, allocations: 61.88 kB / 0.7396 GB, free: 12.12 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01288/0.6976, allocations: 2.592 MB / 0.7422 GB, free: 12 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001432/0.6991, allocations: 340.4 kB / 0.7425 GB, free: 11.94 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001294/0.7005, allocations: 305.8 kB / 0.7428 GB, free: 11.87 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009481/0.71, allocations: 2.624 MB / 0.7453 GB, free: 10.86 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.355e-06/0.7101, allocations: 0 / 0.7453 GB, free: 10.86 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.138e-06/0.7101, allocations: 0 / 0.7453 GB, free: 10.86 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.741e-05/0.7102, allocations: 0 / 0.7453 GB, free: 10.86 MB / 346.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.007493/0.7177, allocations: 1.864 MB / 0.7472 GB, free: 9.582 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.998e-05/0.7178, allocations: 7.484 kB / 0.7472 GB, free: 9.582 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001709/0.7195, allocations: 178.3 kB / 0.7473 GB, free: 9.5 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003962/0.7235, allocations: 1.033 MB / 0.7484 GB, free: 8.949 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001734/0.7238, allocations: 81.75 kB / 0.7484 GB, free: 8.941 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000387/0.7242, allocations: 92.77 kB / 0.7485 GB, free: 8.941 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005395/0.7296, allocations: 1.424 MB / 0.7499 GB, free: 8.418 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.999e-05/0.7297, allocations: 6.094 kB / 0.7499 GB, free: 8.414 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000318/0.73, allocations: 48.58 kB / 0.75 GB, free: 8.414 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001606/0.7302, allocations: 53.23 kB / 0.75 GB, free: 8.406 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005427/0.7357, allocations: 1.33 MB / 0.7513 GB, free: 8.18 MB / 346.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.01823/0.754, allocations: 6.591 MB / 0.7577 GB, free: 3.469 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002134/0.7562, allocations: 0.5202 MB / 0.7583 GB, free: 3.375 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001212/0.7574, allocations: 314.4 kB / 0.7586 GB, free: 3.332 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04459/0.802, allocations: 15.36 MB / 0.7736 GB, free: 3.055 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001056/0.8032, allocations: 291 kB / 0.7738 GB, free: 2.754 MB / 362.7 MB Notification: Performance of pre-optimization done (n=42): time 6.051e-06/0.8032, allocations: 0 / 0.7738 GB, free: 2.754 MB / 362.7 MB Notification: Performance of matching and sorting (n=42): time 0.003114/0.8063, allocations: 0.6806 MB / 0.7745 GB, free: 2.062 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002128/0.8066, allocations: 269 kB / 0.7748 GB, free: 1.738 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003471/0.8101, allocations: 1.12 MB / 0.7759 GB, free: 0.6094 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002339/0.8104, allocations: 33.7 kB / 0.7759 GB, free: 0.5703 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00132/0.8118, allocations: 0.7815 MB / 0.7766 GB, free: 15.78 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000418/0.8122, allocations: 157.3 kB / 0.7768 GB, free: 15.63 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001455/0.8124, allocations: 24 kB / 0.7768 GB, free: 15.61 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002467/0.8126, allocations: 349.9 kB / 0.7772 GB, free: 15.26 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001224/0.8139, allocations: 270.5 kB / 0.7774 GB, free: 14.99 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00221/0.8161, allocations: 0.9773 MB / 0.7784 GB, free: 13.68 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001951/0.8182, allocations: 480.5 kB / 0.7788 GB, free: 13.21 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.469e-05/0.8183, allocations: 8 kB / 0.7788 GB, free: 13.21 MB / 378.7 MB Notification: Performance of matching and sorting (n=155) (initialization): time 0.005797/0.8241, allocations: 1.315 MB / 0.7801 GB, free: 11.88 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001087/0.8252, allocations: 0.8072 MB / 0.7809 GB, free: 10.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.206e-05/0.8253, allocations: 27.95 kB / 0.7809 GB, free: 10.71 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.963e-05/0.8255, allocations: 36 kB / 0.781 GB, free: 10.67 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004329/0.8298, allocations: 395.3 kB / 0.7813 GB, free: 10.29 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001566/0.8314, allocations: 1.246 MB / 0.7826 GB, free: 8.992 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00301/0.8345, allocations: 192.7 kB / 0.7827 GB, free: 8.805 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004235/0.835, allocations: 83.98 kB / 0.7828 GB, free: 8.723 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.835, allocations: 0 / 0.7828 GB, free: 8.723 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00468/0.8397, allocations: 1.181 MB / 0.784 GB, free: 7.535 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.754e-05/0.8398, allocations: 24 kB / 0.784 GB, free: 7.512 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.251e-05/0.8399, allocations: 36 kB / 0.784 GB, free: 7.477 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002909/0.8429, allocations: 323.5 kB / 0.7843 GB, free: 7.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007466/0.8437, allocations: 0.6368 MB / 0.785 GB, free: 6.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00259/0.8463, allocations: 143.1 kB / 0.7851 GB, free: 6.359 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004097/0.8467, allocations: 75.98 kB / 0.7852 GB, free: 6.285 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 107 * 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 (149): * Single equations (assignments): 146 * 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.001433/0.8482, allocations: 458.5 kB / 0.7856 GB, free: 5.824 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004893/0.8487, allocations: 118.5 kB / 0.7857 GB, free: 5.707 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005869/0.8546, allocations: 1.219 MB / 0.7869 GB, free: 4.496 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.053e-05/0.8547, allocations: 3.984 kB / 0.7869 GB, free: 4.492 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.448e-05/0.8547, allocations: 3.953 kB / 0.7869 GB, free: 4.488 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009126/0.8556, allocations: 245.9 kB / 0.7872 GB, free: 4.23 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005706/0.8562, allocations: 12 kB / 0.7872 GB, free: 4.219 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001336/0.8576, allocations: 43.91 kB / 0.7872 GB, free: 4.176 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001931/0.8578, allocations: 40.52 kB / 0.7872 GB, free: 4.137 MB / 378.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003029/0.8609, allocations: 0.8161 MB / 0.788 GB, free: 3.312 MB / 378.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003975/0.8649, allocations: 1.183 MB / 0.7892 GB, free: 2.113 MB / 378.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009414/0.8659, allocations: 284.5 kB / 0.7895 GB, free: 1.836 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002614/0.8685, allocations: 0.7643 MB / 0.7902 GB, free: 1.07 MB / 378.7 MB Notification: Performance of Backend: time 1.433e-06/0.8686, allocations: 8 kB / 0.7902 GB, free: 1.062 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.01484/0.8834, allocations: 2.482 MB / 0.7926 GB, free: 14.65 MB / 394.7 MB Notification: Performance of SimCode: time 0.01148/0.895, allocations: 3.201 MB / 0.7958 GB, free: 11.39 MB / 394.7 MB Notification: Performance of Templates: time 0.1284/1.023, allocations: 32.2 MB / 0.8272 GB, free: 11.38 MB / 426.7 MB