Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.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.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.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00346/0.00346, allocations: 345.4 kB / 15.94 MB, free: 6.223 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.951/3.951, allocations: 341.5 MB / 358.2 MB, free: 12.55 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003513/0.003513, allocations: 218.2 kB / 397.9 MB, free: 4.891 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.5028/0.5028, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004736/0.0004738, allocations: 8 kB / 0.5592 GB, free: 53.44 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09445/0.09495, allocations: 48.71 MB / 0.6067 GB, free: 4.617 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.998/2.093, allocations: 0.6025 GB / 1.209 GB, free: 63.45 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003501/2.093, allocations: 94.81 kB / 1.209 GB, free: 63.39 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.666/3.759, allocations: 268 MB / 1.471 GB, free: 69.13 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.474e-06/3.759, allocations: 3.938 kB / 1.471 GB, free: 69.13 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.475e-05/3.759, allocations: 13.84 kB / 1.471 GB, free: 69.13 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.004001/3.763, allocations: 1.285 MB / 1.472 GB, free: 68.64 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/3.763, allocations: 6.844 kB / 1.472 GB, free: 68.64 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001708/3.765, allocations: 159 kB / 1.473 GB, free: 68.61 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001388/3.767, allocations: 0.5354 MB / 1.473 GB, free: 68.38 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.435e-05/3.767, allocations: 29.91 kB / 1.473 GB, free: 68.38 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001093/3.767, allocations: 50.22 kB / 1.473 GB, free: 68.38 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001744/3.769, allocations: 0.647 MB / 1.474 GB, free: 68.22 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.068e-05/3.769, allocations: 0 / 1.474 GB, free: 68.22 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001334/3.769, allocations: 21.38 kB / 1.474 GB, free: 68.22 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.981e-05/3.769, allocations: 11.72 kB / 1.474 GB, free: 68.22 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001461/3.77, allocations: 0.4992 MB / 1.474 GB, free: 68.21 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.004184/3.774, allocations: 2.584 MB / 1.477 GB, free: 66.56 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009717/3.775, allocations: 306 kB / 1.477 GB, free: 66.54 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004061/3.776, allocations: 167.1 kB / 1.477 GB, free: 66.53 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001726/3.778, allocations: 1.309 MB / 1.479 GB, free: 65.4 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.339e-05/3.778, allocations: 45.59 kB / 1.479 GB, free: 65.36 MB / 442.7 MB Notification: Performance of pre-optimization done (n=35): time 3.136e-06/3.778, allocations: 0 / 1.479 GB, free: 65.36 MB / 442.7 MB Notification: Performance of matching and sorting (n=35): time 0.002481/3.78, allocations: 0.684 MB / 1.479 GB, free: 65.2 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.678e-05/3.78, allocations: 160.2 kB / 1.479 GB, free: 65.01 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007817/3.781, allocations: 450.1 kB / 1.48 GB, free: 64.89 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.785e-05/3.781, allocations: 35.45 kB / 1.48 GB, free: 64.86 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000233/3.781, allocations: 317 kB / 1.48 GB, free: 64.7 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001422/3.782, allocations: 129.2 kB / 1.48 GB, free: 64.64 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.554e-05/3.782, allocations: 12.06 kB / 1.48 GB, free: 64.64 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001127/3.782, allocations: 359.7 kB / 1.481 GB, free: 64.33 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004551/3.782, allocations: 143.1 kB / 1.481 GB, free: 64.33 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005871/3.783, allocations: 372.8 kB / 1.481 GB, free: 64.07 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005601/3.783, allocations: 208.1 kB / 1.481 GB, free: 64.06 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.336e-06/3.783, allocations: 1.938 kB / 1.481 GB, free: 64.06 MB / 442.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001743/3.785, allocations: 0.5934 MB / 1.482 GB, free: 63.99 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.626e-05/3.785, allocations: 8.531 kB / 1.482 GB, free: 63.99 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.793e-05/3.785, allocations: 9.266 kB / 1.482 GB, free: 63.99 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002248/3.787, allocations: 236.5 kB / 1.482 GB, free: 63.98 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008124/3.788, allocations: 137.9 kB / 1.482 GB, free: 63.98 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005801/3.789, allocations: 0.5886 MB / 1.483 GB, free: 63.46 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007643/3.79, allocations: 67.09 kB / 1.483 GB, free: 63.45 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001421/3.79, allocations: 54.59 kB / 1.483 GB, free: 63.45 MB / 442.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.00044/3.79, allocations: 207.1 kB / 1.483 GB, free: 63.33 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001674/3.79, allocations: 53.28 kB / 1.483 GB, free: 63.3 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002625/3.793, allocations: 0.6675 MB / 1.484 GB, free: 63.22 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.538e-06/3.793, allocations: 5 kB / 1.484 GB, free: 63.22 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/3.793, allocations: 0 / 1.484 GB, free: 63.22 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.639e-06/3.793, allocations: 5.141 kB / 1.484 GB, free: 63.22 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004521/3.798, allocations: 2.517 MB / 1.486 GB, free: 61.68 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.606e-06/3.798, allocations: 11.78 kB / 1.486 GB, free: 61.68 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000437/3.798, allocations: 72.38 kB / 1.486 GB, free: 61.68 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002118/3.8, allocations: 235.8 kB / 1.487 GB, free: 61.67 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.481e-05/3.8, allocations: 18.7 kB / 1.487 GB, free: 61.67 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000483/3.801, allocations: 0.5841 MB / 1.487 GB, free: 61.15 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/3.801, allocations: 6.812 kB / 1.487 GB, free: 61.15 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001296/3.802, allocations: 0.5805 MB / 1.488 GB, free: 60.9 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003864/3.803, allocations: 193.2 kB / 1.488 GB, free: 60.78 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001326/3.803, allocations: 16.95 kB / 1.488 GB, free: 60.78 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000506/3.803, allocations: 21.72 kB / 1.488 GB, free: 60.78 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001146/3.803, allocations: 46.59 kB / 1.488 GB, free: 60.77 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.786e-05/3.804, allocations: 31.55 kB / 1.488 GB, free: 60.77 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.000565/3.804, allocations: 312.6 kB / 1.488 GB, free: 60.69 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.81e-07/3.804, allocations: 1.438 kB / 1.488 GB, free: 60.69 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002174/3.806, allocations: 439.8 kB / 1.489 GB, free: 60.64 MB / 442.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.002893/3.809, allocations: 1.288 MB / 1.49 GB, free: 60.4 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001393/3.811, allocations: 411.5 kB / 1.49 GB, free: 60.4 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.665e-06/3.811, allocations: 3.312 kB / 1.49 GB, free: 60.4 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005353/3.811, allocations: 195.5 kB / 1.491 GB, free: 60.4 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002661/3.814, allocations: 284.5 kB / 1.491 GB, free: 60.4 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003785/3.818, allocations: 1.597 MB / 1.492 GB, free: 59.76 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004453/3.818, allocations: 0.8756 MB / 1.493 GB, free: 59.06 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001583/3.82, allocations: 197.9 kB / 1.494 GB, free: 59.05 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005009/3.82, allocations: 94.7 kB / 1.494 GB, free: 59.04 MB / 442.7 MB Notification: Performance of SimCode: time 1.894e-06/3.82, allocations: 3.625 kB / 1.494 GB, free: 59.04 MB / 442.7 MB Notification: Performance of Templates: time 0.05826/3.879, allocations: 25.22 MB / 1.518 GB, free: 57.91 MB / 442.7 MB