Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.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.Dissipation.TestCases.PressureLoss.Orifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|input_mflow.y|input_p.y|IN_p.ports.1..m_flow|IN_p.ports.1..p|IN_p.ports.1..h_outflow|OUT_dp.ports.1..m_flow|OUT_dp.ports.1..p|OUT_dp.ports.1..h_outflow|OUT_mflow.ports.1..m_flow|OUT_mflow.ports.1..p|OUT_mflow.ports.1..h_outflow|IN_mflow.ports.1..m_flow|IN_mflow.ports.1..p|IN_mflow.ports.1..h_outflow|from_dp.port_b.m_flow|from_dp.port_b.p|from_dp.port_b.h_outflow|from_mflow.port_b.m_flow|from_mflow.port_b.p|from_mflow.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004492/0.004497, allocations: 360.5 kB / 15.95 MB, free: 6.207 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.999/3.999, allocations: 388.9 MB / 405.6 MB, free: 47.9 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003554/0.003553, allocations: 224.8 kB / 451 MB, free: 2.383 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.9395/0.9395, allocations: 80.02 MB / 0.5627 GB, free: 5.988 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004696/0.0004698, allocations: 12 kB / 0.6265 GB, free: 4.555 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1497/0.1502, allocations: 54.89 MB / 0.6801 GB, free: 13.53 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.35/2.5, allocations: 0.6093 GB / 1.289 GB, free: 140.5 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004412/2.5, allocations: 98.17 kB / 1.289 GB, free: 140.5 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.379/3.879, allocations: 268.1 MB / 1.551 GB, free: 81.35 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.446e-06/3.879, allocations: 0 / 1.551 GB, free: 81.35 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.143e-05/3.879, allocations: 19.91 kB / 1.551 GB, free: 81.34 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.004145/3.883, allocations: 1.28 MB / 1.553 GB, free: 80.02 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/3.883, allocations: 15.95 kB / 1.553 GB, free: 80 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001745/3.885, allocations: 162.4 kB / 1.553 GB, free: 79.85 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001402/3.887, allocations: 0.5211 MB / 1.553 GB, free: 79.29 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.284e-05/3.887, allocations: 37 kB / 1.553 GB, free: 79.26 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.932e-05/3.887, allocations: 40 kB / 1.553 GB, free: 79.22 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001541/3.888, allocations: 0.6517 MB / 1.554 GB, free: 78.53 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.167e-05/3.888, allocations: 3.984 kB / 1.554 GB, free: 78.52 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.846e-05/3.889, allocations: 24 kB / 1.554 GB, free: 78.5 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.402e-05/3.889, allocations: 8 kB / 1.554 GB, free: 78.49 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001334/3.89, allocations: 0.4988 MB / 1.554 GB, free: 78 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.003793/3.894, allocations: 2.587 MB / 1.557 GB, free: 75.25 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009308/3.895, allocations: 301.1 kB / 1.557 GB, free: 74.95 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003963/3.895, allocations: 170.9 kB / 1.557 GB, free: 74.78 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001662/3.897, allocations: 1.313 MB / 1.559 GB, free: 73.26 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.172e-05/3.897, allocations: 42.42 kB / 1.559 GB, free: 73.21 MB / 490.7 MB Notification: Performance of pre-optimization done (n=35): time 3.937e-06/3.897, allocations: 0 / 1.559 GB, free: 73.21 MB / 490.7 MB Notification: Performance of matching and sorting (n=35): time 0.002374/3.899, allocations: 0.6812 MB / 1.559 GB, free: 72.5 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.947e-05/3.899, allocations: 162.2 kB / 1.56 GB, free: 72.3 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007043/3.9, allocations: 449.8 kB / 1.56 GB, free: 71.86 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.008e-05/3.9, allocations: 32.61 kB / 1.56 GB, free: 71.82 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002258/3.9, allocations: 326.9 kB / 1.56 GB, free: 71.5 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001267/3.9, allocations: 118.3 kB / 1.56 GB, free: 71.39 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.231e-05/3.901, allocations: 8 kB / 1.56 GB, free: 71.38 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001088/3.901, allocations: 358.8 kB / 1.561 GB, free: 71.02 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003953/3.901, allocations: 145 kB / 1.561 GB, free: 70.88 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005228/3.902, allocations: 370.6 kB / 1.561 GB, free: 70.42 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005262/3.902, allocations: 208.3 kB / 1.562 GB, free: 70.22 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/3.902, allocations: 0 / 1.562 GB, free: 70.22 MB / 490.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001507/3.904, allocations: 0.5948 MB / 1.562 GB, free: 69.61 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.476e-05/3.904, allocations: 8 kB / 1.562 GB, free: 69.61 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.406e-05/3.904, allocations: 4 kB / 1.562 GB, free: 69.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002177/3.906, allocations: 241.3 kB / 1.562 GB, free: 69.36 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006932/3.907, allocations: 135.8 kB / 1.562 GB, free: 69.23 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005096/3.907, allocations: 0.5984 MB / 1.563 GB, free: 68.61 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006999/3.908, allocations: 67.36 kB / 1.563 GB, free: 68.54 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001142/3.908, allocations: 55.98 kB / 1.563 GB, free: 68.49 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0004025/3.908, allocations: 197.7 kB / 1.563 GB, free: 68.29 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001223/3.909, allocations: 59.3 kB / 1.563 GB, free: 68.23 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002363/3.911, allocations: 0.664 MB / 1.564 GB, free: 67.55 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.596e-06/3.911, allocations: 4 kB / 1.564 GB, free: 67.55 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/3.911, allocations: 0 / 1.564 GB, free: 67.55 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.436e-06/3.911, allocations: 7.922 kB / 1.564 GB, free: 67.54 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004182/3.915, allocations: 2.529 MB / 1.567 GB, free: 64.71 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/3.915, allocations: 0 / 1.567 GB, free: 64.71 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004207/3.916, allocations: 75.91 kB / 1.567 GB, free: 64.64 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002075/3.918, allocations: 228.9 kB / 1.567 GB, free: 64.41 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.957e-05/3.918, allocations: 16 kB / 1.567 GB, free: 64.39 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004726/3.918, allocations: 0.5874 MB / 1.567 GB, free: 63.78 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/3.918, allocations: 4.031 kB / 1.567 GB, free: 63.78 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001191/3.92, allocations: 0.5708 MB / 1.568 GB, free: 63.16 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002336/3.92, allocations: 144.4 kB / 1.568 GB, free: 63 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001241/3.92, allocations: 15.89 kB / 1.568 GB, free: 62.98 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005029/3.92, allocations: 35.92 kB / 1.568 GB, free: 62.95 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.864e-05/3.921, allocations: 35.89 kB / 1.568 GB, free: 62.91 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.999e-05/3.921, allocations: 31.98 kB / 1.568 GB, free: 62.88 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0005024/3.921, allocations: 306.9 kB / 1.569 GB, free: 62.58 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.8e-07/3.921, allocations: 4 kB / 1.569 GB, free: 62.58 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002056/3.923, allocations: 451.4 kB / 1.569 GB, free: 62.14 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002861/3.926, allocations: 1.281 MB / 1.57 GB, free: 61.03 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00137/3.928, allocations: 416.4 kB / 1.571 GB, free: 60.62 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.785e-06/3.928, allocations: 4.375 kB / 1.571 GB, free: 60.62 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004893/3.928, allocations: 196.2 kB / 1.571 GB, free: 60.43 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002635/3.931, allocations: 286.6 kB / 1.571 GB, free: 60.16 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00377/3.935, allocations: 1.579 MB / 1.573 GB, free: 58.56 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000408/3.935, allocations: 0.8869 MB / 1.573 GB, free: 57.64 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001498/3.936, allocations: 195.8 kB / 1.574 GB, free: 57.46 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000461/3.937, allocations: 95.41 kB / 1.574 GB, free: 57.37 MB / 490.7 MB Notification: Performance of SimCode: time 1.553e-06/3.937, allocations: 0 / 1.574 GB, free: 57.37 MB / 490.7 MB Notification: Performance of Templates: time 0.05625/3.993, allocations: 25.2 MB / 1.598 GB, free: 32.31 MB / 490.7 MB