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.Fittings.TestJunctionIdeal.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ramp.y|pipe1.port_b.m_flow|pipe1.port_b.p|pipe1.port_b.h_outflow|pipe2.port_b.m_flow|pipe2.port_b.p|pipe2.port_b.h_outflow|pipe3.port_b.m_flow|pipe3.port_b.p|pipe3.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal") Notification: Performance of loadModel(ModelicaTest): time 2.067/2.067, allocations: 209.4 MB / 217.3 MB, free: 4.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.793e-05/1.804e-05, allocations: 4 kB / 271.3 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2662/0.2662, allocations: 48.69 MB / 320 MB, free: 14.39 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.567/1.833, allocations: 0.6206 GB / 0.9331 GB, free: 108.6 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002317/1.833, allocations: 79.8 kB / 0.9332 GB, free: 108.6 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.56/3.393, allocations: 349.4 MB / 1.274 GB, free: 67.52 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.516e-06/3.393, allocations: 0 / 1.274 GB, free: 67.52 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.000134/3.394, allocations: 27.44 kB / 1.274 GB, free: 67.52 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: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.005059/3.399, allocations: 1.553 MB / 1.276 GB, free: 66.85 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/3.399, allocations: 7.844 kB / 1.276 GB, free: 66.85 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001651/3.4, allocations: 199.2 kB / 1.276 GB, free: 66.79 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002341/3.403, allocations: 0.8271 MB / 1.277 GB, free: 66.54 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.891e-05/3.403, allocations: 37.42 kB / 1.277 GB, free: 66.54 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001939/3.403, allocations: 34.06 kB / 1.277 GB, free: 66.54 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002014/3.405, allocations: 0.9754 MB / 1.278 GB, free: 66.53 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001993/3.407, allocations: 1.029 MB / 1.279 GB, free: 66.35 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.832e-05/3.407, allocations: 10.89 kB / 1.279 GB, free: 66.35 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001365/3.407, allocations: 0 / 1.279 GB, free: 66.35 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000125/3.407, allocations: 78.97 kB / 1.279 GB, free: 66.35 MB / 442.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.008458/3.416, allocations: 4.309 MB / 1.283 GB, free: 64.59 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001544/3.418, allocations: 0.6313 MB / 1.284 GB, free: 64.56 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005527/3.418, allocations: 296.6 kB / 1.284 GB, free: 64.55 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003314/3.418, allocations: 312.7 kB / 1.284 GB, free: 64.27 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.748e-05/3.418, allocations: 44.77 kB / 1.284 GB, free: 64.23 MB / 442.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008628/3.419, allocations: 100.1 kB / 1.285 GB, free: 64.21 MB / 442.7 MB Notification: Performance of pre-optimization done (n=49): time 5.26e-06/3.419, allocations: 0 / 1.285 GB, free: 64.21 MB / 442.7 MB Notification: Performance of matching and sorting (n=49): time 0.003156/3.423, allocations: 0.9454 MB / 1.286 GB, free: 64.12 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.016e-05/3.423, allocations: 214.8 kB / 1.286 GB, free: 63.87 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00113/3.424, allocations: 0.6561 MB / 1.286 GB, free: 63.74 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.905e-05/3.424, allocations: 31.27 kB / 1.286 GB, free: 63.71 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002843/3.424, allocations: 0.5021 MB / 1.287 GB, free: 63.44 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001776/3.424, allocations: 172.4 kB / 1.287 GB, free: 63.35 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.572e-05/3.424, allocations: 0 / 1.287 GB, free: 63.35 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.346e-05/3.425, allocations: 345.7 kB / 1.287 GB, free: 63.04 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006936/3.425, allocations: 363.6 kB / 1.288 GB, free: 63.04 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008296/3.426, allocations: 0.5918 MB / 1.288 GB, free: 62.75 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01026/3.436, allocations: 1.874 MB / 1.29 GB, free: 62.75 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-05/3.436, allocations: 7.828 kB / 1.29 GB, free: 62.74 MB / 442.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.0123/3.449, allocations: 2.578 MB / 1.293 GB, free: 62.67 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000492/3.449, allocations: 2.452 MB / 1.295 GB, free: 60.13 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.589e-05/3.449, allocations: 8.562 kB / 1.295 GB, free: 60.13 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003901/3.453, allocations: 0.6185 MB / 1.296 GB, free: 60.12 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008949/3.454, allocations: 177.8 kB / 1.296 GB, free: 60.12 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002655/3.457, allocations: 1.342 MB / 1.297 GB, free: 59.58 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001344/3.458, allocations: 51.73 kB / 1.297 GB, free: 59.58 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002061/3.458, allocations: 71.83 kB / 1.297 GB, free: 59.58 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/3.459, allocations: 3.75 kB / 1.297 GB, free: 59.58 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01187/3.47, allocations: 2.366 MB / 1.3 GB, free: 59.55 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.768e-05/3.47, allocations: 6.094 kB / 1.3 GB, free: 59.55 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007108/3.471, allocations: 140.2 kB / 1.3 GB, free: 59.54 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009756/3.472, allocations: 205.7 kB / 1.3 GB, free: 59.54 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002858/3.475, allocations: 2.033 MB / 1.302 GB, free: 58.34 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000972/3.476, allocations: 47.77 kB / 1.302 GB, free: 58.33 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001538/3.476, allocations: 74.02 kB / 1.302 GB, free: 58.33 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 84 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 19} Notification: Performance of prepare postOptimizeDAE: time 0.0003177/3.477, allocations: 126 kB / 1.302 GB, free: 58.22 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002687/3.477, allocations: 88.98 kB / 1.302 GB, free: 58.18 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003268/3.48, allocations: 1.049 MB / 1.303 GB, free: 58.08 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.566e-06/3.48, allocations: 7.219 kB / 1.303 GB, free: 58.08 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/3.48, allocations: 0 / 1.303 GB, free: 58.08 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.212e-06/3.48, allocations: 9.281 kB / 1.303 GB, free: 58.08 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004242/3.484, allocations: 1.695 MB / 1.305 GB, free: 57.77 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.509e-06/3.485, allocations: 0 / 1.305 GB, free: 57.77 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003744/3.485, allocations: 55.03 kB / 1.305 GB, free: 57.77 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00237/3.487, allocations: 470.6 kB / 1.305 GB, free: 57.77 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.384e-05/3.487, allocations: 14.31 kB / 1.305 GB, free: 57.77 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002318/3.49, allocations: 1.273 MB / 1.307 GB, free: 57.23 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.287e-06/3.49, allocations: 6.812 kB / 1.307 GB, free: 57.23 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002827/3.493, allocations: 1.015 MB / 1.308 GB, free: 56.99 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003493/3.493, allocations: 179.5 kB / 1.308 GB, free: 56.85 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001992/3.493, allocations: 3.625 kB / 1.308 GB, free: 56.85 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008548/3.494, allocations: 40.06 kB / 1.308 GB, free: 56.84 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001188/3.494, allocations: 34.3 kB / 1.308 GB, free: 56.84 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.98e-05/3.494, allocations: 29.44 kB / 1.308 GB, free: 56.84 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0008269/3.495, allocations: 0.4963 MB / 1.308 GB, free: 56.75 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.31e-07/3.495, allocations: 0 / 1.308 GB, free: 56.75 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004097/3.499, allocations: 1.173 MB / 1.31 GB, free: 56.5 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 25 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.004287/3.504, allocations: 2.003 MB / 1.312 GB, free: 56.07 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002972/3.507, allocations: 1.407 MB / 1.313 GB, free: 55.95 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.446e-06/3.507, allocations: 2.688 kB / 1.313 GB, free: 55.95 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006919/3.507, allocations: 331.7 kB / 1.313 GB, free: 55.94 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002369/3.51, allocations: 411.5 kB / 1.314 GB, free: 55.93 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008735/3.518, allocations: 2.84 MB / 1.316 GB, free: 55.55 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007234/3.519, allocations: 1.065 MB / 1.317 GB, free: 54.84 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000607/3.52, allocations: 113.5 kB / 1.318 GB, free: 54.83 MB / 442.7 MB Notification: Performance of SimCode: time 1.666e-06/3.52, allocations: 0 / 1.318 GB, free: 54.83 MB / 442.7 MB Notification: Performance of Templates: time 0.04536/3.565, allocations: 29.72 MB / 1.347 GB, free: 48.76 MB / 442.7 MB