Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.252/2.252, allocations: 235.1 MB / 243 MB, free: 9.496 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.849e-05/2.867e-05, allocations: 4 kB / 303.2 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2975/0.2975, allocations: 54.85 MB / 358 MB, free: 14.97 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.388/6.686, allocations: 2.634 GB / 2.984 GB, free: 86.68 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002382/6.686, allocations: 82.33 kB / 2.984 GB, free: 86.64 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9411/7.627, allocations: 232.7 MB / 3.211 GB, free: 42.85 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.209e-06/7.627, allocations: 0 / 3.211 GB, free: 42.85 MB / 474.7 MB Notification: Performance of Transformations before backend: time 3.58e-05/7.627, allocations: 15.84 kB / 3.211 GB, free: 42.84 MB / 474.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.004713/7.632, allocations: 1.305 MB / 3.212 GB, free: 41.49 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/7.632, allocations: 12.02 kB / 3.212 GB, free: 41.48 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002636/7.634, allocations: 255.2 kB / 3.213 GB, free: 41.23 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009008/7.635, allocations: 431.8 kB / 3.213 GB, free: 40.77 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.115e-05/7.635, allocations: 16 kB / 3.213 GB, free: 40.76 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.767e-05/7.636, allocations: 20 kB / 3.213 GB, free: 40.74 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007486/7.636, allocations: 345.5 kB / 3.213 GB, free: 40.4 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007274/7.637, allocations: 417.9 kB / 3.214 GB, free: 39.95 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.816e-05/7.637, allocations: 3.938 kB / 3.214 GB, free: 39.95 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.494e-05/7.637, allocations: 4 kB / 3.214 GB, free: 39.94 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.013e-05/7.637, allocations: 8 kB / 3.214 GB, free: 39.93 MB / 474.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.00635/7.644, allocations: 4.109 MB / 3.218 GB, free: 35.43 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005886/7.644, allocations: 242.8 kB / 3.218 GB, free: 35.19 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002436/7.644, allocations: 140.7 kB / 3.218 GB, free: 35.05 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4763/8.121, allocations: 50.34 MB / 3.267 GB, free: 59.32 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.785e-05/8.121, allocations: 35.47 kB / 3.267 GB, free: 59.28 MB / 474.7 MB Notification: Performance of pre-optimization done (n=26): time 7.236e-06/8.121, allocations: 0 / 3.267 GB, free: 59.28 MB / 474.7 MB Notification: Performance of matching and sorting (n=26): time 0.005727/8.127, allocations: 0.5458 MB / 3.268 GB, free: 59.25 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.718e-05/8.127, allocations: 106.6 kB / 3.268 GB, free: 59.12 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007381/8.128, allocations: 279.3 kB / 3.268 GB, free: 59.02 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 6.513e-05/8.128, allocations: 29.64 kB / 3.268 GB, free: 58.99 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00026/8.128, allocations: 293.6 kB / 3.269 GB, free: 58.81 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001555/8.128, allocations: 89.66 kB / 3.269 GB, free: 58.77 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.805e-05/8.128, allocations: 0 / 3.269 GB, free: 58.77 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001208/8.128, allocations: 325.9 kB / 3.269 GB, free: 58.45 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004722/8.129, allocations: 100 kB / 3.269 GB, free: 58.45 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005874/8.129, allocations: 231.7 kB / 3.269 GB, free: 58.29 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002629/8.132, allocations: 209.7 kB / 3.27 GB, free: 58.29 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-05/8.132, allocations: 0.5156 kB / 3.27 GB, free: 58.29 MB / 474.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.003671/8.136, allocations: 430.1 kB / 3.27 GB, free: 58.25 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005237/8.136, allocations: 1.483 MB / 3.271 GB, free: 56.71 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2e-05/8.136, allocations: 3.75 kB / 3.271 GB, free: 56.71 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.235e-05/8.137, allocations: 12.14 kB / 3.271 GB, free: 56.71 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0013/8.138, allocations: 115.1 kB / 3.272 GB, free: 56.71 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.453e-05/8.138, allocations: 14.66 kB / 3.272 GB, free: 56.71 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00139/8.139, allocations: 85.73 kB / 3.272 GB, free: 56.7 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001104/8.139, allocations: 27.94 kB / 3.272 GB, free: 56.7 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/8.14, allocations: 6.984 kB / 3.272 GB, free: 56.7 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002986/8.143, allocations: 341.8 kB / 3.272 GB, free: 56.69 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.565e-05/8.143, allocations: 7.5 kB / 3.272 GB, free: 56.69 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.414e-05/8.143, allocations: 6.844 kB / 3.272 GB, free: 56.69 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001322/8.144, allocations: 120.9 kB / 3.272 GB, free: 56.69 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.861e-05/8.144, allocations: 8.469 kB / 3.272 GB, free: 56.69 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001063/8.145, allocations: 71.17 kB / 3.272 GB, free: 56.68 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001009/8.145, allocations: 17.66 kB / 3.272 GB, free: 56.68 MB / 474.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.0002363/8.145, allocations: 117.3 kB / 3.272 GB, free: 56.58 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002482/8.146, allocations: 39.22 kB / 3.272 GB, free: 56.56 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005613/8.151, allocations: 1.687 MB / 3.274 GB, free: 56.38 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.972e-05/8.151, allocations: 27.62 kB / 3.274 GB, free: 56.38 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.011e-05/8.152, allocations: 0 / 3.274 GB, free: 56.38 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.262e-05/8.152, allocations: 0 / 3.274 GB, free: 56.38 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01134/8.163, allocations: 0.857 MB / 3.275 GB, free: 56.19 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.321e-06/8.163, allocations: 0 / 3.275 GB, free: 56.19 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005855/8.164, allocations: 99.45 kB / 3.275 GB, free: 56.19 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.679e-06/8.164, allocations: 0 / 3.275 GB, free: 56.19 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.93e-05/8.164, allocations: 7.531 kB / 3.275 GB, free: 56.19 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.136e-06/8.164, allocations: 3.953 kB / 3.275 GB, free: 56.19 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.701e-06/8.164, allocations: 0 / 3.275 GB, free: 56.19 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00283/8.166, allocations: 0.9639 MB / 3.276 GB, free: 55.97 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003056/8.167, allocations: 248.7 kB / 3.276 GB, free: 55.84 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.25e-05/8.167, allocations: 3.969 kB / 3.276 GB, free: 55.84 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005255/8.167, allocations: 47.2 kB / 3.276 GB, free: 55.84 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.936e-05/8.168, allocations: 34.47 kB / 3.276 GB, free: 55.83 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.348e-05/8.168, allocations: 11.75 kB / 3.276 GB, free: 55.83 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.00036/8.168, allocations: 286.7 kB / 3.277 GB, free: 55.74 MB / 474.7 MB Notification: Performance of sort global known variables: time 8.21e-07/8.168, allocations: 0 / 3.277 GB, free: 55.74 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006906/8.175, allocations: 1.138 MB / 3.278 GB, free: 55.73 MB / 474.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.01167/8.187, allocations: 1.492 MB / 3.279 GB, free: 55.61 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001987/8.189, allocations: 0.6439 MB / 3.28 GB, free: 55.6 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.634e-06/8.189, allocations: 0 / 3.28 GB, free: 55.6 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008938/8.19, allocations: 438.4 kB / 3.28 GB, free: 55.6 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00199/8.192, allocations: 179.8 kB / 3.28 GB, free: 55.6 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1626/8.354, allocations: 54.45 MB / 3.334 GB, free: 53.18 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004324/8.355, allocations: 0.9862 MB / 3.334 GB, free: 52.46 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001991/8.355, allocations: 48.67 kB / 3.335 GB, free: 52.45 MB / 474.7 MB Notification: Performance of SimCode: time 1.871e-06/8.355, allocations: 0 / 3.335 GB, free: 52.45 MB / 474.7 MB Notification: Performance of Templates: time 0.04471/8.4, allocations: 27.9 MB / 3.362 GB, free: 42.37 MB / 474.7 MB