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/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.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 1.916/1.916, allocations: 209.3 MB / 224.8 MB, free: 204 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004438/0.0004439, allocations: 12 kB / 282.5 MB, free: 9.637 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2827/0.2832, allocations: 48.7 MB / 331.2 MB, free: 6.492 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal): time 0.5217/0.805, allocations: 156.1 MB / 487.3 MB, free: 2.777 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.03509/0.8401, allocations: 14.06 MB / 0.4896 GB, free: 2.586 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00119/0.8414, allocations: 42.12 kB / 0.4896 GB, free: 2.586 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001092/0.8425, allocations: 367.1 kB / 0.49 GB, free: 2.586 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007072/0.8496, allocations: 2.131 MB / 0.492 GB, free: 2.551 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008114/0.8577, allocations: 2.495 MB / 0.4945 GB, free: 2.504 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.003134/0.8609, allocations: 1.786 MB / 0.4962 GB, free: 2.504 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001107/0.862, allocations: 0.6073 MB / 0.4968 GB, free: 2.438 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002177/0.8642, allocations: 0.955 MB / 0.4977 GB, free: 2.438 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001552/0.8658, allocations: 0.8768 MB / 0.4986 GB, free: 2.434 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000195/0.866, allocations: 51.36 kB / 0.4986 GB, free: 2.434 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006367/0.8724, allocations: 2.635 MB / 0.5012 GB, free: 2.43 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006607/0.8731, allocations: 318.8 kB / 0.5015 GB, free: 2.43 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004441/0.8736, allocations: 226.1 kB / 0.5017 GB, free: 2.398 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005017/0.8786, allocations: 2.345 MB / 0.504 GB, free: 1.496 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.578e-06/0.8786, allocations: 1.844 kB / 0.504 GB, free: 1.496 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.315e-06/0.8786, allocations: 0 / 0.504 GB, free: 1.496 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.572e-05/0.8787, allocations: 4 kB / 0.504 GB, free: 1.492 MB / 394.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.00402/0.8827, allocations: 1.617 MB / 0.5056 GB, free: 16.4 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.8828, allocations: 8.125 kB / 0.5056 GB, free: 16.4 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001418/0.8842, allocations: 206 kB / 0.5058 GB, free: 16.31 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001507/0.8857, allocations: 0.7297 MB / 0.5065 GB, free: 15.89 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.714e-05/0.8858, allocations: 53.41 kB / 0.5066 GB, free: 15.89 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001543/0.886, allocations: 60.67 kB / 0.5066 GB, free: 15.89 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002274/0.8883, allocations: 1.143 MB / 0.5078 GB, free: 15.51 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.551e-05/0.8883, allocations: 7.047 kB / 0.5078 GB, free: 15.51 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001317/0.8885, allocations: 30.45 kB / 0.5078 GB, free: 15.51 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001485/0.8886, allocations: 85.31 kB / 0.5079 GB, free: 15.49 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002579/0.8912, allocations: 1.166 MB / 0.509 GB, free: 15.31 MB / 410.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.00926/0.9005, allocations: 4.32 MB / 0.5132 GB, free: 12.77 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00165/0.9022, allocations: 0.7572 MB / 0.514 GB, free: 12.64 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004335/0.9026, allocations: 321 kB / 0.5143 GB, free: 12.34 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.05e-05/0.9027, allocations: 45.33 kB / 0.5143 GB, free: 12.3 MB / 410.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007126/0.9034, allocations: 120.2 kB / 0.5144 GB, free: 12.24 MB / 410.7 MB Notification: Performance of pre-optimization done (n=61): time 4.028e-06/0.9035, allocations: 0 / 0.5144 GB, free: 12.24 MB / 410.7 MB Notification: Performance of matching and sorting (n=61): time 0.007692/0.9112, allocations: 1.989 MB / 0.5164 GB, free: 11.6 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001477/0.9113, allocations: 215 kB / 0.5166 GB, free: 11.35 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001319/0.9127, allocations: 0.8116 MB / 0.5174 GB, free: 11.09 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001189/0.9128, allocations: 44.66 kB / 0.5174 GB, free: 11.05 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003816/0.9132, allocations: 477.9 kB / 0.5179 GB, free: 10.75 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002733/0.9135, allocations: 226.1 kB / 0.5181 GB, free: 10.59 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.979e-05/0.9136, allocations: 17.34 kB / 0.5181 GB, free: 10.59 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002018/0.9138, allocations: 343.2 kB / 0.5184 GB, free: 10.27 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000938/0.9148, allocations: 391.9 kB / 0.5188 GB, free: 10.21 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001174/0.9159, allocations: 0.6479 MB / 0.5194 GB, free: 9.832 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001081/0.917, allocations: 496.1 kB / 0.5199 GB, free: 9.762 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.851e-06/0.9171, allocations: 1.75 kB / 0.5199 GB, free: 9.762 MB / 410.7 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.003169/0.9203, allocations: 1.286 MB / 0.5212 GB, free: 9.531 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002845/0.9206, allocations: 293.7 kB / 0.5215 GB, free: 9.188 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.644e-05/0.9206, allocations: 8.156 kB / 0.5215 GB, free: 9.188 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009375/0.93, allocations: 0.8494 MB / 0.5223 GB, free: 8.898 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001409/0.9315, allocations: 182 kB / 0.5225 GB, free: 8.871 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003383/0.9349, allocations: 1.194 MB / 0.5236 GB, free: 8.227 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001812/0.9367, allocations: 54.84 kB / 0.5237 GB, free: 8.219 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002681/0.937, allocations: 75.19 kB / 0.5238 GB, free: 8.211 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.9371, allocations: 8.438 kB / 0.5238 GB, free: 8.211 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005082/0.9422, allocations: 1.15 MB / 0.5249 GB, free: 7.758 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.223e-05/0.9422, allocations: 8 kB / 0.5249 GB, free: 7.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000742/0.943, allocations: 160.4 kB / 0.525 GB, free: 7.621 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001048/0.9441, allocations: 209.6 kB / 0.5252 GB, free: 7.434 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003671/0.9478, allocations: 2.179 MB / 0.5274 GB, free: 5.555 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009128/0.9487, allocations: 55.09 kB / 0.5274 GB, free: 5.516 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001725/0.9489, allocations: 72.52 kB / 0.5275 GB, free: 5.453 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 87 * 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.0007336/0.9496, allocations: 373.9 kB / 0.5279 GB, free: 5.164 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002897/0.95, allocations: 94.88 kB / 0.5279 GB, free: 5.07 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004138/0.9541, allocations: 1.354 MB / 0.5293 GB, free: 4.102 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.35e-05/0.9542, allocations: 8 kB / 0.5293 GB, free: 4.094 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.23e-06/0.9542, allocations: 3.953 kB / 0.5293 GB, free: 4.09 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.26e-05/0.9542, allocations: 3.984 kB / 0.5293 GB, free: 4.086 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004279/0.9585, allocations: 1.968 MB / 0.5312 GB, free: 2.625 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.97e-06/0.9585, allocations: 8.188 kB / 0.5312 GB, free: 2.617 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004531/0.959, allocations: 82.3 kB / 0.5313 GB, free: 2.543 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004388/0.9634, allocations: 0.6918 MB / 0.532 GB, free: 1.922 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001272/0.9636, allocations: 22.98 kB / 0.532 GB, free: 1.906 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00191/0.9655, allocations: 1.171 MB / 0.5331 GB, free: 0.9492 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/0.9655, allocations: 0 / 0.5331 GB, free: 0.9492 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002615/0.9681, allocations: 1.133 MB / 0.5342 GB, free: 88 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004014/0.9686, allocations: 177.8 kB / 0.5344 GB, free: 15.91 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001814/0.9688, allocations: 15.25 kB / 0.5344 GB, free: 15.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007067/0.9695, allocations: 41.47 kB / 0.5345 GB, free: 15.87 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001488/0.9697, allocations: 55.02 kB / 0.5345 GB, free: 15.82 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001116/0.9698, allocations: 42.17 kB / 0.5346 GB, free: 15.78 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001017/0.9708, allocations: 0.559 MB / 0.5351 GB, free: 15.37 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.59e-07/0.9708, allocations: 0 / 0.5351 GB, free: 15.37 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00338/0.9742, allocations: 1.046 MB / 0.5361 GB, free: 14.38 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 36 * 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.002889/0.9771, allocations: 0.9081 MB / 0.537 GB, free: 13.55 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004212/0.9814, allocations: 1.605 MB / 0.5386 GB, free: 12.41 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.044e-05/0.9814, allocations: 9.25 kB / 0.5386 GB, free: 12.4 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00111/0.9825, allocations: 426 kB / 0.539 GB, free: 12.11 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002666/0.9852, allocations: 474.1 kB / 0.5394 GB, free: 11.73 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003719/0.989, allocations: 2.006 MB / 0.5414 GB, free: 9.883 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009344/0.9899, allocations: 1.07 MB / 0.5424 GB, free: 8.812 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006493/0.9906, allocations: 122.3 kB / 0.5426 GB, free: 8.699 MB / 426.7 MB Notification: Performance of SimCode: time 1.917e-06/0.9906, allocations: 0 / 0.5426 GB, free: 8.699 MB / 426.7 MB Notification: Performance of Templates: time 0.04769/1.038, allocations: 25.86 MB / 0.5678 GB, free: 15.04 MB / 458.7 MB