Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|SourceP1.ports.1..m_flow|SourceP1.ports.1..p|SourceP1.ports.1..h_outflow|V1.port_b.m_flow|V1.port_b.p|V1.port_b.h_outflow|V1.minLimiter.y|SinkP1.ports.1..m_flow|SinkP1.ports.1..p|SinkP1.ports.1..h_outflow|Opening.y|downstreamPressure.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing") Notification: Performance of loadModel(ModelicaTest): time 1.787/1.787, allocations: 209.2 MB / 224.8 MB, free: 204 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004527/0.0004529, allocations: 15.98 kB / 282.6 MB, free: 9.59 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3163/0.3167, allocations: 48.7 MB / 331.3 MB, free: 6.488 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.028/6.344, allocations: 2.524 GB / 2.848 GB, free: 10.79 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002464/6.345, allocations: 83.95 kB / 2.848 GB, free: 10.7 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.187/7.532, allocations: 231.9 MB / 3.074 GB, free: 55.53 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.349e-06/7.532, allocations: 0 / 3.074 GB, free: 55.53 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.421e-05/7.532, allocations: 14.06 kB / 3.074 GB, free: 55.52 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.005123/7.537, allocations: 1.336 MB / 3.076 GB, free: 54.76 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/7.537, allocations: 11.38 kB / 3.076 GB, free: 54.76 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002577/7.54, allocations: 252.7 kB / 3.076 GB, free: 54.71 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008775/7.541, allocations: 419.8 kB / 3.076 GB, free: 54.41 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.555e-05/7.541, allocations: 35.09 kB / 3.076 GB, free: 54.4 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.318e-05/7.541, allocations: 32.16 kB / 3.076 GB, free: 54.39 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002209/7.543, allocations: 0.6765 MB / 3.077 GB, free: 54.1 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.911e-05/7.543, allocations: 0 / 3.077 GB, free: 54.1 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.323e-05/7.543, allocations: 19.47 kB / 3.077 GB, free: 54.09 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.252e-05/7.543, allocations: 11.05 kB / 3.077 GB, free: 54.08 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002526/7.546, allocations: 0.6518 MB / 3.078 GB, free: 53.94 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.003436/7.549, allocations: 2.77 MB / 3.08 GB, free: 51.61 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002036/7.551, allocations: 0.504 MB / 3.081 GB, free: 51.48 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.129/7.68, allocations: 51.43 MB / 3.131 GB, free: 21.74 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.625e-05/7.68, allocations: 34.56 kB / 3.131 GB, free: 21.7 MB / 426.7 MB Notification: Performance of pre-optimization done (n=27): time 2.879e-06/7.68, allocations: 7.938 kB / 3.131 GB, free: 21.7 MB / 426.7 MB Notification: Performance of matching and sorting (n=27): time 0.003866/7.684, allocations: 0.8591 MB / 3.132 GB, free: 21.48 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.408e-05/7.684, allocations: 114.2 kB / 3.132 GB, free: 21.35 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004349/7.685, allocations: 315.5 kB / 3.132 GB, free: 21.18 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.88e-05/7.685, allocations: 32.58 kB / 3.132 GB, free: 21.14 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001212/7.685, allocations: 284.9 kB / 3.133 GB, free: 20.89 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.084e-05/7.685, allocations: 95.67 kB / 3.133 GB, free: 20.82 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.514e-05/7.685, allocations: 4 kB / 3.133 GB, free: 20.82 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 5.924e-05/7.685, allocations: 325.8 kB / 3.133 GB, free: 20.5 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006284/7.686, allocations: 179.1 kB / 3.133 GB, free: 20.45 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006734/7.687, allocations: 317.5 kB / 3.134 GB, free: 20.23 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006968/7.687, allocations: 203.3 kB / 3.134 GB, free: 20.16 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.468e-06/7.687, allocations: 3.969 kB / 3.134 GB, free: 20.16 MB / 426.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001792/7.689, allocations: 0.5024 MB / 3.134 GB, free: 19.98 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002947/7.689, allocations: 1.488 MB / 3.136 GB, free: 18.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/7.689, allocations: 7.938 kB / 3.136 GB, free: 18.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.147e-05/7.689, allocations: 3.906 kB / 3.136 GB, free: 18.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005909/7.69, allocations: 117 kB / 3.136 GB, free: 18.39 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.426e-05/7.69, allocations: 13.98 kB / 3.136 GB, free: 18.38 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000645/7.691, allocations: 90.84 kB / 3.136 GB, free: 18.36 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.112e-05/7.691, allocations: 26.56 kB / 3.136 GB, free: 18.34 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/7.691, allocations: 5.938 kB / 3.136 GB, free: 18.34 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001578/7.692, allocations: 477.4 kB / 3.136 GB, free: 18.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.861e-06/7.692, allocations: 7.938 kB / 3.136 GB, free: 18.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/7.692, allocations: 7.562 kB / 3.136 GB, free: 18.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005938/7.693, allocations: 118.4 kB / 3.137 GB, free: 18.19 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.141e-05/7.693, allocations: 11.59 kB / 3.137 GB, free: 18.18 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004915/7.694, allocations: 72.39 kB / 3.137 GB, free: 18.16 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.65e-05/7.694, allocations: 26.62 kB / 3.137 GB, free: 18.16 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 4 (SourceP1.medium.phase,SinkP1.medium.phase,V1.state_b.phase,V1.state_a.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 44 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003065/7.694, allocations: 242.8 kB / 3.137 GB, free: 17.93 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001222/7.694, allocations: 42.5 kB / 3.137 GB, free: 17.91 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00321/7.697, allocations: 1.984 MB / 3.139 GB, free: 17 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.073e-05/7.697, allocations: 33.98 kB / 3.139 GB, free: 16.99 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.451e-06/7.697, allocations: 0 / 3.139 GB, free: 16.99 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.683e-06/7.697, allocations: 3.797 kB / 3.139 GB, free: 16.99 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001215/7.699, allocations: 1.017 MB / 3.14 GB, free: 16.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.854e-06/7.699, allocations: 0 / 3.14 GB, free: 16.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005531/7.699, allocations: 97.58 kB / 3.14 GB, free: 16.39 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.044e-06/7.699, allocations: 0 / 3.14 GB, free: 16.39 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.094e-05/7.699, allocations: 15.11 kB / 3.14 GB, free: 16.39 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.461e-06/7.699, allocations: 3.969 kB / 3.14 GB, free: 16.39 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.049e-06/7.699, allocations: 4 kB / 3.14 GB, free: 16.38 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001975/7.701, allocations: 1.143 MB / 3.141 GB, free: 15.83 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003136/7.702, allocations: 258.2 kB / 3.141 GB, free: 15.62 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.129e-05/7.702, allocations: 11.97 kB / 3.141 GB, free: 15.62 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000574/7.702, allocations: 58.56 kB / 3.141 GB, free: 15.61 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.577e-05/7.702, allocations: 36.67 kB / 3.141 GB, free: 15.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.448e-05/7.703, allocations: 11.06 kB / 3.141 GB, free: 15.6 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004517/7.703, allocations: 308 kB / 3.142 GB, free: 15.45 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.14e-07/7.703, allocations: 4 kB / 3.142 GB, free: 15.45 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004578/7.708, allocations: 1.153 MB / 3.143 GB, free: 15.2 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 18 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.region3boundary,$cse4.region3boundary,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse13.phase,$cse13.region,SourceP1.medium.phase,SinkP1.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007642/7.715, allocations: 1.424 MB / 3.144 GB, free: 14.84 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002626/7.718, allocations: 0.9229 MB / 3.145 GB, free: 14.55 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.569e-06/7.718, allocations: 3.969 kB / 3.145 GB, free: 14.55 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001017/7.719, allocations: 0.5446 MB / 3.146 GB, free: 14.31 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001265/7.72, allocations: 202.3 kB / 3.146 GB, free: 14.25 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5317/8.252, allocations: 76.21 MB / 3.22 GB, free: 66.52 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004588/8.253, allocations: 0.9998 MB / 3.221 GB, free: 65.82 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002062/8.253, allocations: 47.52 kB / 3.221 GB, free: 65.82 MB / 442.7 MB Notification: Performance of SimCode: time 1.721e-06/8.253, allocations: 0 / 3.221 GB, free: 65.82 MB / 442.7 MB Notification: Performance of Templates: time 0.04499/8.298, allocations: 27.56 MB / 3.248 GB, free: 63.19 MB / 442.7 MB