Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.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.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.2_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004126/0.004132, allocations: 360 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 4.03/4.03, allocations: 388.9 MB / 405.6 MB, free: 9.57 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.003542/0.003541, allocations: 236.7 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.5212/0.5212, allocations: 80.02 MB / 0.5627 GB, free: 19.77 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006493/0.0006497, allocations: 20.95 kB / 0.6265 GB, free: 96.53 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1041, allocations: 54.87 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.247/2.352, allocations: 0.6082 GB / 1.288 GB, free: 153.4 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003662/2.352, allocations: 109.4 kB / 1.288 GB, free: 153.4 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.19/3.542, allocations: 231.2 MB / 1.514 GB, free: 102.6 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.404e-06/3.542, allocations: 3.5 kB / 1.514 GB, free: 102.6 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.108e-05/3.542, allocations: 22.78 kB / 1.514 GB, free: 102.6 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: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.002824/3.545, allocations: 1.004 MB / 1.515 GB, free: 102 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/3.545, allocations: 8.156 kB / 1.515 GB, free: 102 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001439/3.547, allocations: 139.3 kB / 1.515 GB, free: 102 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001447/3.548, allocations: 0.54 MB / 1.516 GB, free: 101.8 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.815e-05/3.548, allocations: 33.38 kB / 1.516 GB, free: 101.8 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.531e-05/3.548, allocations: 42.19 kB / 1.516 GB, free: 101.8 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001529/3.55, allocations: 0.5919 MB / 1.517 GB, free: 101.6 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.041e-05/3.55, allocations: 3.469 kB / 1.517 GB, free: 101.6 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.63e-05/3.55, allocations: 17.38 kB / 1.517 GB, free: 101.6 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.468e-05/3.55, allocations: 13.56 kB / 1.517 GB, free: 101.6 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001375/3.551, allocations: 498.3 kB / 1.517 GB, free: 101.6 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.003775/3.555, allocations: 2.619 MB / 1.52 GB, free: 99.87 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009809/3.556, allocations: 318.7 kB / 1.52 GB, free: 99.84 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004479/3.557, allocations: 183.7 kB / 1.52 GB, free: 99.83 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00161/3.558, allocations: 1.318 MB / 1.521 GB, free: 98.7 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.041e-05/3.558, allocations: 37.03 kB / 1.521 GB, free: 98.66 MB / 490.7 MB Notification: Performance of pre-optimization done (n=33): time 3.737e-06/3.558, allocations: 0 / 1.521 GB, free: 98.66 MB / 490.7 MB Notification: Performance of matching and sorting (n=33): time 0.002503/3.561, allocations: 0.6963 MB / 1.522 GB, free: 98.49 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.418e-05/3.561, allocations: 135.4 kB / 1.522 GB, free: 98.34 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006987/3.562, allocations: 441.2 kB / 1.523 GB, free: 98.22 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.138e-05/3.562, allocations: 32.92 kB / 1.523 GB, free: 98.19 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002072/3.562, allocations: 297.5 kB / 1.523 GB, free: 98.04 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000122/3.562, allocations: 125.9 kB / 1.523 GB, free: 97.98 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.45e-05/3.562, allocations: 7.688 kB / 1.523 GB, free: 97.98 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001081/3.562, allocations: 354.8 kB / 1.523 GB, free: 97.67 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000543/3.563, allocations: 190.3 kB / 1.524 GB, free: 97.67 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006313/3.564, allocations: 364.4 kB / 1.524 GB, free: 97.47 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006188/3.564, allocations: 233.1 kB / 1.524 GB, free: 97.47 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/3.564, allocations: 0 / 1.524 GB, free: 97.47 MB / 490.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001877/3.566, allocations: 0.6704 MB / 1.525 GB, free: 97.4 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.773e-05/3.566, allocations: 3.75 kB / 1.525 GB, free: 97.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.544e-05/3.566, allocations: 7.531 kB / 1.525 GB, free: 97.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002212/3.568, allocations: 243.2 kB / 1.525 GB, free: 97.39 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001088/3.57, allocations: 159.9 kB / 1.525 GB, free: 97.39 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009809/3.579, allocations: 28.73 MB / 1.553 GB, free: 67.78 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008963/3.58, allocations: 63.75 kB / 1.553 GB, free: 67.77 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001306/3.581, allocations: 65.5 kB / 1.553 GB, free: 67.77 MB / 490.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.0004234/3.581, allocations: 185.7 kB / 1.554 GB, free: 67.65 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001367/3.581, allocations: 49.06 kB / 1.554 GB, free: 67.62 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002413/3.584, allocations: 0.6708 MB / 1.554 GB, free: 67.51 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.087e-06/3.584, allocations: 5.344 kB / 1.554 GB, free: 67.51 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/3.584, allocations: 3.953 kB / 1.554 GB, free: 67.51 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/3.584, allocations: 0 / 1.554 GB, free: 67.51 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00308/3.587, allocations: 1.504 MB / 1.556 GB, free: 66.75 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.995e-06/3.587, allocations: 3.375 kB / 1.556 GB, free: 66.75 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003777/3.587, allocations: 60.83 kB / 1.556 GB, free: 66.74 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002107/3.589, allocations: 237.7 kB / 1.556 GB, free: 66.73 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.338e-05/3.589, allocations: 15.06 kB / 1.556 GB, free: 66.73 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005143/3.59, allocations: 0.5841 MB / 1.557 GB, free: 66.21 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.691e-06/3.59, allocations: 11.69 kB / 1.557 GB, free: 66.21 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001242/3.591, allocations: 0.5112 MB / 1.557 GB, free: 65.98 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002722/3.591, allocations: 149.8 kB / 1.557 GB, free: 65.86 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001256/3.592, allocations: 7.281 kB / 1.557 GB, free: 65.86 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005462/3.592, allocations: 37.44 kB / 1.557 GB, free: 65.86 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.842e-05/3.592, allocations: 36.56 kB / 1.557 GB, free: 65.85 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.699e-05/3.592, allocations: 18.48 kB / 1.557 GB, free: 65.85 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0005702/3.593, allocations: 327.3 kB / 1.558 GB, free: 65.77 MB / 490.7 MB Notification: Performance of sort global known variables: time 6.71e-07/3.593, allocations: 6.25 kB / 1.558 GB, free: 65.76 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002694/3.596, allocations: 424 kB / 1.558 GB, free: 65.71 MB / 490.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.003018/3.599, allocations: 1.174 MB / 1.559 GB, free: 65.49 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001994/3.601, allocations: 491.5 kB / 1.56 GB, free: 65.47 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.973e-06/3.601, allocations: 0 / 1.56 GB, free: 65.47 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005764/3.601, allocations: 165.7 kB / 1.56 GB, free: 65.46 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002329/3.604, allocations: 240.3 kB / 1.56 GB, free: 65.44 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004136/3.608, allocations: 1.652 MB / 1.562 GB, free: 64.83 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004297/3.608, allocations: 0.8655 MB / 1.563 GB, free: 64.12 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001554/3.61, allocations: 192.4 kB / 1.563 GB, free: 64.11 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003824/3.61, allocations: 82.72 kB / 1.563 GB, free: 64.11 MB / 490.7 MB Notification: Performance of SimCode: time 2.335e-06/3.61, allocations: 0 / 1.563 GB, free: 64.11 MB / 490.7 MB Notification: Performance of Templates: time 0.05632/3.667, allocations: 24.13 MB / 1.586 GB, free: 60.38 MB / 490.7 MB