Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.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.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.2_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002789/0.002794, allocations: 362.8 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.018/4.018, allocations: 388.9 MB / 405.6 MB, free: 47.9 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003627/0.003627, allocations: 224.7 kB / 451 MB, free: 2.383 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.7949/0.7949, allocations: 80.01 MB / 0.5627 GB, free: 5.988 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000704/0.0007044, allocations: 12 kB / 0.6265 GB, free: 4.547 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.136, allocations: 54.88 MB / 0.6801 GB, free: 13.52 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.179/8.315, allocations: 2.596 GB / 3.276 GB, free: 55.9 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003107/8.315, allocations: 98.02 kB / 3.276 GB, free: 55.85 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.058/10.37, allocations: 340.9 MB / 3.609 GB, free: 54.38 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.245e-06/10.37, allocations: 0 / 3.609 GB, free: 54.38 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.982e-05/10.37, allocations: 21.91 kB / 3.609 GB, free: 54.38 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: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.008577/10.38, allocations: 1.718 MB / 3.611 GB, free: 53.47 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/10.38, allocations: 10.56 kB / 3.611 GB, free: 53.47 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005263/10.39, allocations: 433.1 kB / 3.611 GB, free: 53.42 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001916/10.39, allocations: 0.578 MB / 3.612 GB, free: 53.05 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000168/10.39, allocations: 115.8 kB / 3.612 GB, free: 52.96 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001787/10.39, allocations: 60.5 kB / 3.612 GB, free: 52.94 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004265/10.39, allocations: 1.159 MB / 3.613 GB, free: 52.48 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.226e-05/10.39, allocations: 3.969 kB / 3.613 GB, free: 52.48 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001388/10.39, allocations: 23.06 kB / 3.613 GB, free: 52.46 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.061e-05/10.39, allocations: 34.67 kB / 3.613 GB, free: 52.46 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004569/10.4, allocations: 1.077 MB / 3.614 GB, free: 52.18 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.009143/10.41, allocations: 4.945 MB / 3.619 GB, free: 48.42 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003667/10.41, allocations: 0.8306 MB / 3.62 GB, free: 48.19 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001037/10.41, allocations: 329.2 kB / 3.62 GB, free: 48.08 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1023/10.52, allocations: 32.8 MB / 3.652 GB, free: 27.62 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.731e-05/10.52, allocations: 38.88 kB / 3.652 GB, free: 27.58 MB / 490.7 MB Notification: Performance of pre-optimization done (n=46): time 4.178e-06/10.52, allocations: 0 / 3.652 GB, free: 27.58 MB / 490.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.04307/10.56, allocations: 5.448 MB / 3.658 GB, free: 25.82 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.594e-05/10.56, allocations: 110.9 kB / 3.658 GB, free: 25.69 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009409/10.56, allocations: 0.5474 MB / 3.658 GB, free: 25.43 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001492/10.56, allocations: 36.52 kB / 3.658 GB, free: 25.39 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002618/10.56, allocations: 349.8 kB / 3.659 GB, free: 25.12 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002253/10.56, allocations: 200.7 kB / 3.659 GB, free: 24.96 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.283e-05/10.56, allocations: 14.94 kB / 3.659 GB, free: 24.95 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001245/10.56, allocations: 374.2 kB / 3.659 GB, free: 24.61 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001759/10.56, allocations: 495.5 kB / 3.66 GB, free: 24.46 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001866/10.56, allocations: 0.7136 MB / 3.66 GB, free: 24.01 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001914/10.57, allocations: 0.519 MB / 3.661 GB, free: 23.81 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.143e-06/10.57, allocations: 0 / 3.661 GB, free: 23.81 MB / 490.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.005853/10.57, allocations: 1.636 MB / 3.662 GB, free: 23.21 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001889/10.57, allocations: 296.2 kB / 3.663 GB, free: 22.84 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.688e-05/10.57, allocations: 7.688 kB / 3.663 GB, free: 22.84 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00405/10.58, allocations: 1.209 MB / 3.664 GB, free: 22.58 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001049/10.58, allocations: 143.2 kB / 3.664 GB, free: 22.57 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005807/10.58, allocations: 2.797 MB / 3.667 GB, free: 20.61 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001735/10.59, allocations: 98.42 kB / 3.667 GB, free: 20.58 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001517/10.59, allocations: 47.03 kB / 3.667 GB, free: 20.57 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/10.59, allocations: 7.812 kB / 3.667 GB, free: 20.56 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005613/10.59, allocations: 1.443 MB / 3.668 GB, free: 20.05 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.44e-05/10.59, allocations: 7.25 kB / 3.668 GB, free: 20.05 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00331/10.59, allocations: 1.03 MB / 3.669 GB, free: 19.83 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001196/10.6, allocations: 175.2 kB / 3.669 GB, free: 19.81 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007716/10.6, allocations: 5.017 MB / 3.674 GB, free: 31.6 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001582/10.61, allocations: 85.08 kB / 3.674 GB, free: 31.59 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001537/10.61, allocations: 45.31 kB / 3.675 GB, free: 31.58 MB / 0.4949 GB 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.0007218/10.61, allocations: 327.3 kB / 3.675 GB, free: 31.32 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002384/10.61, allocations: 71.47 kB / 3.675 GB, free: 31.28 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009691/10.62, allocations: 4.546 MB / 3.679 GB, free: 29.24 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.679e-05/10.62, allocations: 49.81 kB / 3.679 GB, free: 29.22 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/10.62, allocations: 0 / 3.679 GB, free: 29.22 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.148e-05/10.62, allocations: 3.75 kB / 3.679 GB, free: 29.22 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01403/10.63, allocations: 6.481 MB / 3.686 GB, free: 26.27 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.511e-05/10.63, allocations: 0 / 3.686 GB, free: 26.27 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006862/10.63, allocations: 99.97 kB / 3.686 GB, free: 26.26 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006189/10.64, allocations: 2.258 MB / 3.688 GB, free: 24.52 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000213/10.64, allocations: 27.52 kB / 3.688 GB, free: 24.5 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007584/10.65, allocations: 4.078 MB / 3.692 GB, free: 20.73 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/10.65, allocations: 4.062 kB / 3.692 GB, free: 20.73 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007713/10.65, allocations: 3.394 MB / 3.695 GB, free: 17.68 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009465/10.65, allocations: 375.2 kB / 3.696 GB, free: 17.34 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002127/10.65, allocations: 15.95 kB / 3.696 GB, free: 17.32 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001375/10.66, allocations: 86.59 kB / 3.696 GB, free: 17.26 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002394/10.66, allocations: 67.94 kB / 3.696 GB, free: 17.21 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001068/10.66, allocations: 27.84 kB / 3.696 GB, free: 17.19 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.000838/10.66, allocations: 474.9 kB / 3.696 GB, free: 16.8 MB / 0.4949 GB Notification: Performance of sort global known variables: time 7.11e-07/10.66, allocations: 0 / 3.696 GB, free: 16.8 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.007802/10.66, allocations: 1.436 MB / 3.698 GB, free: 15.4 MB / 0.4949 GB 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.68, allocations: 1.67 MB / 3.699 GB, free: 14.09 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.01275/10.69, allocations: 2.701 MB / 3.702 GB, free: 11.75 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 8.206e-06/10.69, allocations: 0 / 3.702 GB, free: 11.75 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.00566/10.7, allocations: 1.32 MB / 3.703 GB, free: 10.58 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003092/10.7, allocations: 312.7 kB / 3.704 GB, free: 10.36 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4766/11.18, allocations: 41.08 MB / 3.744 GB, free: 69.6 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000768/11.18, allocations: 1.221 MB / 3.745 GB, free: 68.9 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.00214/11.18, allocations: 0.7221 MB / 3.746 GB, free: 68.89 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002177/11.18, allocations: 53 kB / 3.746 GB, free: 68.89 MB / 0.4949 GB Notification: Performance of SimCode: time 1.413e-06/11.18, allocations: 1.125 kB / 3.746 GB, free: 68.89 MB / 0.4949 GB Notification: Performance of Templates: time 0.1188/11.3, allocations: 52.51 MB / 3.797 GB, free: 67.07 MB / 0.4949 GB