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 2.034/2.034, allocations: 209.3 MB / 222.4 MB, free: 7.715 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.701e-05/2.721e-05, allocations: 0 / 277.8 MB, free: 15.3 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0884/0.08846, allocations: 48.71 MB / 326.5 MB, free: 14.5 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.681/1.77, allocations: 0.6212 GB / 0.9401 GB, free: 52.85 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002451/1.77, allocations: 83.94 kB / 0.9402 GB, free: 52.8 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.691/3.461, allocations: 352.9 MB / 1.285 GB, free: 26.65 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.538e-06/3.461, allocations: 0 / 1.285 GB, free: 26.65 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001066/3.462, allocations: 24 kB / 1.285 GB, free: 26.63 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: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.005158/3.467, allocations: 1.566 MB / 1.286 GB, free: 25.02 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/3.467, allocations: 8.031 kB / 1.286 GB, free: 25.01 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001761/3.469, allocations: 198.6 kB / 1.287 GB, free: 24.81 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002442/3.471, allocations: 0.8472 MB / 1.287 GB, free: 23.93 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.855e-05/3.471, allocations: 49.3 kB / 1.287 GB, free: 23.88 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002648/3.471, allocations: 59.98 kB / 1.288 GB, free: 23.82 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002336/3.474, allocations: 1.124 MB / 1.289 GB, free: 22.64 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.681e-05/3.474, allocations: 4 kB / 1.289 GB, free: 22.63 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001624/3.474, allocations: 31.98 kB / 1.289 GB, free: 22.6 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001379/3.474, allocations: 77.25 kB / 1.289 GB, free: 22.53 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002325/3.477, allocations: 1.106 MB / 1.29 GB, free: 21.42 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.009006/3.486, allocations: 4.304 MB / 1.294 GB, free: 16.89 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001716/3.487, allocations: 0.7486 MB / 1.295 GB, free: 16.13 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006999/3.488, allocations: 350.4 kB / 1.295 GB, free: 15.79 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000383/3.489, allocations: 323.1 kB / 1.295 GB, free: 15.42 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.696e-05/3.489, allocations: 47.08 kB / 1.295 GB, free: 15.36 MB / 426.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009345/3.49, allocations: 119.2 kB / 1.296 GB, free: 15.25 MB / 426.7 MB Notification: Performance of pre-optimization done (n=61): time 4.968e-06/3.49, allocations: 0 / 1.296 GB, free: 15.25 MB / 426.7 MB Notification: Performance of matching and sorting (n=61): time 0.003439/3.493, allocations: 1.06 MB / 1.297 GB, free: 14.18 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.78e-05/3.493, allocations: 218.2 kB / 1.297 GB, free: 13.92 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00135/3.494, allocations: 0.7115 MB / 1.297 GB, free: 13.2 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002092/3.495, allocations: 37.7 kB / 1.298 GB, free: 13.16 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002677/3.495, allocations: 473.8 kB / 1.298 GB, free: 12.69 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002453/3.495, allocations: 216.9 kB / 1.298 GB, free: 12.48 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.491e-05/3.495, allocations: 20 kB / 1.298 GB, free: 12.46 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.753e-05/3.495, allocations: 346.8 kB / 1.299 GB, free: 12.11 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007769/3.496, allocations: 361.9 kB / 1.299 GB, free: 11.75 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009213/3.497, allocations: 0.5943 MB / 1.299 GB, free: 11.05 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009365/3.498, allocations: 465.3 kB / 1.3 GB, free: 10.61 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.56e-06/3.498, allocations: 0 / 1.3 GB, free: 10.61 MB / 426.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002683/3.501, allocations: 1.204 MB / 1.301 GB, free: 9.391 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004928/3.501, allocations: 2.44 MB / 1.303 GB, free: 6.758 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.708e-05/3.501, allocations: 11.98 kB / 1.303 GB, free: 6.746 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006064/3.507, allocations: 0.8201 MB / 1.304 GB, free: 5.922 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009358/3.508, allocations: 179.7 kB / 1.304 GB, free: 5.746 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001904/3.51, allocations: 1.184 MB / 1.306 GB, free: 4.535 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001412/3.512, allocations: 63.94 kB / 1.306 GB, free: 4.473 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002459/3.512, allocations: 75.97 kB / 1.306 GB, free: 4.398 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/3.512, allocations: 4 kB / 1.306 GB, free: 4.395 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002781/3.515, allocations: 1.061 MB / 1.307 GB, free: 3.332 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.781e-05/3.515, allocations: 8 kB / 1.307 GB, free: 3.324 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007189/3.516, allocations: 145 kB / 1.307 GB, free: 3.18 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001083/3.517, allocations: 207.7 kB / 1.307 GB, free: 2.977 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003096/3.52, allocations: 2.105 MB / 1.309 GB, free: 0.7383 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001069/3.521, allocations: 60.08 kB / 1.309 GB, free: 0.6797 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002889/3.521, allocations: 76.27 kB / 1.309 GB, free: 0.6055 MB / 426.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.0004278/3.522, allocations: 156.7 kB / 1.309 GB, free: 456 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003365/3.522, allocations: 94.86 kB / 1.31 GB, free: 360 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003996/3.526, allocations: 1.273 MB / 1.311 GB, free: 15.06 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.539e-05/3.526, allocations: 12 kB / 1.311 GB, free: 15.05 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.703e-06/3.526, allocations: 0 / 1.311 GB, free: 15.05 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.331e-05/3.526, allocations: 3.984 kB / 1.311 GB, free: 15.04 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004712/3.531, allocations: 1.901 MB / 1.313 GB, free: 13.06 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.124e-05/3.531, allocations: 8.188 kB / 1.313 GB, free: 13.05 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000516/3.532, allocations: 75.89 kB / 1.313 GB, free: 12.98 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004725/3.536, allocations: 0.6822 MB / 1.313 GB, free: 12.3 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000185/3.537, allocations: 23.98 kB / 1.313 GB, free: 12.27 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002072/3.539, allocations: 1.181 MB / 1.315 GB, free: 11.07 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.68e-06/3.539, allocations: 0 / 1.315 GB, free: 11.07 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00261/3.541, allocations: 1.131 MB / 1.316 GB, free: 9.859 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005246/3.542, allocations: 175.9 kB / 1.316 GB, free: 9.668 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000254/3.542, allocations: 15.95 kB / 1.316 GB, free: 9.652 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009238/3.543, allocations: 55.89 kB / 1.316 GB, free: 9.598 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001549/3.543, allocations: 52.5 kB / 1.316 GB, free: 9.547 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001215/3.544, allocations: 40 kB / 1.316 GB, free: 9.508 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001161/3.545, allocations: 0.5616 MB / 1.317 GB, free: 8.949 MB / 442.7 MB Notification: Performance of sort global known variables: time 1e-06/3.545, allocations: 0 / 1.317 GB, free: 8.949 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005051/3.55, allocations: 1.225 MB / 1.318 GB, free: 7.723 MB / 442.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 () * 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.005519/3.555, allocations: 1.821 MB / 1.32 GB, free: 5.902 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00422/3.56, allocations: 1.497 MB / 1.321 GB, free: 4.395 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.8e-06/3.56, allocations: 0 / 1.321 GB, free: 4.395 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001111/3.561, allocations: 395.5 kB / 1.321 GB, free: 4.004 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003284/3.564, allocations: 482.3 kB / 1.322 GB, free: 3.535 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01082/3.575, allocations: 2.946 MB / 1.325 GB, free: 0.543 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2684/3.843, allocations: 1.064 MB / 1.326 GB, free: 58.05 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007657/3.844, allocations: 125 kB / 1.326 GB, free: 58.04 MB / 442.7 MB Notification: Performance of SimCode: time 2.293e-06/3.844, allocations: 0 / 1.326 GB, free: 58.04 MB / 442.7 MB Notification: Performance of Templates: time 0.05498/3.899, allocations: 30 MB / 1.355 GB, free: 56.86 MB / 442.7 MB