Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.909/1.909, allocations: 209.2 MB / 225.4 MB, free: 0.6211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004512/0.0004513, allocations: 19.98 kB / 283.1 MB, free: 9.688 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3672/0.3677, allocations: 48.7 MB / 331.8 MB, free: 6.508 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.136/7.503, allocations: 2.524 GB / 2.848 GB, free: 84.84 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003314/7.504, allocations: 89 kB / 2.848 GB, free: 84.84 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.226/8.73, allocations: 231.9 MB / 3.075 GB, free: 66.31 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.515e-06/8.73, allocations: 0 / 3.075 GB, free: 66.31 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.845e-05/8.73, allocations: 14.12 kB / 3.075 GB, free: 66.3 MB / 442.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.006194/8.737, allocations: 1.329 MB / 3.076 GB, free: 65.52 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.092e-05/8.737, allocations: 9.844 kB / 3.076 GB, free: 65.52 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002853/8.739, allocations: 249.1 kB / 3.076 GB, free: 65.48 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001138/8.741, allocations: 433.1 kB / 3.077 GB, free: 65.16 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.11e-05/8.741, allocations: 26.75 kB / 3.077 GB, free: 65.15 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.643e-05/8.741, allocations: 43.12 kB / 3.077 GB, free: 65.13 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002673/8.743, allocations: 0.6689 MB / 3.077 GB, free: 64.85 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.372e-05/8.744, allocations: 2.344 kB / 3.078 GB, free: 64.85 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.929e-05/8.744, allocations: 12.59 kB / 3.078 GB, free: 64.84 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.534e-05/8.744, allocations: 12.98 kB / 3.078 GB, free: 64.84 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00313/8.747, allocations: 0.651 MB / 3.078 GB, free: 64.7 MB / 442.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.004081/8.751, allocations: 2.765 MB / 3.081 GB, free: 62.38 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002563/8.754, allocations: 0.496 MB / 3.081 GB, free: 62.26 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1795/8.933, allocations: 51.43 MB / 3.132 GB, free: 32.46 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.578e-05/8.933, allocations: 38.47 kB / 3.132 GB, free: 32.42 MB / 442.7 MB Notification: Performance of pre-optimization done (n=27): time 2.554e-06/8.933, allocations: 0 / 3.132 GB, free: 32.42 MB / 442.7 MB Notification: Performance of matching and sorting (n=27): time 0.004734/8.938, allocations: 0.8606 MB / 3.132 GB, free: 32.2 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.084e-05/8.938, allocations: 114 kB / 3.133 GB, free: 32.07 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005751/8.939, allocations: 353.5 kB / 3.133 GB, free: 31.88 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.836e-05/8.939, allocations: 33.45 kB / 3.133 GB, free: 31.85 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001446/8.939, allocations: 286.4 kB / 3.133 GB, free: 31.59 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.343e-05/8.939, allocations: 94.27 kB / 3.133 GB, free: 31.52 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.227e-05/8.939, allocations: 8 kB / 3.133 GB, free: 31.52 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.848e-05/8.939, allocations: 328.6 kB / 3.134 GB, free: 31.2 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009183/8.94, allocations: 174.5 kB / 3.134 GB, free: 31.15 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009863/8.941, allocations: 314.5 kB / 3.134 GB, free: 30.93 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009683/8.942, allocations: 204.1 kB / 3.134 GB, free: 30.87 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.793e-06/8.942, allocations: 4 kB / 3.134 GB, free: 30.86 MB / 442.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.002281/8.944, allocations: 0.5104 MB / 3.135 GB, free: 30.68 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001094/8.944, allocations: 197.9 kB / 3.135 GB, free: 30.45 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/8.944, allocations: 7.938 kB / 3.135 GB, free: 30.44 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.003e-05/8.944, allocations: 11.73 kB / 3.135 GB, free: 30.44 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008827/8.945, allocations: 121.8 kB / 3.135 GB, free: 30.43 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.546e-05/8.945, allocations: 11.56 kB / 3.135 GB, free: 30.43 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008935/8.946, allocations: 84.86 kB / 3.135 GB, free: 30.4 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.699e-05/8.946, allocations: 26.02 kB / 3.135 GB, free: 30.39 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/8.946, allocations: 4.75 kB / 3.135 GB, free: 30.39 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002143/8.949, allocations: 475.2 kB / 3.136 GB, free: 30.25 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/8.949, allocations: 11.66 kB / 3.136 GB, free: 30.24 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/8.949, allocations: 7.812 kB / 3.136 GB, free: 30.24 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008372/8.949, allocations: 113.7 kB / 3.136 GB, free: 30.23 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.147e-05/8.949, allocations: 11.34 kB / 3.136 GB, free: 30.23 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007007/8.95, allocations: 70.31 kB / 3.136 GB, free: 30.21 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.159e-05/8.95, allocations: 26.95 kB / 3.136 GB, free: 30.2 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 () * 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.000352/8.951, allocations: 251.4 kB / 3.136 GB, free: 29.97 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001272/8.951, allocations: 36.28 kB / 3.136 GB, free: 29.95 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003903/8.955, allocations: 1.989 MB / 3.138 GB, free: 29.04 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.74e-05/8.955, allocations: 27.97 kB / 3.138 GB, free: 29.03 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/8.955, allocations: 0 / 3.138 GB, free: 29.03 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.015e-05/8.955, allocations: 7.344 kB / 3.138 GB, free: 29.03 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001403/8.956, allocations: 1.015 MB / 3.139 GB, free: 28.44 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.271e-06/8.956, allocations: 3.938 kB / 3.139 GB, free: 28.44 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008861/8.957, allocations: 100.1 kB / 3.139 GB, free: 28.43 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.907e-06/8.957, allocations: 0 / 3.139 GB, free: 28.43 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.414e-05/8.957, allocations: 7.938 kB / 3.139 GB, free: 28.43 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.845e-06/8.957, allocations: 4 kB / 3.139 GB, free: 28.42 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/8.957, allocations: 11.92 kB / 3.139 GB, free: 28.41 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002708/8.96, allocations: 1.158 MB / 3.14 GB, free: 27.85 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003996/8.96, allocations: 246.4 kB / 3.141 GB, free: 27.66 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001181/8.961, allocations: 4 kB / 3.141 GB, free: 27.65 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007116/8.961, allocations: 64.67 kB / 3.141 GB, free: 27.64 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001107/8.961, allocations: 30.28 kB / 3.141 GB, free: 27.63 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.723e-05/8.961, allocations: 11.45 kB / 3.141 GB, free: 27.63 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0005373/8.962, allocations: 308.9 kB / 3.141 GB, free: 27.48 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.71e-07/8.962, allocations: 4 kB / 3.141 GB, free: 27.48 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005568/8.968, allocations: 1.156 MB / 3.142 GB, free: 27.24 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: 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.00966/8.977, allocations: 1.419 MB / 3.144 GB, free: 26.88 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00349/8.981, allocations: 0.9271 MB / 3.144 GB, free: 26.32 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.793e-06/8.981, allocations: 4 kB / 3.144 GB, free: 26.32 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001315/8.982, allocations: 0.5434 MB / 3.145 GB, free: 25.82 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001803/8.984, allocations: 199 kB / 3.145 GB, free: 25.68 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5427/9.527, allocations: 75.97 MB / 3.219 GB, free: 60.86 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004536/9.527, allocations: 1.007 MB / 3.22 GB, free: 60.16 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002406/9.528, allocations: 47.12 kB / 3.22 GB, free: 60.16 MB / 442.7 MB Notification: Performance of SimCode: time 1.202e-06/9.528, allocations: 0 / 3.22 GB, free: 60.16 MB / 442.7 MB Notification: Performance of Templates: time 0.05684/9.584, allocations: 27.56 MB / 3.247 GB, free: 57.29 MB / 442.7 MB