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.881/1.881, allocations: 209.3 MB / 224.8 MB, free: 1.207 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004329/0.000433, allocations: 12 kB / 282.6 MB, free: 9.711 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08649/0.08694, allocations: 48.71 MB / 331.3 MB, free: 8.91 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.542/1.629, allocations: 0.6213 GB / 0.9449 GB, free: 27.84 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002411/1.63, allocations: 87.95 kB / 0.9449 GB, free: 27.75 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.762/3.392, allocations: 353.9 MB / 1.291 GB, free: 15.48 MB / 442.7 MB Notification: Performance of FrontEnd: time 5.398e-06/3.392, allocations: 4 kB / 1.291 GB, free: 15.48 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001135/3.392, allocations: 23.98 kB / 1.291 GB, free: 15.46 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.006214/3.398, allocations: 1.694 MB / 1.292 GB, free: 13.71 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/3.398, allocations: 8.031 kB / 1.292 GB, free: 13.71 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001859/3.4, allocations: 206.5 kB / 1.292 GB, free: 13.5 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002891/3.403, allocations: 0.8278 MB / 1.293 GB, free: 12.64 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000116/3.403, allocations: 49.3 kB / 1.293 GB, free: 12.59 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000341/3.403, allocations: 67.97 kB / 1.293 GB, free: 12.52 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003325/3.407, allocations: 1.155 MB / 1.294 GB, free: 11.3 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.507e-05/3.407, allocations: 0 / 1.294 GB, free: 11.3 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001755/3.407, allocations: 27.98 kB / 1.295 GB, free: 11.28 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001625/3.407, allocations: 81.25 kB / 1.295 GB, free: 11.2 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003269/3.41, allocations: 1.164 MB / 1.296 GB, free: 10.04 MB / 442.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.01106/3.422, allocations: 4.312 MB / 1.3 GB, free: 5.5 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002224/3.424, allocations: 0.7703 MB / 1.301 GB, free: 4.723 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005128/3.424, allocations: 318.7 kB / 1.301 GB, free: 4.355 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.184e-05/3.424, allocations: 47.42 kB / 1.301 GB, free: 4.301 MB / 442.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009953/3.425, allocations: 119.2 kB / 1.301 GB, free: 4.184 MB / 442.7 MB Notification: Performance of pre-optimization done (n=61): time 3.814e-06/3.425, allocations: 0 / 1.301 GB, free: 4.184 MB / 442.7 MB Notification: Performance of matching and sorting (n=61): time 0.00922/3.435, allocations: 2.03 MB / 1.303 GB, free: 2.125 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001551/3.435, allocations: 210.2 kB / 1.303 GB, free: 1.871 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001575/3.436, allocations: 0.727 MB / 1.304 GB, free: 1.141 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001831/3.437, allocations: 37.64 kB / 1.304 GB, free: 1.098 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004523/3.437, allocations: 473.8 kB / 1.305 GB, free: 0.6289 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003242/3.437, allocations: 224.8 kB / 1.305 GB, free: 416 kB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.919e-05/3.438, allocations: 16 kB / 1.305 GB, free: 400 kB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002097/3.438, allocations: 346.8 kB / 1.305 GB, free: 44 kB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3353/3.773, allocations: 380.3 kB / 1.305 GB, free: 54.56 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00129/3.774, allocations: 0.6202 MB / 1.306 GB, free: 54.28 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001229/3.776, allocations: 480.6 kB / 1.307 GB, free: 54.28 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.968e-06/3.776, allocations: 2.312 kB / 1.307 GB, free: 54.28 MB / 442.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.003303/3.779, allocations: 1.25 MB / 1.308 GB, free: 54.22 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004948/3.78, allocations: 2.445 MB / 1.31 GB, free: 51.71 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.91e-05/3.78, allocations: 7.938 kB / 1.31 GB, free: 51.71 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006668/3.786, allocations: 0.8314 MB / 1.311 GB, free: 51.7 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009273/3.787, allocations: 173 kB / 1.311 GB, free: 51.7 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002058/3.789, allocations: 1.188 MB / 1.312 GB, free: 51.18 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001266/3.791, allocations: 71.42 kB / 1.312 GB, free: 51.18 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001801/3.791, allocations: 74.58 kB / 1.312 GB, free: 51.18 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/3.791, allocations: 6.75 kB / 1.312 GB, free: 51.18 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003262/3.794, allocations: 1.109 MB / 1.313 GB, free: 51.15 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.161e-05/3.794, allocations: 6.75 kB / 1.314 GB, free: 51.15 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007488/3.795, allocations: 144.8 kB / 1.314 GB, free: 51.14 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001073/3.796, allocations: 206.4 kB / 1.314 GB, free: 51.14 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00342/3.799, allocations: 2.163 MB / 1.316 GB, free: 49.9 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001002/3.8, allocations: 59 kB / 1.316 GB, free: 49.9 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001536/3.801, allocations: 73.8 kB / 1.316 GB, free: 49.9 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 () * Number of clocked 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.0007358/3.801, allocations: 357.2 kB / 1.316 GB, free: 49.71 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002636/3.802, allocations: 99.83 kB / 1.317 GB, free: 49.71 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00402/3.806, allocations: 1.324 MB / 1.318 GB, free: 49.62 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.21e-05/3.806, allocations: 5.438 kB / 1.318 GB, free: 49.62 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.074e-06/3.806, allocations: 2.391 kB / 1.318 GB, free: 49.62 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.367e-05/3.806, allocations: 6.188 kB / 1.318 GB, free: 49.62 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004414/3.81, allocations: 1.952 MB / 1.32 GB, free: 49.26 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-05/3.81, allocations: 6.359 kB / 1.32 GB, free: 49.26 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004801/3.811, allocations: 80.61 kB / 1.32 GB, free: 49.26 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004733/3.816, allocations: 0.6903 MB / 1.32 GB, free: 49.25 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001698/3.816, allocations: 26.31 kB / 1.321 GB, free: 49.25 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001768/3.818, allocations: 1.176 MB / 1.322 GB, free: 48.71 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.108e-06/3.818, allocations: 9.281 kB / 1.322 GB, free: 48.71 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002525/3.82, allocations: 1.178 MB / 1.323 GB, free: 48.36 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003901/3.821, allocations: 183 kB / 1.323 GB, free: 48.22 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002011/3.821, allocations: 10.34 kB / 1.323 GB, free: 48.22 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008022/3.822, allocations: 58.56 kB / 1.323 GB, free: 48.21 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00014/3.822, allocations: 45.22 kB / 1.323 GB, free: 48.21 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001049/3.822, allocations: 43 kB / 1.323 GB, free: 48.21 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001005/3.823, allocations: 0.5655 MB / 1.324 GB, free: 48.12 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.67e-07/3.823, allocations: 3.844 kB / 1.324 GB, free: 48.12 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004429/3.827, allocations: 1.216 MB / 1.325 GB, free: 48.11 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 () * 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.005327/3.833, allocations: 1.816 MB / 1.327 GB, free: 47.93 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004486/3.837, allocations: 1.563 MB / 1.328 GB, free: 47.8 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.34e-06/3.837, allocations: 0 / 1.328 GB, free: 47.8 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001153/3.838, allocations: 423.4 kB / 1.329 GB, free: 47.79 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003007/3.841, allocations: 488.9 kB / 1.329 GB, free: 47.78 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01105/3.853, allocations: 3.732 MB / 1.333 GB, free: 46.89 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006363/3.853, allocations: 1.071 MB / 1.334 GB, free: 46.19 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007486/3.854, allocations: 121.8 kB / 1.334 GB, free: 46.18 MB / 442.7 MB Notification: Performance of SimCode: time 1.71e-06/3.854, allocations: 0 / 1.334 GB, free: 46.18 MB / 442.7 MB Notification: Performance of Templates: time 0.04805/3.902, allocations: 30.11 MB / 1.363 GB, free: 44.58 MB / 442.7 MB