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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.235/2.235, allocations: 234.9 MB / 250.5 MB, free: 9.484 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004452/0.0004453, allocations: 12 kB / 314.3 MB, free: 9.523 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2809/0.2814, allocations: 54.87 MB / 369.2 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing): time 0.0378/0.3192, allocations: 24.13 MB / 393.3 MB, free: 2.512 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.02714/0.3464, allocations: 14.76 MB / 408.1 MB, free: 3.723 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006892/0.3472, allocations: 15.81 kB / 408.1 MB, free: 3.707 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001096/0.3483, allocations: 258.9 kB / 408.3 MB, free: 3.453 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0108/0.3591, allocations: 2.965 MB / 411.3 MB, free: 492 kB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01151/0.3707, allocations: 3.091 MB / 414.4 MB, free: 13.38 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001396/0.3721, allocations: 0.6569 MB / 415.1 MB, free: 12.73 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004891/0.3726, allocations: 229.4 kB / 415.3 MB, free: 12.5 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00113/0.3737, allocations: 426.5 kB / 415.7 MB, free: 12.09 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000431/0.3742, allocations: 235.1 kB / 415.9 MB, free: 11.86 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 7.095e-05/0.3743, allocations: 16 kB / 415.9 MB, free: 11.84 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01748/0.3918, allocations: 7.16 MB / 423.1 MB, free: 4.672 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000202/0.392, allocations: 87.64 kB / 423.2 MB, free: 4.586 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002318/0.3923, allocations: 121.4 kB / 423.3 MB, free: 4.461 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007208/0.3995, allocations: 3.068 MB / 426.4 MB, free: 1.387 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.72e-06/0.3996, allocations: 0 / 426.4 MB, free: 1.387 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.725e-06/0.3996, allocations: 0 / 426.4 MB, free: 1.387 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.663e-06/0.3996, allocations: 0 / 426.4 MB, free: 1.387 MB / 346.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.003989/0.4036, allocations: 1.259 MB / 427.6 MB, free: 80 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.4037, allocations: 8.031 kB / 427.6 MB, free: 72 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002573/0.4062, allocations: 247.2 kB / 427.9 MB, free: 15.83 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008436/0.4071, allocations: 390.6 kB / 428.3 MB, free: 15.4 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.915e-05/0.4072, allocations: 29 kB / 428.3 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.024e-05/0.4073, allocations: 32 kB / 428.3 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002494/0.4098, allocations: 0.6804 MB / 429 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.138e-05/0.4099, allocations: 3.938 kB / 429 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.261e-05/0.4099, allocations: 12 kB / 429 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.768e-05/0.41, allocations: 8 kB / 429 MB, free: 14.6 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002811/0.4128, allocations: 0.662 MB / 429.7 MB, free: 13.93 MB / 362.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.004481/0.4173, allocations: 2.767 MB / 432.5 MB, free: 10.91 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002367/0.4197, allocations: 0.5023 MB / 433 MB, free: 10.4 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4564/0.8761, allocations: 52.16 MB / 485.1 MB, free: 89.14 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.304e-05/0.8761, allocations: 34.44 kB / 485.2 MB, free: 89.1 MB / 394.7 MB Notification: Performance of pre-optimization done (n=27): time 2.871e-06/0.8762, allocations: 0 / 485.2 MB, free: 89.1 MB / 394.7 MB Notification: Performance of matching and sorting (n=27): time 0.00415/0.8803, allocations: 0.866 MB / 486 MB, free: 88.77 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.521e-05/0.8804, allocations: 108.2 kB / 486.1 MB, free: 88.64 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004551/0.8809, allocations: 352.6 kB / 486.5 MB, free: 88.42 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.707e-05/0.8809, allocations: 31.86 kB / 486.5 MB, free: 88.38 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001366/0.8811, allocations: 287.3 kB / 486.8 MB, free: 88.14 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.802e-05/0.8812, allocations: 91.88 kB / 486.9 MB, free: 88.07 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.516e-05/0.8812, allocations: 4 kB / 486.9 MB, free: 88.07 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.05e-05/0.8813, allocations: 337.7 kB / 487.2 MB, free: 87.74 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006455/0.8819, allocations: 172.2 kB / 487.4 MB, free: 87.67 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007916/0.8827, allocations: 305.5 kB / 487.7 MB, free: 87.43 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007777/0.8835, allocations: 200.4 kB / 487.9 MB, free: 87.34 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.926e-06/0.8836, allocations: 0 / 487.9 MB, free: 87.34 MB / 394.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001775/0.8853, allocations: 0.5058 MB / 488.4 MB, free: 87.11 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.16e-05/0.8855, allocations: 206 kB / 488.6 MB, free: 86.86 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.8855, allocations: 3.844 kB / 488.6 MB, free: 86.86 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.788e-05/0.8855, allocations: 12.38 kB / 488.6 MB, free: 86.86 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006277/0.8862, allocations: 120.6 kB / 488.7 MB, free: 86.83 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.554e-05/0.8862, allocations: 12.91 kB / 488.7 MB, free: 86.82 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006509/0.8869, allocations: 86.45 kB / 488.8 MB, free: 86.76 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.516e-05/0.8869, allocations: 24.55 kB / 488.8 MB, free: 86.73 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/0.887, allocations: 5.719 kB / 488.8 MB, free: 86.73 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001704/0.8887, allocations: 475.7 kB / 489.3 MB, free: 86.27 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.069e-06/0.8887, allocations: 4 kB / 489.3 MB, free: 86.26 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.988e-06/0.8887, allocations: 4 kB / 489.3 MB, free: 86.26 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005982/0.8893, allocations: 131.1 kB / 489.4 MB, free: 86.13 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-05/0.8894, allocations: 11.92 kB / 489.4 MB, free: 86.12 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004554/0.8898, allocations: 71.73 kB / 489.5 MB, free: 86.05 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.51e-05/0.8899, allocations: 20 kB / 489.5 MB, free: 86.03 MB / 394.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.00028/0.8902, allocations: 241 kB / 489.8 MB, free: 85.79 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001127/0.8903, allocations: 39.53 kB / 489.8 MB, free: 85.75 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00309/0.8934, allocations: 1.994 MB / 491.8 MB, free: 83.75 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.147e-05/0.8935, allocations: 35.89 kB / 491.8 MB, free: 83.71 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.79e-06/0.8935, allocations: 0 / 491.8 MB, free: 83.71 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.321e-06/0.8935, allocations: 0 / 491.8 MB, free: 83.71 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001086/0.8946, allocations: 1.021 MB / 492.9 MB, free: 82.65 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.74e-06/0.8946, allocations: 0 / 492.9 MB, free: 82.65 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004963/0.8951, allocations: 99.86 kB / 493 MB, free: 82.55 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.949e-06/0.8952, allocations: 0 / 493 MB, free: 82.55 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.81e-05/0.8952, allocations: 11.12 kB / 493 MB, free: 82.54 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.814e-06/0.8952, allocations: 4 kB / 493 MB, free: 82.54 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.902e-06/0.8952, allocations: 3.953 kB / 493 MB, free: 82.54 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001931/0.8972, allocations: 1.141 MB / 494.1 MB, free: 81.38 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002987/0.8975, allocations: 260.5 kB / 494.4 MB, free: 81.1 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001188/0.8976, allocations: 4 kB / 494.4 MB, free: 81.1 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008515/0.8985, allocations: 63.83 kB / 494.4 MB, free: 81.04 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.971e-05/0.8986, allocations: 27.95 kB / 494.5 MB, free: 81.01 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.407e-05/0.8987, allocations: 15.95 kB / 494.5 MB, free: 80.99 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004033/0.8991, allocations: 310.9 kB / 494.8 MB, free: 80.69 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.1e-07/0.8991, allocations: 0 / 494.8 MB, free: 80.69 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003043/0.9021, allocations: 1.128 MB / 495.9 MB, free: 79.64 MB / 394.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,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse9.phase,$cse9.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.00524/0.9074, allocations: 1.215 MB / 497.1 MB, free: 78.62 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002494/0.9099, allocations: 0.9168 MB / 498 MB, free: 77.71 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.45e-06/0.91, allocations: 0 / 498 MB, free: 77.71 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009435/0.9109, allocations: 0.5455 MB / 498.6 MB, free: 77.16 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001244/0.9122, allocations: 197.1 kB / 498.8 MB, free: 76.97 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002948/0.9152, allocations: 2.122 MB / 0.4892 GB, free: 74.86 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004183/0.9156, allocations: 1.003 MB / 0.4901 GB, free: 73.83 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00018/0.9158, allocations: 47.42 kB / 0.4902 GB, free: 73.79 MB / 394.7 MB Notification: Performance of SimCode: time 1.993e-06/0.9158, allocations: 0 / 0.4902 GB, free: 73.79 MB / 394.7 MB Notification: Performance of Templates: time 0.04341/0.9592, allocations: 28.22 MB / 0.5177 GB, free: 45.57 MB / 394.7 MB