Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.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.Vessels.TestVolume,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|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.portsData.1..diameter|Volume.portsData.1..height|Volume.portsData.1..zeta_out|Volume.portsData.1..zeta_in|Volume.portsData.2..diameter|Volume.portsData.2..height|Volume.portsData.2..zeta_out|Volume.portsData.2..zeta_in|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_internal.1.|Volume.portsData_diameter_internal.2.|Volume.portsData_height_internal.1.|Volume.portsData_height_internal.2.|Volume.portsData_zeta_in_internal.1.|Volume.portsData_zeta_in_internal.2.|Volume.portsData_zeta_out_internal.1.|Volume.portsData_zeta_out_internal.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.|FlowSource.ports.1..m_flow|FlowSource.ports.1..p|FlowSource.ports.1..h_outflow|Sink.ports.1..m_flow|Sink.ports.1..p|Sink.ports.1..h_outflow|Valve.port_b.m_flow|Valve.port_b.p|Valve.port_b.h_outflow|Step1.y",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002793/0.002797, allocations: 350.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.902/3.902, 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.003642/0.003641, allocations: 226.1 kB / 397.9 MB, free: 4.977 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.5786/0.5786, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004676/0.0004678, allocations: 20 kB / 0.5592 GB, free: 53.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09652/0.09702, allocations: 48.7 MB / 0.6067 GB, free: 4.641 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.85/7.947, allocations: 2.485 GB / 3.092 GB, free: 43.3 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004259/7.947, allocations: 87.39 kB / 3.092 GB, free: 43.25 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.869/9.816, allocations: 334.5 MB / 3.419 GB, free: 45.18 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.993e-06/9.816, allocations: 0 / 3.419 GB, free: 45.18 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.298e-05/9.816, allocations: 17.03 kB / 3.419 GB, free: 45.18 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: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.007755/9.824, allocations: 1.678 MB / 3.42 GB, free: 44.2 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/9.824, allocations: 7.875 kB / 3.42 GB, free: 44.2 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004732/9.829, allocations: 396.9 kB / 3.421 GB, free: 44.15 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001485/9.83, allocations: 0.5817 MB / 3.421 GB, free: 43.77 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001442/9.831, allocations: 111.8 kB / 3.422 GB, free: 43.69 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001358/9.831, allocations: 58.11 kB / 3.422 GB, free: 43.67 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003842/9.835, allocations: 1.164 MB / 3.423 GB, free: 43.21 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.945e-05/9.835, allocations: 3.938 kB / 3.423 GB, free: 43.21 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001254/9.835, allocations: 29.23 kB / 3.423 GB, free: 43.19 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.066e-05/9.835, allocations: 38.48 kB / 3.423 GB, free: 43.18 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004144/9.839, allocations: 1.085 MB / 3.424 GB, free: 42.9 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.008544/9.848, allocations: 4.927 MB / 3.429 GB, free: 39.14 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003662/9.851, allocations: 0.8447 MB / 3.43 GB, free: 38.9 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001003/9.852, allocations: 322.7 kB / 3.43 GB, free: 38.79 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.106/9.958, allocations: 32.78 MB / 3.462 GB, free: 14.76 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.37e-05/9.958, allocations: 40.16 kB / 3.462 GB, free: 14.71 MB / 442.7 MB Notification: Performance of pre-optimization done (n=46): time 4.037e-06/9.958, allocations: 0 / 3.462 GB, free: 14.71 MB / 442.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: Volume.medium.h Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=59): time 0.04374/10, allocations: 5.455 MB / 3.467 GB, free: 9.273 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.919e-05/10, allocations: 111.4 kB / 3.467 GB, free: 9.141 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009678/10, allocations: 0.5455 MB / 3.468 GB, free: 8.586 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001699/10, allocations: 37.7 kB / 3.468 GB, free: 8.543 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002466/10, allocations: 361.6 kB / 3.468 GB, free: 8.188 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002146/10, allocations: 193.1 kB / 3.468 GB, free: 8 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.266e-05/10, allocations: 16 kB / 3.468 GB, free: 7.984 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001222/10, allocations: 378.7 kB / 3.469 GB, free: 7.605 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001777/10.01, allocations: 489.7 kB / 3.469 GB, free: 7.125 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001906/10.01, allocations: 0.7103 MB / 3.47 GB, free: 6.312 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001876/10.01, allocations: 0.5213 MB / 3.47 GB, free: 5.789 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.622e-06/10.01, allocations: 0 / 3.47 GB, free: 5.789 MB / 442.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.005901/10.02, allocations: 1.629 MB / 3.472 GB, free: 4.145 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001945/10.02, allocations: 301 kB / 3.472 GB, free: 3.75 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.642e-05/10.02, allocations: 4 kB / 3.472 GB, free: 3.746 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004174/10.02, allocations: 1.201 MB / 3.473 GB, free: 2.574 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001058/10.02, allocations: 151.7 kB / 3.474 GB, free: 2.426 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3508/10.37, allocations: 2.788 MB / 3.476 GB, free: 52.93 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001793/10.37, allocations: 97.77 kB / 3.476 GB, free: 52.93 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001494/10.37, allocations: 41.11 kB / 3.476 GB, free: 52.93 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/10.37, allocations: 5.969 kB / 3.476 GB, free: 52.93 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005846/10.38, allocations: 1.442 MB / 3.478 GB, free: 52.89 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.612e-05/10.38, allocations: 10.19 kB / 3.478 GB, free: 52.89 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003577/10.38, allocations: 1.036 MB / 3.479 GB, free: 52.86 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00126/10.39, allocations: 175 kB / 3.479 GB, free: 52.86 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007774/10.39, allocations: 5.008 MB / 3.484 GB, free: 49.2 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001676/10.39, allocations: 92.75 kB / 3.484 GB, free: 49.2 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001478/10.39, allocations: 45.36 kB / 3.484 GB, free: 49.2 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 9 (Volume.heatTransfer.states[1].phase,Volume.inFlow[1],Volume.inFlow[2],FlowSource.medium.phase,Sink.medium.phase,Volume.regularFlow[2],Volume.regularFlow[1],Valve.state_b.phase,Valve.state_a.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 71 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 7,2 1,3 9} Notification: Performance of prepare postOptimizeDAE: time 0.0007321/10.4, allocations: 330.9 kB / 3.484 GB, free: 49.01 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000238/10.4, allocations: 66.44 kB / 3.484 GB, free: 49.01 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0102/10.41, allocations: 4.538 MB / 3.489 GB, free: 48.74 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.035e-05/10.41, allocations: 46.86 kB / 3.489 GB, free: 48.74 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/10.41, allocations: 1.219 kB / 3.489 GB, free: 48.74 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.21e-05/10.41, allocations: 7.703 kB / 3.489 GB, free: 48.73 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01511/10.42, allocations: 6.48 MB / 3.495 GB, free: 48.23 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.498e-05/10.42, allocations: 1.141 kB / 3.495 GB, free: 48.23 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007151/10.42, allocations: 96.81 kB / 3.495 GB, free: 48.23 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006435/10.43, allocations: 2.27 MB / 3.498 GB, free: 48.13 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001968/10.43, allocations: 21.55 kB / 3.498 GB, free: 48.13 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007784/10.44, allocations: 4.081 MB / 3.502 GB, free: 46.53 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.85e-06/10.44, allocations: 1.375 kB / 3.502 GB, free: 46.53 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008898/10.45, allocations: 3.391 MB / 3.505 GB, free: 46.18 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001078/10.45, allocations: 377.1 kB / 3.505 GB, free: 46.01 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002356/10.45, allocations: 16.12 kB / 3.505 GB, free: 46.01 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001504/10.45, allocations: 92.59 kB / 3.505 GB, free: 46.01 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000262/10.45, allocations: 72.53 kB / 3.505 GB, free: 46.01 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001107/10.45, allocations: 30.77 kB / 3.505 GB, free: 46.01 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0009079/10.45, allocations: 467.3 kB / 3.506 GB, free: 45.92 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.01e-07/10.45, allocations: 0 / 3.506 GB, free: 45.92 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.008012/10.46, allocations: 1.424 MB / 3.507 GB, free: 45.92 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 29 ($cse1.region3boundary,$cse2.region3boundary,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse11.phase,$cse11.region,$cse14.phase,$cse14.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,Volume.heatTransfer.states[1].phase,Volume.inFlow[1],Volume.inFlow[2],FlowSource.medium.phase,Sink.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 8,2 1,3 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.01225/10.47, allocations: 1.674 MB / 3.509 GB, free: 45.8 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01251/10.48, allocations: 2.694 MB / 3.512 GB, free: 45.54 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.568e-06/10.48, allocations: 2.531 kB / 3.512 GB, free: 45.54 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005403/10.49, allocations: 1.327 MB / 3.513 GB, free: 45.5 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003134/10.49, allocations: 300.6 kB / 3.513 GB, free: 45.5 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.106/10.6, allocations: 40.84 MB / 3.553 GB, free: 42.86 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008001/10.6, allocations: 1.227 MB / 3.554 GB, free: 42.12 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002228/10.6, allocations: 0.7247 MB / 3.555 GB, free: 42.09 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000229/10.6, allocations: 56.19 kB / 3.555 GB, free: 42.08 MB / 442.7 MB Notification: Performance of SimCode: time 1.633e-06/10.6, allocations: 0 / 3.555 GB, free: 42.08 MB / 442.7 MB Notification: Performance of Templates: time 0.107/10.71, allocations: 52.23 MB / 3.606 GB, free: 30.4 MB / 442.7 MB