Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.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: translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ramp.y|boundary.ports.1..m_flow|boundary.ports.1..p|boundary.ports.1..h_outflow|sensor.port_b.m_flow|sensor.port_b.p|sensor.port_b.h_outflow|fitting1.port_b.m_flow|fitting1.port_b.p|fitting1.port_b.h_outflow|fitting2.port_b.m_flow|fitting2.port_b.p|fitting2.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002672/0.002677, allocations: 347.6 kB / 15.94 MB, free: 6.215 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 3.32/3.32, allocations: 341.5 MB / 358.2 MB, free: 28.62 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003689/0.003689, allocations: 204.8 kB / 397.8 MB, free: 6.004 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.4927/0.4927, allocations: 76.1 MB / 0.5014 GB, free: 0.8047 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004473/0.0004475, allocations: 16 kB / 0.5592 GB, free: 60.24 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1415, allocations: 48.71 MB / 0.6067 GB, free: 11.53 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.086/2.228, allocations: 0.6015 GB / 1.208 GB, free: 111.2 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003442/2.228, allocations: 98.88 kB / 1.208 GB, free: 111.2 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.216/3.444, allocations: 231.1 MB / 1.434 GB, free: 62.74 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.124e-06/3.444, allocations: 0 / 1.434 GB, free: 62.74 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.012e-05/3.444, allocations: 16 kB / 1.434 GB, free: 62.73 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.002929/3.447, allocations: 1.003 MB / 1.435 GB, free: 61.68 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/3.447, allocations: 16.03 kB / 1.435 GB, free: 61.66 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001473/3.449, allocations: 139.2 kB / 1.435 GB, free: 61.52 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001661/3.45, allocations: 0.5366 MB / 1.436 GB, free: 60.95 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.391e-05/3.451, allocations: 29 kB / 1.436 GB, free: 60.92 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.707e-05/3.451, allocations: 48 kB / 1.436 GB, free: 60.87 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001671/3.452, allocations: 0.5884 MB / 1.436 GB, free: 60.24 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.335e-05/3.452, allocations: 7.875 kB / 1.436 GB, free: 60.23 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.276e-05/3.453, allocations: 20 kB / 1.436 GB, free: 60.21 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.431e-05/3.453, allocations: 12 kB / 1.436 GB, free: 60.2 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001437/3.454, allocations: 491.6 kB / 1.437 GB, free: 59.72 MB / 442.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.003921/3.458, allocations: 2.62 MB / 1.439 GB, free: 56.88 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001041/3.459, allocations: 325.3 kB / 1.44 GB, free: 56.55 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004491/3.459, allocations: 173.3 kB / 1.44 GB, free: 56.38 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001703/3.461, allocations: 1.317 MB / 1.441 GB, free: 54.84 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.952e-05/3.461, allocations: 34.84 kB / 1.441 GB, free: 54.8 MB / 442.7 MB Notification: Performance of pre-optimization done (n=33): time 3.366e-06/3.461, allocations: 0 / 1.441 GB, free: 54.8 MB / 442.7 MB Notification: Performance of matching and sorting (n=33): time 0.002665/3.464, allocations: 0.7011 MB / 1.442 GB, free: 54.07 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.886e-05/3.464, allocations: 136.5 kB / 1.442 GB, free: 53.91 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006869/3.465, allocations: 433.8 kB / 1.442 GB, free: 53.48 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.435e-05/3.465, allocations: 33.7 kB / 1.442 GB, free: 53.44 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001991/3.465, allocations: 299.5 kB / 1.443 GB, free: 53.14 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001223/3.465, allocations: 118.2 kB / 1.443 GB, free: 53.02 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.491e-05/3.465, allocations: 12 kB / 1.443 GB, free: 53.01 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001076/3.465, allocations: 362.8 kB / 1.443 GB, free: 52.65 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005495/3.466, allocations: 185 kB / 1.443 GB, free: 52.47 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006263/3.467, allocations: 359.3 kB / 1.444 GB, free: 52.04 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006659/3.467, allocations: 243.4 kB / 1.444 GB, free: 51.8 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/3.467, allocations: 0 / 1.444 GB, free: 51.8 MB / 442.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001802/3.469, allocations: 0.6702 MB / 1.445 GB, free: 51.12 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.772e-05/3.469, allocations: 8 kB / 1.445 GB, free: 51.12 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/3.469, allocations: 4 kB / 1.445 GB, free: 51.11 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002252/3.471, allocations: 241 kB / 1.445 GB, free: 50.88 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001028/3.472, allocations: 159.8 kB / 1.445 GB, free: 50.72 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009246/3.482, allocations: 28.73 MB / 1.473 GB, free: 20.03 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000857/3.483, allocations: 71.44 kB / 1.473 GB, free: 19.96 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000172/3.483, allocations: 56.05 kB / 1.473 GB, free: 19.91 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (63): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 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.0004157/3.483, allocations: 182.9 kB / 1.473 GB, free: 19.72 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001493/3.483, allocations: 55.39 kB / 1.473 GB, free: 19.66 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002445/3.486, allocations: 0.6779 MB / 1.474 GB, free: 18.98 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.556e-06/3.486, allocations: 4 kB / 1.474 GB, free: 18.98 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/3.486, allocations: 0 / 1.474 GB, free: 18.98 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/3.486, allocations: 3.984 kB / 1.474 GB, free: 18.97 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003175/3.489, allocations: 1.5 MB / 1.476 GB, free: 17.32 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.964e-06/3.489, allocations: 0 / 1.476 GB, free: 17.32 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003907/3.49, allocations: 68.12 kB / 1.476 GB, free: 17.25 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002121/3.492, allocations: 232.6 kB / 1.476 GB, free: 17.02 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.075e-05/3.492, allocations: 16 kB / 1.476 GB, free: 17 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005084/3.492, allocations: 0.599 MB / 1.476 GB, free: 16.38 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/3.492, allocations: 7.969 kB / 1.476 GB, free: 16.37 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001215/3.494, allocations: 0.51 MB / 1.477 GB, free: 15.82 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002479/3.494, allocations: 148.4 kB / 1.477 GB, free: 15.66 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001248/3.494, allocations: 11.98 kB / 1.477 GB, free: 15.64 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005321/3.495, allocations: 43.88 kB / 1.477 GB, free: 15.6 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.385e-05/3.495, allocations: 19.97 kB / 1.477 GB, free: 15.58 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.73e-05/3.495, allocations: 20 kB / 1.477 GB, free: 15.56 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.000548/3.495, allocations: 326.9 kB / 1.477 GB, free: 15.25 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.3e-07/3.495, allocations: 0 / 1.477 GB, free: 15.25 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002717/3.498, allocations: 427.4 kB / 1.478 GB, free: 14.83 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (28): * Single equations (assignments): 27 * 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.00299/3.501, allocations: 1.166 MB / 1.479 GB, free: 13.66 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001953/3.503, allocations: 492.6 kB / 1.479 GB, free: 13.18 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.163e-06/3.503, allocations: 3.938 kB / 1.48 GB, free: 13.17 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005463/3.504, allocations: 172.2 kB / 1.48 GB, free: 13 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002315/3.506, allocations: 235.9 kB / 1.48 GB, free: 12.78 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003998/3.51, allocations: 1.644 MB / 1.481 GB, free: 11.09 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003593/3.511, allocations: 0.8706 MB / 1.482 GB, free: 10.19 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001455/3.512, allocations: 191.1 kB / 1.483 GB, free: 10.02 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003651/3.512, allocations: 79.34 kB / 1.483 GB, free: 9.941 MB / 442.7 MB Notification: Performance of SimCode: time 1.523e-06/3.512, allocations: 0 / 1.483 GB, free: 9.941 MB / 442.7 MB Notification: Performance of Templates: time 0.3756/3.888, allocations: 24.13 MB / 1.506 GB, free: 81.36 MB / 442.7 MB