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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.957/1.957, allocations: 209.4 MB / 217.3 MB, free: 4.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.469e-05/1.481e-05, allocations: 4 kB / 271.3 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2636/0.2636, allocations: 48.69 MB / 320 MB, free: 14.4 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.886/6.15, allocations: 2.523 GB / 2.836 GB, free: 49.54 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002161/6.15, allocations: 79.95 kB / 2.836 GB, free: 49.46 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.166/7.316, allocations: 228.4 MB / 3.059 GB, free: 53.03 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.401e-06/7.316, allocations: 0 / 3.059 GB, free: 53.03 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.773e-05/7.317, allocations: 14.88 kB / 3.059 GB, free: 53.03 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.004578/7.321, allocations: 1.283 MB / 3.06 GB, free: 52.43 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/7.321, allocations: 10.59 kB / 3.06 GB, free: 52.43 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002702/7.324, allocations: 243.7 kB / 3.061 GB, free: 52.41 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009184/7.325, allocations: 422.2 kB / 3.061 GB, free: 52.19 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.399e-05/7.325, allocations: 22.34 kB / 3.061 GB, free: 52.19 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.034e-05/7.325, allocations: 19.31 kB / 3.061 GB, free: 52.19 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007899/7.326, allocations: 346.9 kB / 3.061 GB, free: 52.19 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000759/7.327, allocations: 420.6 kB / 3.062 GB, free: 52.05 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.997e-05/7.327, allocations: 0 / 3.062 GB, free: 52.05 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.464e-05/7.327, allocations: 6.562 kB / 3.062 GB, free: 52.05 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.261e-05/7.327, allocations: 10.77 kB / 3.062 GB, free: 52.05 MB / 426.7 MB Warning: The model contains alias variables with conflicting start and/or 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.006414/7.333, allocations: 4.084 MB / 3.066 GB, free: 49.26 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006298/7.334, allocations: 250 kB / 3.066 GB, free: 49.24 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002323/7.334, allocations: 123.9 kB / 3.066 GB, free: 49.23 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1323/7.466, allocations: 50.33 MB / 3.115 GB, free: 37.81 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.855e-05/7.466, allocations: 40.86 kB / 3.115 GB, free: 37.77 MB / 442.7 MB Notification: Performance of pre-optimization done (n=26): time 3.272e-06/7.466, allocations: 0 / 3.115 GB, free: 37.77 MB / 442.7 MB Notification: Performance of matching and sorting (n=26): time 0.002613/7.469, allocations: 0.5456 MB / 3.116 GB, free: 37.72 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.146e-05/7.469, allocations: 114.5 kB / 3.116 GB, free: 37.59 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003715/7.469, allocations: 263.2 kB / 3.116 GB, free: 37.48 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.238e-05/7.47, allocations: 29.36 kB / 3.116 GB, free: 37.45 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001853/7.47, allocations: 298.2 kB / 3.117 GB, free: 37.25 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.712e-05/7.47, allocations: 85.72 kB / 3.117 GB, free: 37.21 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.279e-05/7.47, allocations: 0 / 3.117 GB, free: 37.21 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001624/7.47, allocations: 330.2 kB / 3.117 GB, free: 36.89 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002035/7.47, allocations: 98.81 kB / 3.117 GB, free: 36.89 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000258/7.471, allocations: 238.4 kB / 3.117 GB, free: 36.73 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001195/7.472, allocations: 200.1 kB / 3.118 GB, free: 36.72 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.369e-06/7.472, allocations: 0 / 3.118 GB, free: 36.72 MB / 442.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001714/7.473, allocations: 434.5 kB / 3.118 GB, free: 36.67 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007434/7.474, allocations: 1.483 MB / 3.119 GB, free: 35.12 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/7.474, allocations: 3.625 kB / 3.119 GB, free: 35.12 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.373e-05/7.474, allocations: 7.406 kB / 3.119 GB, free: 35.12 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000629/7.475, allocations: 123.9 kB / 3.12 GB, free: 35.12 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/7.475, allocations: 6.469 kB / 3.12 GB, free: 35.12 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000735/7.476, allocations: 89 kB / 3.12 GB, free: 35.1 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.334e-05/7.476, allocations: 22.52 kB / 3.12 GB, free: 35.1 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/7.476, allocations: 3.062 kB / 3.12 GB, free: 35.1 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00141/7.477, allocations: 348.6 kB / 3.12 GB, free: 35.09 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.427e-06/7.477, allocations: 7.344 kB / 3.12 GB, free: 35.09 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.083e-05/7.477, allocations: 7.906 kB / 3.12 GB, free: 35.09 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006366/7.478, allocations: 116 kB / 3.12 GB, free: 35.09 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/7.478, allocations: 13.91 kB / 3.12 GB, free: 35.09 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005437/7.479, allocations: 66.02 kB / 3.12 GB, free: 35.08 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.949e-05/7.479, allocations: 22.28 kB / 3.12 GB, free: 35.08 MB / 442.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 () * 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.0001733/7.479, allocations: 117 kB / 3.12 GB, free: 34.97 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001309/7.479, allocations: 43.17 kB / 3.12 GB, free: 34.95 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002719/7.482, allocations: 1.676 MB / 3.122 GB, free: 34.72 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.001e-05/7.482, allocations: 28.2 kB / 3.122 GB, free: 34.72 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.973e-06/7.482, allocations: 0 / 3.122 GB, free: 34.72 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.758e-06/7.482, allocations: 3.703 kB / 3.122 GB, free: 34.72 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001132/7.483, allocations: 0.8593 MB / 3.123 GB, free: 34.5 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.295e-06/7.483, allocations: 0 / 3.123 GB, free: 34.5 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005583/7.483, allocations: 100.2 kB / 3.123 GB, free: 34.49 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.415e-06/7.484, allocations: 0 / 3.123 GB, free: 34.49 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.865e-05/7.484, allocations: 7.547 kB / 3.123 GB, free: 34.49 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.779e-06/7.484, allocations: 3.219 kB / 3.123 GB, free: 34.49 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.145e-06/7.484, allocations: 2.188 kB / 3.123 GB, free: 34.49 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001846/7.485, allocations: 0.958 MB / 3.124 GB, free: 34.27 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000329/7.486, allocations: 255.2 kB / 3.124 GB, free: 34.11 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.181e-05/7.486, allocations: 0 / 3.124 GB, free: 34.11 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005136/7.486, allocations: 54.73 kB / 3.124 GB, free: 34.1 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.085e-05/7.487, allocations: 35.53 kB / 3.124 GB, free: 34.1 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.362e-05/7.487, allocations: 10.34 kB / 3.124 GB, free: 34.1 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003924/7.487, allocations: 284.7 kB / 3.124 GB, free: 34.01 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.78e-07/7.487, allocations: 0 / 3.124 GB, free: 34.01 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004533/7.492, allocations: 1.133 MB / 3.126 GB, free: 33.82 MB / 442.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: 16 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.region3boundary,$cse4.region3boundary,$cse5.phase,$cse5.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse12.phase,$cse12.region,SourceP1.medium.phase,SinkP1.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 28 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007775/7.499, allocations: 1.478 MB / 3.127 GB, free: 33.51 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001242/7.501, allocations: 0.6538 MB / 3.128 GB, free: 33.5 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.704e-06/7.501, allocations: 0 / 3.128 GB, free: 33.5 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005378/7.501, allocations: 428.9 kB / 3.128 GB, free: 33.49 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001253/7.502, allocations: 183.2 kB / 3.128 GB, free: 33.48 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1397/7.642, allocations: 54.45 MB / 3.181 GB, free: 16.36 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006293/7.643, allocations: 0.9763 MB / 3.182 GB, free: 15.45 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001849/7.643, allocations: 52.88 kB / 3.182 GB, free: 15.41 MB / 442.7 MB Notification: Performance of SimCode: time 1.655e-06/7.643, allocations: 0 / 3.182 GB, free: 15.41 MB / 442.7 MB Notification: Performance of Templates: time 0.3428/7.986, allocations: 27.73 MB / 3.21 GB, free: 63.66 MB / 442.7 MB