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.817/1.817, allocations: 209.3 MB / 222.4 MB, free: 7.727 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.756e-05/2.792e-05, allocations: 4 kB / 277.8 MB, free: 15.3 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08487/0.08492, allocations: 48.69 MB / 326.5 MB, free: 14.51 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.079/6.164, allocations: 2.524 GB / 2.843 GB, free: 33.94 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002315/6.164, allocations: 87.5 kB / 2.843 GB, free: 33.89 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.172/7.336, allocations: 231.2 MB / 3.069 GB, free: 49.89 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.876e-06/7.336, allocations: 0 / 3.069 GB, free: 49.89 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.923e-05/7.336, allocations: 9.438 kB / 3.069 GB, free: 49.89 MB / 426.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.005049/7.341, allocations: 1.286 MB / 3.07 GB, free: 49.25 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/7.341, allocations: 10.62 kB / 3.07 GB, free: 49.25 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002727/7.344, allocations: 242.9 kB / 3.07 GB, free: 49.23 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009722/7.345, allocations: 430.5 kB / 3.071 GB, free: 49.02 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.534e-05/7.345, allocations: 30.91 kB / 3.071 GB, free: 49.01 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.031e-05/7.345, allocations: 37.28 kB / 3.071 GB, free: 49.01 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001895/7.347, allocations: 0.6242 MB / 3.071 GB, free: 48.88 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.876e-05/7.347, allocations: 3.969 kB / 3.071 GB, free: 48.88 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.58e-05/7.347, allocations: 22 kB / 3.071 GB, free: 48.88 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/7.347, allocations: 8.719 kB / 3.071 GB, free: 48.88 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0017/7.349, allocations: 0.5307 MB / 3.072 GB, free: 48.87 MB / 426.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.003702/7.353, allocations: 2.762 MB / 3.075 GB, free: 46.89 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001658/7.355, allocations: 446.2 kB / 3.075 GB, free: 46.86 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000276/7.355, allocations: 139.3 kB / 3.075 GB, free: 46.86 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1337/7.489, allocations: 51.71 MB / 3.126 GB, free: 34.59 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.645e-05/7.489, allocations: 38 kB / 3.126 GB, free: 34.55 MB / 442.7 MB Notification: Performance of pre-optimization done (n=27): time 4.714e-06/7.489, allocations: 4 kB / 3.126 GB, free: 34.54 MB / 442.7 MB Notification: Performance of matching and sorting (n=27): time 0.00251/7.491, allocations: 0.643 MB / 3.126 GB, free: 34.48 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.887e-05/7.491, allocations: 110.2 kB / 3.127 GB, free: 34.35 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004262/7.492, allocations: 298.5 kB / 3.127 GB, free: 34.24 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.076e-05/7.492, allocations: 33.39 kB / 3.127 GB, free: 34.21 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001779/7.492, allocations: 282.2 kB / 3.127 GB, free: 34.02 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.736e-05/7.492, allocations: 93.97 kB / 3.127 GB, free: 33.97 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.625e-05/7.492, allocations: 7.062 kB / 3.127 GB, free: 33.97 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001627/7.492, allocations: 325.9 kB / 3.128 GB, free: 33.66 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002366/7.493, allocations: 104.2 kB / 3.128 GB, free: 33.66 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002981/7.493, allocations: 242.2 kB / 3.128 GB, free: 33.49 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002899/7.493, allocations: 136.5 kB / 3.128 GB, free: 33.48 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.637e-06/7.493, allocations: 3.391 kB / 3.128 GB, free: 33.48 MB / 442.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0008579/7.494, allocations: 372.7 kB / 3.128 GB, free: 33.43 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007073/7.495, allocations: 1.485 MB / 3.13 GB, free: 31.88 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/7.495, allocations: 7.938 kB / 3.13 GB, free: 31.88 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.131e-05/7.495, allocations: 7.219 kB / 3.13 GB, free: 31.88 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007132/7.496, allocations: 112.2 kB / 3.13 GB, free: 31.88 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.663e-05/7.496, allocations: 17.88 kB / 3.13 GB, free: 31.87 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007259/7.496, allocations: 87.7 kB / 3.13 GB, free: 31.86 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.528e-05/7.496, allocations: 25.53 kB / 3.13 GB, free: 31.85 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/7.496, allocations: 5.188 kB / 3.13 GB, free: 31.85 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007743/7.497, allocations: 325.6 kB / 3.13 GB, free: 31.85 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.108e-06/7.497, allocations: 5.188 kB / 3.13 GB, free: 31.85 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/7.497, allocations: 12.19 kB / 3.13 GB, free: 31.84 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006699/7.498, allocations: 117.6 kB / 3.13 GB, free: 31.84 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/7.498, allocations: 6.75 kB / 3.13 GB, free: 31.84 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005712/7.499, allocations: 72.48 kB / 3.131 GB, free: 31.84 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.906e-05/7.499, allocations: 21.81 kB / 3.131 GB, free: 31.84 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 () * 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.0001921/7.499, allocations: 133.2 kB / 3.131 GB, free: 31.72 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001319/7.499, allocations: 42.12 kB / 3.131 GB, free: 31.7 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002414/7.501, allocations: 1.895 MB / 3.133 GB, free: 31.44 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.543e-05/7.502, allocations: 38.5 kB / 3.133 GB, free: 31.43 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/7.502, allocations: 3.062 kB / 3.133 GB, free: 31.43 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.386e-06/7.502, allocations: 3.703 kB / 3.133 GB, free: 31.43 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001308/7.503, allocations: 1.02 MB / 3.134 GB, free: 31.18 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.046e-06/7.503, allocations: 3.953 kB / 3.134 GB, free: 31.17 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006018/7.504, allocations: 102.3 kB / 3.134 GB, free: 31.17 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.053e-06/7.504, allocations: 3.594 kB / 3.134 GB, free: 31.17 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.199e-05/7.504, allocations: 3.312 kB / 3.134 GB, free: 31.17 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.257e-06/7.504, allocations: 3.812 kB / 3.134 GB, free: 31.17 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.664e-06/7.504, allocations: 0 / 3.134 GB, free: 31.17 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001408/7.505, allocations: 1.013 MB / 3.135 GB, free: 30.93 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003335/7.505, allocations: 259.5 kB / 3.135 GB, free: 30.76 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.471e-05/7.505, allocations: 7.875 kB / 3.135 GB, free: 30.75 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005418/7.506, allocations: 58.23 kB / 3.135 GB, free: 30.75 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.381e-05/7.506, allocations: 29.92 kB / 3.135 GB, free: 30.75 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.377e-05/7.506, allocations: 19.31 kB / 3.135 GB, free: 30.75 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004516/7.507, allocations: 299.2 kB / 3.135 GB, free: 30.66 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.29e-07/7.507, allocations: 0 / 3.135 GB, free: 30.66 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004734/7.511, allocations: 1.156 MB / 3.137 GB, free: 30.47 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 () * 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.007765/7.519, allocations: 1.435 MB / 3.138 GB, free: 30.14 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001375/7.521, allocations: 0.7144 MB / 3.139 GB, free: 30.12 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.616e-06/7.521, allocations: 0 / 3.139 GB, free: 30.12 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000602/7.521, allocations: 490.8 kB / 3.139 GB, free: 30.11 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001431/7.523, allocations: 191.3 kB / 3.139 GB, free: 30.1 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4475/7.97, allocations: 75.08 MB / 3.213 GB, free: 60.8 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005735/7.971, allocations: 0.998 MB / 3.214 GB, free: 60.1 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002146/7.971, allocations: 48.92 kB / 3.214 GB, free: 60.09 MB / 442.7 MB Notification: Performance of SimCode: time 1.843e-06/7.971, allocations: 0 / 3.214 GB, free: 60.09 MB / 442.7 MB Notification: Performance of Templates: time 0.04962/8.021, allocations: 27.32 MB / 3.24 GB, free: 58.96 MB / 442.7 MB