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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.929/1.929, allocations: 209.3 MB / 224.8 MB, free: 1.211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004335/0.0004336, allocations: 12 kB / 282.5 MB, free: 9.766 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0859/0.08636, allocations: 48.71 MB / 331.2 MB, free: 8.961 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing): time 0.2437/0.3301, allocations: 23.94 MB / 355.1 MB, free: 3.605 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.02512/0.3553, allocations: 14.68 MB / 369.8 MB, free: 9.613 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007717/0.3561, allocations: 15.84 kB / 369.8 MB, free: 9.605 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001026/0.3572, allocations: 265.5 kB / 370.1 MB, free: 9.387 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01205/0.3692, allocations: 2.944 MB / 373 MB, free: 7.109 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01284/0.3821, allocations: 3.08 MB / 376.1 MB, free: 4.887 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001544/0.3837, allocations: 0.6478 MB / 376.8 MB, free: 4.465 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005306/0.3842, allocations: 234.2 kB / 377 MB, free: 4.32 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001124/0.3854, allocations: 425.6 kB / 377.4 MB, free: 4.066 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004553/0.3859, allocations: 230.2 kB / 377.6 MB, free: 3.938 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.504e-05/0.3859, allocations: 17.88 kB / 377.7 MB, free: 3.938 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01747/0.4034, allocations: 7.055 MB / 384.7 MB, free: 15.51 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002191/0.4037, allocations: 91.64 kB / 384.8 MB, free: 15.42 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002745/0.404, allocations: 113.5 kB / 384.9 MB, free: 15.3 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007466/0.4115, allocations: 3.021 MB / 387.9 MB, free: 12.27 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.674e-06/0.4115, allocations: 0 / 387.9 MB, free: 12.27 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.702e-06/0.4115, allocations: 0 / 387.9 MB, free: 12.27 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.116e-05/0.4115, allocations: 0 / 387.9 MB, free: 12.27 MB / 314.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.003909/0.4155, allocations: 1.255 MB / 389.2 MB, free: 10.97 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.4155, allocations: 8.031 kB / 389.2 MB, free: 10.96 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002407/0.4179, allocations: 227.2 kB / 389.4 MB, free: 10.74 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008026/0.4188, allocations: 390.6 kB / 389.8 MB, free: 10.32 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.187e-05/0.4188, allocations: 37 kB / 389.8 MB, free: 10.28 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.217e-05/0.4189, allocations: 32 kB / 389.9 MB, free: 10.25 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002383/0.4213, allocations: 0.6726 MB / 390.5 MB, free: 9.535 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.428e-05/0.4214, allocations: 3.938 kB / 390.5 MB, free: 9.531 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.393e-05/0.4215, allocations: 20 kB / 390.6 MB, free: 9.512 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.46e-05/0.4215, allocations: 8 kB / 390.6 MB, free: 9.504 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002722/0.4242, allocations: 0.6542 MB / 391.2 MB, free: 8.848 MB / 314.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.004421/0.4287, allocations: 2.771 MB / 394 MB, free: 5.82 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002338/0.431, allocations: 0.5121 MB / 394.5 MB, free: 5.301 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1375/0.5686, allocations: 52.07 MB / 446.6 MB, free: 11.75 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.352e-05/0.5687, allocations: 42.56 kB / 446.6 MB, free: 11.7 MB / 378.7 MB Notification: Performance of pre-optimization done (n=27): time 3.177e-06/0.5687, allocations: 0 / 446.6 MB, free: 11.7 MB / 378.7 MB Notification: Performance of matching and sorting (n=27): time 0.004107/0.5728, allocations: 0.8644 MB / 447.5 MB, free: 10.83 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.188e-05/0.573, allocations: 110.8 kB / 447.6 MB, free: 10.7 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005774/0.5735, allocations: 349.6 kB / 447.9 MB, free: 10.34 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.822e-05/0.5736, allocations: 29.7 kB / 448 MB, free: 10.31 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002397/0.5739, allocations: 294.1 kB / 448.2 MB, free: 10.02 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001185/0.574, allocations: 94.64 kB / 448.3 MB, free: 9.926 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.699e-05/0.574, allocations: 4 kB / 448.3 MB, free: 9.922 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001726/0.5742, allocations: 326.8 kB / 448.7 MB, free: 9.594 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007114/0.5749, allocations: 175.9 kB / 448.8 MB, free: 9.422 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008596/0.5758, allocations: 316 kB / 449.1 MB, free: 9.055 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007517/0.5766, allocations: 204.1 kB / 449.3 MB, free: 8.855 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.707e-06/0.5766, allocations: 0 / 449.3 MB, free: 8.855 MB / 378.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001838/0.5785, allocations: 0.5127 MB / 449.9 MB, free: 8.336 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001828/0.5787, allocations: 199 kB / 450 MB, free: 8.086 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/0.5787, allocations: 4 kB / 450.1 MB, free: 8.082 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.454e-05/0.5787, allocations: 8 kB / 450.1 MB, free: 8.074 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006648/0.5794, allocations: 119.9 kB / 450.2 MB, free: 7.957 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.335e-05/0.5794, allocations: 4 kB / 450.2 MB, free: 7.953 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006179/0.5801, allocations: 87.59 kB / 450.3 MB, free: 7.867 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.425e-05/0.5802, allocations: 27.92 kB / 450.3 MB, free: 7.84 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/0.5802, allocations: 4 kB / 450.3 MB, free: 7.836 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001729/0.5819, allocations: 475.7 kB / 450.8 MB, free: 7.371 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.479e-06/0.5819, allocations: 4 kB / 450.8 MB, free: 7.367 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.582, allocations: 8 kB / 450.8 MB, free: 7.359 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000646/0.5826, allocations: 120.2 kB / 450.9 MB, free: 7.242 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.113e-05/0.5827, allocations: 11.94 kB / 450.9 MB, free: 7.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004859/0.5832, allocations: 75.64 kB / 451 MB, free: 7.156 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.58e-05/0.5832, allocations: 23.98 kB / 451 MB, free: 7.133 MB / 378.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.0003725/0.5836, allocations: 240.9 kB / 451.2 MB, free: 6.887 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001283/0.5838, allocations: 44.36 kB / 451.3 MB, free: 6.844 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003845/0.5876, allocations: 1.988 MB / 453.3 MB, free: 4.844 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-05/0.5877, allocations: 31.95 kB / 453.3 MB, free: 4.812 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.555e-06/0.5877, allocations: 0 / 453.3 MB, free: 4.812 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.034e-05/0.5877, allocations: 3.984 kB / 453.3 MB, free: 4.809 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001554/0.5893, allocations: 1.012 MB / 454.3 MB, free: 3.738 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.3e-06/0.5893, allocations: 4 kB / 454.3 MB, free: 3.734 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000546/0.5899, allocations: 99.86 kB / 454.4 MB, free: 3.637 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.07e-05/0.5899, allocations: 3.953 kB / 454.4 MB, free: 3.633 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.427e-05/0.59, allocations: 11.98 kB / 454.4 MB, free: 3.621 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.038e-06/0.59, allocations: 0 / 454.4 MB, free: 3.621 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.172e-06/0.59, allocations: 0 / 454.4 MB, free: 3.621 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002436/0.5924, allocations: 1.145 MB / 455.6 MB, free: 2.465 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000403/0.5929, allocations: 255.3 kB / 455.8 MB, free: 2.195 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.416e-05/0.593, allocations: 15.94 kB / 455.8 MB, free: 2.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005192/0.5935, allocations: 47.95 kB / 455.9 MB, free: 2.133 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001069/0.5936, allocations: 35.95 kB / 455.9 MB, free: 2.098 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.243e-05/0.5937, allocations: 15.98 kB / 455.9 MB, free: 2.082 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005426/0.5943, allocations: 310.9 kB / 456.2 MB, free: 1.777 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.01e-07/0.5943, allocations: 0 / 456.2 MB, free: 1.777 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003604/0.5979, allocations: 1.116 MB / 457.4 MB, free: 0.6602 MB / 378.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.005924/0.6039, allocations: 1.221 MB / 458.6 MB, free: 15.44 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002968/0.6069, allocations: 0.9288 MB / 459.5 MB, free: 14.51 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.199e-06/0.6069, allocations: 0 / 459.5 MB, free: 14.51 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001193/0.6081, allocations: 0.5408 MB / 460.1 MB, free: 13.96 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001317/0.6094, allocations: 197.6 kB / 460.2 MB, free: 13.77 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003904/0.6134, allocations: 2.123 MB / 462.4 MB, free: 11.61 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008537/0.6143, allocations: 0.9992 MB / 463.4 MB, free: 10.59 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002075/0.6145, allocations: 47.42 kB / 463.4 MB, free: 10.54 MB / 394.7 MB Notification: Performance of SimCode: time 1.638e-06/0.6145, allocations: 0 / 463.4 MB, free: 10.54 MB / 394.7 MB Notification: Performance of Templates: time 0.06679/0.6813, allocations: 28.05 MB / 491.5 MB, free: 14.47 MB / 426.7 MB