Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.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.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|p_start|T_start|h_start|X_start.1.|volume.ports.1..m_flow|volume.ports.1..p|volume.ports.1..h_outflow|volume.ports.2..m_flow|volume.ports.2..p|volume.ports.2..h_outflow|volume.ports_H_flow.1.|volume.ports_H_flow.2.|volume.ports_E_flow.1.|volume.ports_E_flow.2.|volume.ports_penetration.1.|volume.ports_penetration.2.|volume.portsData_diameter.1.|volume.portsData_diameter.2.|volume.portsData_height.1.|volume.portsData_height.2.|volume.portsData_zeta_in.1.|volume.portsData_zeta_in.2.|volume.portsData_zeta_out.1.|volume.portsData_zeta_out.2.|fixedMassFlowRate.ports.1..m_flow|fixedMassFlowRate.ports.1..p|fixedMassFlowRate.ports.1..h_outflow|shortPipe.port_b.m_flow|shortPipe.port_b.p|shortPipe.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00375/0.003757, allocations: 350.5 kB / 15.94 MB, free: 6.219 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.718/3.718, allocations: 341.5 MB / 358.2 MB, free: 12.63 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.003667/0.003666, allocations: 225.5 kB / 397.9 MB, free: 4.969 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.5108/0.5108, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004816/0.0004819, allocations: 12 kB / 0.5592 GB, free: 53.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09775/0.09827, allocations: 48.71 MB / 0.6067 GB, free: 4.637 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9527/1.051, allocations: 230.7 MB / 0.8321 GB, free: 70.29 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003471/1.051, allocations: 101.9 kB / 0.8322 GB, free: 70.24 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.133/2.184, allocations: 247.7 MB / 1.074 GB, free: 10.91 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.994e-06/2.184, allocations: 0 / 1.074 GB, free: 10.91 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.191e-05/2.185, allocations: 24.14 kB / 1.074 GB, free: 10.88 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.005263/2.19, allocations: 1.593 MB / 1.076 GB, free: 9.238 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/2.19, allocations: 12.02 kB / 1.076 GB, free: 9.227 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001358/2.191, allocations: 139.1 kB / 1.076 GB, free: 9.09 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001515/2.193, allocations: 0.5597 MB / 1.076 GB, free: 8.488 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001139/2.193, allocations: 108.4 kB / 1.076 GB, free: 8.367 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001218/2.193, allocations: 52 kB / 1.076 GB, free: 8.316 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001941/2.195, allocations: 0.8143 MB / 1.077 GB, free: 7.426 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.824e-05/2.195, allocations: 4 kB / 1.077 GB, free: 7.422 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001117/2.195, allocations: 27.98 kB / 1.077 GB, free: 7.395 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.572e-05/2.195, allocations: 40.92 kB / 1.077 GB, free: 7.355 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001859/2.197, allocations: 0.5775 MB / 1.078 GB, free: 6.777 MB / 426.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.006392/2.204, allocations: 4.411 MB / 1.082 GB, free: 2.059 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009774/2.205, allocations: 325.7 kB / 1.083 GB, free: 1.734 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003173/2.205, allocations: 124.8 kB / 1.083 GB, free: 1.609 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003229/2.205, allocations: 344.6 kB / 1.083 GB, free: 1.199 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.062e-05/2.205, allocations: 42.5 kB / 1.083 GB, free: 1.148 MB / 426.7 MB Notification: Performance of pre-optimization done (n=29): time 2.504e-06/2.205, allocations: 0 / 1.083 GB, free: 1.148 MB / 426.7 MB Notification: Performance of matching and sorting (n=35): time 0.3387/2.544, allocations: 1.494 MB / 1.084 GB, free: 65.81 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.71e-05/2.544, allocations: 133.5 kB / 1.085 GB, free: 65.65 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001865/2.546, allocations: 0.6322 MB / 1.085 GB, free: 65.54 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001543/2.546, allocations: 35.67 kB / 1.085 GB, free: 65.5 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000512/2.547, allocations: 408.1 kB / 1.086 GB, free: 65.32 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002437/2.547, allocations: 124 kB / 1.086 GB, free: 65.26 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.115e-05/2.547, allocations: 20.16 kB / 1.086 GB, free: 65.26 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002267/2.547, allocations: 374.8 kB / 1.086 GB, free: 64.95 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000936/2.548, allocations: 203 kB / 1.086 GB, free: 64.95 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001155/2.55, allocations: 0.5301 MB / 1.087 GB, free: 64.54 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001223/2.551, allocations: 305.5 kB / 1.087 GB, free: 64.54 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.254e-05/2.551, allocations: 3.969 kB / 1.087 GB, free: 64.54 MB / 426.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003908/2.555, allocations: 0.8791 MB / 1.088 GB, free: 64.45 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.511e-05/2.555, allocations: 10.09 kB / 1.088 GB, free: 64.45 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.31e-05/2.555, allocations: 14.06 kB / 1.088 GB, free: 64.45 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003187/2.558, allocations: 267 kB / 1.088 GB, free: 64.43 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001221/2.559, allocations: 135.4 kB / 1.088 GB, free: 64.43 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002219/2.562, allocations: 1.372 MB / 1.09 GB, free: 63.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001706/2.563, allocations: 41.77 kB / 1.09 GB, free: 63.39 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001604/2.564, allocations: 45.08 kB / 1.09 GB, free: 63.39 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 73 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 13} Notification: Performance of prepare postOptimizeDAE: time 0.0007439/2.564, allocations: 253.4 kB / 1.09 GB, free: 63.28 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002395/2.565, allocations: 64.84 kB / 1.09 GB, free: 63.25 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003535/2.568, allocations: 0.6901 MB / 1.091 GB, free: 63.17 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.561e-05/2.568, allocations: 4.406 kB / 1.091 GB, free: 63.17 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.045e-05/2.568, allocations: 0 / 1.091 GB, free: 63.17 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.075e-05/2.568, allocations: 5.688 kB / 1.091 GB, free: 63.17 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004726/2.573, allocations: 1.2 MB / 1.092 GB, free: 62.83 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.745e-06/2.573, allocations: 2.625 kB / 1.092 GB, free: 62.83 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004696/2.574, allocations: 44.84 kB / 1.092 GB, free: 62.83 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002121/2.576, allocations: 193.7 kB / 1.092 GB, free: 62.82 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-05/2.576, allocations: 14.38 kB / 1.092 GB, free: 62.82 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001927/2.578, allocations: 1.297 MB / 1.094 GB, free: 61.78 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.954e-06/2.578, allocations: 2.812 kB / 1.094 GB, free: 61.78 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003397/2.581, allocations: 0.7809 MB / 1.094 GB, free: 61.57 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008104/2.582, allocations: 198.5 kB / 1.094 GB, free: 61.44 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002405/2.582, allocations: 11.48 kB / 1.094 GB, free: 61.44 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00114/2.584, allocations: 21.94 kB / 1.095 GB, free: 61.44 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001685/2.584, allocations: 26.8 kB / 1.095 GB, free: 61.44 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001201/2.584, allocations: 22.86 kB / 1.095 GB, free: 61.44 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001393/2.585, allocations: 440 kB / 1.095 GB, free: 61.35 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.012e-06/2.585, allocations: 1.312 kB / 1.095 GB, free: 61.35 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003137/2.589, allocations: 369.6 kB / 1.095 GB, free: 61.35 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (volume.medium.T) * 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 (25): * Single equations (assignments): 23 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.00209/2.591, allocations: 451.5 kB / 1.096 GB, free: 61.25 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002794/2.593, allocations: 0.5157 MB / 1.096 GB, free: 61.25 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.089e-05/2.594, allocations: 1.156 kB / 1.096 GB, free: 61.25 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001212/2.595, allocations: 215.7 kB / 1.096 GB, free: 61.25 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004096/2.599, allocations: 287 kB / 1.097 GB, free: 61.25 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00616/2.605, allocations: 1.721 MB / 1.098 GB, free: 60.64 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006968/2.606, allocations: 0.9462 MB / 1.099 GB, free: 59.94 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002038/2.608, allocations: 245.4 kB / 1.1 GB, free: 59.93 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004005/2.608, allocations: 63.92 kB / 1.1 GB, free: 59.93 MB / 426.7 MB Notification: Performance of SimCode: time 2.946e-06/2.608, allocations: 1.062 kB / 1.1 GB, free: 59.93 MB / 426.7 MB Notification: Performance of Templates: time 0.05468/2.663, allocations: 15.12 MB / 1.114 GB, free: 59.66 MB / 426.7 MB