Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/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.2_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing") Notification: Performance of loadModel(ModelicaTest): time 2.295/2.295, allocations: 234.9 MB / 251.1 MB, free: 9.484 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005907/0.0005909, allocations: 8 kB / 314.9 MB, free: 9.527 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3492/0.3498, allocations: 54.86 MB / 369.8 MB, free: 10.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.758/8.108, allocations: 2.635 GB / 2.996 GB, free: 62.86 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003214/8.108, allocations: 97.52 kB / 2.996 GB, free: 62.81 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.272/9.38, allocations: 236.3 MB / 3.227 GB, free: 27.41 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.866e-06/9.38, allocations: 0 / 3.227 GB, free: 27.41 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.864e-05/9.38, allocations: 11.94 kB / 3.227 GB, free: 27.39 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.006155/9.387, allocations: 1.357 MB / 3.228 GB, free: 25.99 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/9.387, allocations: 8.031 kB / 3.228 GB, free: 25.98 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002749/9.389, allocations: 255.1 kB / 3.228 GB, free: 25.73 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009966/9.39, allocations: 440.3 kB / 3.229 GB, free: 25.26 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.236e-05/9.39, allocations: 32.98 kB / 3.229 GB, free: 25.23 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.333e-05/9.391, allocations: 32 kB / 3.229 GB, free: 25.2 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00252/9.393, allocations: 0.6696 MB / 3.23 GB, free: 24.48 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.089e-05/9.393, allocations: 4 kB / 3.23 GB, free: 24.47 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.584e-05/9.393, allocations: 20 kB / 3.23 GB, free: 24.45 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.184e-05/9.393, allocations: 8 kB / 3.23 GB, free: 24.45 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003084/9.396, allocations: 0.6464 MB / 3.23 GB, free: 23.8 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.003981/9.4, allocations: 2.775 MB / 3.233 GB, free: 20.77 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002603/9.403, allocations: 0.4984 MB / 3.233 GB, free: 20.26 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5236/9.927, allocations: 51.47 MB / 3.284 GB, free: 56.77 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.631e-05/9.927, allocations: 39.62 kB / 3.284 GB, free: 56.73 MB / 490.7 MB Notification: Performance of pre-optimization done (n=27): time 3.076e-06/9.927, allocations: 3.75 kB / 3.284 GB, free: 56.73 MB / 490.7 MB Notification: Performance of matching and sorting (n=27): time 0.004961/9.932, allocations: 0.8704 MB / 3.285 GB, free: 56.7 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.327e-05/9.932, allocations: 106.5 kB / 3.285 GB, free: 56.57 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005595/9.932, allocations: 346.7 kB / 3.285 GB, free: 56.46 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.273e-05/9.932, allocations: 32.73 kB / 3.285 GB, free: 56.43 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001495/9.933, allocations: 291.2 kB / 3.285 GB, free: 56.25 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001024/9.933, allocations: 94.23 kB / 3.285 GB, free: 56.2 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.226e-05/9.933, allocations: 7 kB / 3.285 GB, free: 56.2 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.757e-05/9.933, allocations: 327.9 kB / 3.286 GB, free: 55.89 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009343/9.934, allocations: 178.9 kB / 3.286 GB, free: 55.89 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009993/9.935, allocations: 316.4 kB / 3.286 GB, free: 55.73 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009619/9.936, allocations: 201.2 kB / 3.286 GB, free: 55.73 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/9.936, allocations: 0 / 3.286 GB, free: 55.73 MB / 490.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.00225/9.938, allocations: 0.5066 MB / 3.287 GB, free: 55.69 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001218/9.938, allocations: 203.7 kB / 3.287 GB, free: 55.47 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/9.938, allocations: 3.719 kB / 3.287 GB, free: 55.47 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.198e-05/9.938, allocations: 11.05 kB / 3.287 GB, free: 55.47 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008614/9.939, allocations: 124.3 kB / 3.287 GB, free: 55.47 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.356e-05/9.939, allocations: 5.625 kB / 3.287 GB, free: 55.47 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008508/9.94, allocations: 89.8 kB / 3.287 GB, free: 55.46 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.442e-05/9.94, allocations: 21.27 kB / 3.287 GB, free: 55.46 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.047e-05/9.94, allocations: 3.781 kB / 3.287 GB, free: 55.46 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002138/9.942, allocations: 481.4 kB / 3.288 GB, free: 55.45 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.988e-06/9.942, allocations: 3.812 kB / 3.288 GB, free: 55.45 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/9.942, allocations: 11.28 kB / 3.288 GB, free: 55.45 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008357/9.943, allocations: 122 kB / 3.288 GB, free: 55.45 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.319e-05/9.943, allocations: 10.5 kB / 3.288 GB, free: 55.45 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006806/9.944, allocations: 73.91 kB / 3.288 GB, free: 55.44 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.047e-05/9.944, allocations: 18.83 kB / 3.288 GB, free: 55.44 MB / 490.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.0003903/9.944, allocations: 250.2 kB / 3.288 GB, free: 55.25 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001358/9.945, allocations: 47.03 kB / 3.288 GB, free: 55.23 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004011/9.949, allocations: 1.974 MB / 3.29 GB, free: 55.03 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.119e-05/9.949, allocations: 30.45 kB / 3.29 GB, free: 55.03 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.325e-06/9.949, allocations: 0 / 3.29 GB, free: 55.03 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.336e-06/9.949, allocations: 3.797 kB / 3.29 GB, free: 55.03 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001455/9.95, allocations: 1.025 MB / 3.291 GB, free: 54.79 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.141e-06/9.95, allocations: 2.844 kB / 3.291 GB, free: 54.79 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007526/9.951, allocations: 95.2 kB / 3.291 GB, free: 54.79 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.817e-06/9.951, allocations: 0 / 3.291 GB, free: 54.79 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.325e-05/9.951, allocations: 10.31 kB / 3.291 GB, free: 54.79 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/9.951, allocations: 3.875 kB / 3.291 GB, free: 54.79 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/9.951, allocations: 0 / 3.291 GB, free: 54.79 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002604/9.954, allocations: 1.148 MB / 3.293 GB, free: 54.55 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004455/9.954, allocations: 262 kB / 3.293 GB, free: 54.41 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001152/9.954, allocations: 3.875 kB / 3.293 GB, free: 54.41 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007021/9.955, allocations: 63.17 kB / 3.293 GB, free: 54.4 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000127/9.955, allocations: 42.16 kB / 3.293 GB, free: 54.39 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.804e-05/9.955, allocations: 14.5 kB / 3.293 GB, free: 54.39 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0005192/9.956, allocations: 309.9 kB / 3.293 GB, free: 54.3 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.71e-07/9.956, allocations: 0 / 3.293 GB, free: 54.3 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005677/9.961, allocations: 1.155 MB / 3.294 GB, free: 54.3 MB / 490.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.01005/9.972, allocations: 1.422 MB / 3.296 GB, free: 54.14 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003433/9.975, allocations: 0.9268 MB / 3.297 GB, free: 54.11 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.119e-06/9.975, allocations: 3.188 kB / 3.297 GB, free: 54.11 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001244/9.976, allocations: 0.5354 MB / 3.297 GB, free: 54.1 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001783/9.978, allocations: 202.6 kB / 3.297 GB, free: 54.09 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2484/10.23, allocations: 77.26 MB / 3.373 GB, free: 43.78 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000618/10.23, allocations: 0.9945 MB / 3.374 GB, free: 42.87 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003018/10.23, allocations: 53.45 kB / 3.374 GB, free: 42.83 MB / 490.7 MB Notification: Performance of SimCode: time 1.232e-06/10.23, allocations: 0 / 3.374 GB, free: 42.83 MB / 490.7 MB Notification: Performance of Templates: time 0.06408/10.29, allocations: 27.74 MB / 3.401 GB, free: 26.77 MB / 490.7 MB