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.163/2.163, allocations: 235 MB / 248.1 MB, free: 14.35 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.457e-05/3.475e-05, allocations: 4 kB / 309.7 MB, free: 1.316 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3133/0.3133, allocations: 54.86 MB / 364.5 MB, free: 5.535 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.824/6.138, allocations: 2.635 GB / 2.991 GB, free: 40.91 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002194/6.138, allocations: 80.7 kB / 2.991 GB, free: 40.84 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.042/7.18, allocations: 235.6 MB / 3.221 GB, free: 5.277 MB / 490.7 MB Notification: Performance of FrontEnd: time 4.123e-06/7.18, allocations: 0 / 3.221 GB, free: 5.277 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.887e-05/7.18, allocations: 19.92 kB / 3.221 GB, free: 5.258 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.01707/7.197, allocations: 1.293 MB / 3.222 GB, free: 3.918 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.975e-05/7.197, allocations: 8.031 kB / 3.222 GB, free: 3.91 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01821/7.215, allocations: 255.2 kB / 3.222 GB, free: 3.66 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001831/7.217, allocations: 436.4 kB / 3.223 GB, free: 3.191 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001012/7.217, allocations: 28.78 kB / 3.223 GB, free: 3.164 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001481/7.217, allocations: 36 kB / 3.223 GB, free: 3.129 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003905/7.221, allocations: 0.6242 MB / 3.224 GB, free: 2.461 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.615e-05/7.221, allocations: 3.984 kB / 3.224 GB, free: 2.457 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001301/7.222, allocations: 12 kB / 3.224 GB, free: 2.445 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.325e-05/7.222, allocations: 12 kB / 3.224 GB, free: 2.434 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003806/7.226, allocations: 0.5299 MB / 3.224 GB, free: 1.906 MB / 490.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.2898/7.515, allocations: 2.759 MB / 3.227 GB, free: 69.98 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001761/7.517, allocations: 447 kB / 3.227 GB, free: 69.95 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003024/7.518, allocations: 134.7 kB / 3.227 GB, free: 69.95 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1331/7.651, allocations: 51.76 MB / 3.278 GB, free: 42.14 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.941e-05/7.651, allocations: 43.8 kB / 3.278 GB, free: 42.1 MB / 490.7 MB Notification: Performance of pre-optimization done (n=27): time 3.551e-06/7.651, allocations: 0 / 3.278 GB, free: 42.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=27): time 0.002617/7.653, allocations: 0.6388 MB / 3.279 GB, free: 42.05 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.88e-05/7.653, allocations: 105.7 kB / 3.279 GB, free: 41.93 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000405/7.654, allocations: 305 kB / 3.279 GB, free: 41.83 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.956e-05/7.654, allocations: 34.44 kB / 3.279 GB, free: 41.8 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001268/7.654, allocations: 284.3 kB / 3.279 GB, free: 41.61 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.725e-05/7.654, allocations: 93.02 kB / 3.279 GB, free: 41.56 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.73e-05/7.654, allocations: 11.5 kB / 3.279 GB, free: 41.55 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.336e-05/7.654, allocations: 323.1 kB / 3.28 GB, free: 41.24 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002358/7.655, allocations: 107.4 kB / 3.28 GB, free: 41.24 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000295/7.655, allocations: 239.7 kB / 3.28 GB, free: 41.08 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002735/7.655, allocations: 122.8 kB / 3.28 GB, free: 41.08 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.025e-06/7.655, allocations: 7.844 kB / 3.28 GB, free: 41.07 MB / 490.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0008748/7.656, allocations: 359.1 kB / 3.28 GB, free: 41.04 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003116/7.656, allocations: 1.489 MB / 3.282 GB, free: 39.48 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/7.656, allocations: 3.969 kB / 3.282 GB, free: 39.48 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.805e-05/7.656, allocations: 10.8 kB / 3.282 GB, free: 39.48 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006197/7.657, allocations: 119.8 kB / 3.282 GB, free: 39.47 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.579e-05/7.657, allocations: 13.98 kB / 3.282 GB, free: 39.47 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006522/7.658, allocations: 87.89 kB / 3.282 GB, free: 39.46 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.455e-05/7.658, allocations: 24.39 kB / 3.282 GB, free: 39.46 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/7.658, allocations: 4.734 kB / 3.282 GB, free: 39.46 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007359/7.659, allocations: 334.5 kB / 3.283 GB, free: 39.44 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.644e-06/7.659, allocations: 3.812 kB / 3.283 GB, free: 39.44 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/7.659, allocations: 7.594 kB / 3.283 GB, free: 39.44 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006505/7.659, allocations: 122.2 kB / 3.283 GB, free: 39.44 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/7.659, allocations: 7.906 kB / 3.283 GB, free: 39.44 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005338/7.66, allocations: 72.97 kB / 3.283 GB, free: 39.43 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.999e-05/7.66, allocations: 27.59 kB / 3.283 GB, free: 39.43 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 () * 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.0001454/7.66, allocations: 134.7 kB / 3.283 GB, free: 39.32 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001309/7.66, allocations: 42.02 kB / 3.283 GB, free: 39.3 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00242/7.663, allocations: 1.889 MB / 3.285 GB, free: 39.06 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.26e-05/7.663, allocations: 28.73 kB / 3.285 GB, free: 39.06 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/7.663, allocations: 0 / 3.285 GB, free: 39.06 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.879e-06/7.663, allocations: 3.609 kB / 3.285 GB, free: 39.06 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001287/7.664, allocations: 1.032 MB / 3.286 GB, free: 38.83 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.443e-06/7.664, allocations: 0 / 3.286 GB, free: 38.83 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005724/7.665, allocations: 101.7 kB / 3.286 GB, free: 38.82 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.853e-06/7.665, allocations: 3.719 kB / 3.286 GB, free: 38.82 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.072e-05/7.665, allocations: 3.875 kB / 3.286 GB, free: 38.82 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.536e-06/7.665, allocations: 3.406 kB / 3.286 GB, free: 38.82 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.08e-06/7.665, allocations: 0 / 3.286 GB, free: 38.82 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001357/7.666, allocations: 1.024 MB / 3.287 GB, free: 38.58 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003256/7.667, allocations: 253.1 kB / 3.287 GB, free: 38.43 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.45e-05/7.667, allocations: 8.688 kB / 3.287 GB, free: 38.43 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005879/7.667, allocations: 59.59 kB / 3.287 GB, free: 38.43 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.204e-05/7.667, allocations: 32.22 kB / 3.287 GB, free: 38.43 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.496e-05/7.667, allocations: 10.38 kB / 3.287 GB, free: 38.43 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0004133/7.668, allocations: 299.2 kB / 3.288 GB, free: 38.34 MB / 490.7 MB Notification: Performance of sort global known variables: time 9.28e-07/7.668, allocations: 0 / 3.288 GB, free: 38.34 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004706/7.673, allocations: 1.158 MB / 3.289 GB, free: 38.33 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 () * 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.008031/7.681, allocations: 1.427 MB / 3.29 GB, free: 38.18 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00137/7.682, allocations: 0.7159 MB / 3.291 GB, free: 38.16 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.484e-06/7.682, allocations: 0 / 3.291 GB, free: 38.16 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006258/7.683, allocations: 486.7 kB / 3.291 GB, free: 38.16 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001291/7.684, allocations: 197.8 kB / 3.291 GB, free: 38.15 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1909/7.875, allocations: 76.38 MB / 3.366 GB, free: 26.84 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000445/7.875, allocations: 0.9986 MB / 3.367 GB, free: 25.93 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001897/7.876, allocations: 50.66 kB / 3.367 GB, free: 25.89 MB / 490.7 MB Notification: Performance of SimCode: time 1.876e-06/7.876, allocations: 0 / 3.367 GB, free: 25.89 MB / 490.7 MB Notification: Performance of Templates: time 0.04283/7.919, allocations: 27.48 MB / 3.394 GB, free: 10.07 MB / 490.7 MB