Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.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.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.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002774/0.002779, allocations: 363.5 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.204/4.204, allocations: 388.9 MB / 405.6 MB, free: 9.562 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.003733/0.003733, allocations: 229 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.5287/0.5287, allocations: 80.02 MB / 0.5627 GB, free: 19.77 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006499/0.0006502, allocations: 12 kB / 0.6265 GB, free: 96.53 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1095, allocations: 54.87 MB / 0.6801 GB, free: 41.65 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.056/1.166, allocations: 237.2 MB / 0.9118 GB, free: 126.2 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003703/1.166, allocations: 99.78 kB / 0.9118 GB, free: 126.2 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.19/2.357, allocations: 249.4 MB / 1.155 GB, free: 113.6 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.854e-06/2.357, allocations: 0 / 1.155 GB, free: 113.6 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.641e-05/2.357, allocations: 17.19 kB / 1.155 GB, free: 113.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: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.005653/2.362, allocations: 1.6 MB / 1.157 GB, free: 112.5 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/2.363, allocations: 10.42 kB / 1.157 GB, free: 112.5 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001446/2.364, allocations: 135.4 kB / 1.157 GB, free: 112.5 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001679/2.366, allocations: 0.5563 MB / 1.158 GB, free: 112.2 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001497/2.366, allocations: 104.6 kB / 1.158 GB, free: 112.1 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001698/2.366, allocations: 49.95 kB / 1.158 GB, free: 112.1 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002394/2.368, allocations: 0.8294 MB / 1.159 GB, free: 111.6 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.347e-05/2.369, allocations: 3.938 kB / 1.159 GB, free: 111.6 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001325/2.369, allocations: 23.06 kB / 1.159 GB, free: 111.6 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.884e-05/2.369, allocations: 46.38 kB / 1.159 GB, free: 111.6 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001821/2.371, allocations: 0.5755 MB / 1.159 GB, free: 111.4 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.006944/2.378, allocations: 4.413 MB / 1.164 GB, free: 107.3 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001079/2.379, allocations: 313.7 kB / 1.164 GB, free: 107.2 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003393/2.379, allocations: 129.7 kB / 1.164 GB, free: 107.1 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003181/2.379, allocations: 343.2 kB / 1.164 GB, free: 106.7 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.482e-05/2.379, allocations: 49.02 kB / 1.164 GB, free: 106.7 MB / 490.7 MB Notification: Performance of pre-optimization done (n=29): time 3.176e-06/2.379, allocations: 0 / 1.164 GB, free: 106.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=35): time 0.006153/2.386, allocations: 1.49 MB / 1.166 GB, free: 105.7 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.59e-05/2.386, allocations: 143.4 kB / 1.166 GB, free: 105.5 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001097/2.387, allocations: 0.6398 MB / 1.167 GB, free: 105.2 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001045/2.387, allocations: 29.7 kB / 1.167 GB, free: 105.1 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003153/2.387, allocations: 405.9 kB / 1.167 GB, free: 104.8 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001492/2.387, allocations: 130.1 kB / 1.167 GB, free: 104.7 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.027e-05/2.388, allocations: 17.81 kB / 1.167 GB, free: 104.7 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001634/2.388, allocations: 378.8 kB / 1.167 GB, free: 104.3 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005448/2.388, allocations: 198.6 kB / 1.168 GB, free: 104.2 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000734/2.389, allocations: 0.5256 MB / 1.168 GB, free: 103.7 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007126/2.39, allocations: 311 kB / 1.168 GB, free: 103.5 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.804e-06/2.39, allocations: 2.75 kB / 1.168 GB, free: 103.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00225/2.392, allocations: 0.8742 MB / 1.169 GB, free: 103.1 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.248e-05/2.392, allocations: 9.688 kB / 1.169 GB, free: 103.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.791e-05/2.392, allocations: 10.41 kB / 1.169 GB, free: 103.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002022/2.394, allocations: 275.6 kB / 1.17 GB, free: 102.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008152/2.395, allocations: 141.7 kB / 1.17 GB, free: 102.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001498/2.397, allocations: 1.363 MB / 1.171 GB, free: 101.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001076/2.398, allocations: 49.27 kB / 1.171 GB, free: 101.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001078/2.398, allocations: 45.05 kB / 1.171 GB, free: 101.7 MB / 490.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.0005245/2.398, allocations: 244.7 kB / 1.171 GB, free: 101.5 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001494/2.398, allocations: 71.2 kB / 1.171 GB, free: 101.4 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002244/2.401, allocations: 0.6915 MB / 1.172 GB, free: 100.7 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/2.401, allocations: 4 kB / 1.172 GB, free: 100.7 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/2.401, allocations: 0 / 1.172 GB, free: 100.7 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/2.401, allocations: 4 kB / 1.172 GB, free: 100.7 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002915/2.404, allocations: 1.199 MB / 1.173 GB, free: 99.43 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.72e-06/2.404, allocations: 0 / 1.173 GB, free: 99.43 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003021/2.404, allocations: 43.91 kB / 1.173 GB, free: 99.39 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001358/2.405, allocations: 202.6 kB / 1.174 GB, free: 99.19 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.551e-05/2.406, allocations: 11.66 kB / 1.174 GB, free: 99.18 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001248/2.407, allocations: 1.299 MB / 1.175 GB, free: 97.84 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.067e-06/2.407, allocations: 4 kB / 1.175 GB, free: 97.83 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002017/2.409, allocations: 0.7811 MB / 1.176 GB, free: 97.03 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004322/2.409, allocations: 196.2 kB / 1.176 GB, free: 96.82 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001472/2.409, allocations: 8 kB / 1.176 GB, free: 96.81 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000683/2.41, allocations: 27.08 kB / 1.176 GB, free: 96.79 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.441e-05/2.41, allocations: 19.97 kB / 1.176 GB, free: 96.77 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.566e-05/2.41, allocations: 23.98 kB / 1.176 GB, free: 96.74 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.000774/2.411, allocations: 439 kB / 1.176 GB, free: 96.32 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.01e-07/2.411, allocations: 3.812 kB / 1.176 GB, free: 96.32 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001919/2.413, allocations: 363.7 kB / 1.177 GB, free: 95.96 MB / 490.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.001383/2.414, allocations: 462.1 kB / 1.177 GB, free: 95.56 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001708/2.416, allocations: 0.5047 MB / 1.178 GB, free: 95.06 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/2.416, allocations: 0 / 1.178 GB, free: 95.06 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007336/2.417, allocations: 222.7 kB / 1.178 GB, free: 94.85 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002505/2.419, allocations: 287.2 kB / 1.178 GB, free: 94.58 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003917/2.423, allocations: 1.716 MB / 1.18 GB, free: 92.9 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004961/2.424, allocations: 0.9417 MB / 1.181 GB, free: 91.94 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.00136/2.425, allocations: 258 kB / 1.181 GB, free: 91.72 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002414/2.426, allocations: 62.94 kB / 1.181 GB, free: 91.66 MB / 490.7 MB Notification: Performance of SimCode: time 1.613e-06/2.426, allocations: 0 / 1.181 GB, free: 91.66 MB / 490.7 MB Notification: Performance of Templates: time 0.03949/2.465, allocations: 15.13 MB / 1.196 GB, free: 76.75 MB / 490.7 MB