Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/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.2_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal") Notification: Performance of loadModel(ModelicaTest): time 2.136/2.136, allocations: 235 MB / 248.1 MB, free: 14.39 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.221e-05/3.232e-05, allocations: 8 kB / 309.7 MB, free: 1.328 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3211/0.3212, allocations: 54.86 MB / 364.5 MB, free: 5.543 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.45/1.772, allocations: 0.628 GB / 0.984 GB, free: 123.3 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002479/1.772, allocations: 83.95 kB / 0.9841 GB, free: 123.2 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.64/3.412, allocations: 353 MB / 1.329 GB, free: 67.59 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.758e-06/3.412, allocations: 2.156 kB / 1.329 GB, free: 67.59 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001019/3.412, allocations: 27.03 kB / 1.329 GB, free: 67.59 MB / 490.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.004937/3.417, allocations: 1.552 MB / 1.33 GB, free: 67.01 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.175e-05/3.417, allocations: 11.33 kB / 1.33 GB, free: 67.01 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001639/3.419, allocations: 199.7 kB / 1.331 GB, free: 66.96 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002286/3.421, allocations: 0.8332 MB / 1.331 GB, free: 66.7 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.609e-05/3.421, allocations: 53.41 kB / 1.331 GB, free: 66.69 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001957/3.422, allocations: 60.77 kB / 1.331 GB, free: 66.69 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002303/3.424, allocations: 1.122 MB / 1.333 GB, free: 66.51 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.499e-05/3.424, allocations: 6.062 kB / 1.333 GB, free: 66.51 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001555/3.424, allocations: 27.31 kB / 1.333 GB, free: 66.51 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001419/3.424, allocations: 83.81 kB / 1.333 GB, free: 66.51 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002407/3.427, allocations: 1.106 MB / 1.334 GB, free: 66.51 MB / 490.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.008684/3.435, allocations: 4.304 MB / 1.338 GB, free: 64.71 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001762/3.437, allocations: 0.7449 MB / 1.339 GB, free: 64.68 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007305/3.438, allocations: 352.9 kB / 1.339 GB, free: 64.67 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003905/3.438, allocations: 320.5 kB / 1.339 GB, free: 64.39 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.857e-05/3.438, allocations: 44.81 kB / 1.339 GB, free: 64.35 MB / 490.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001026/3.439, allocations: 116 kB / 1.339 GB, free: 64.33 MB / 490.7 MB Notification: Performance of pre-optimization done (n=61): time 4.433e-06/3.439, allocations: 0.9375 kB / 1.339 GB, free: 64.33 MB / 490.7 MB Notification: Performance of matching and sorting (n=61): time 0.003728/3.443, allocations: 1.069 MB / 1.341 GB, free: 64.23 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.422e-05/3.443, allocations: 218.4 kB / 1.341 GB, free: 63.98 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001333/3.445, allocations: 0.7172 MB / 1.341 GB, free: 63.85 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001765/3.445, allocations: 39.05 kB / 1.341 GB, free: 63.82 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002886/3.445, allocations: 464.1 kB / 1.342 GB, free: 63.58 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002619/3.445, allocations: 219.3 kB / 1.342 GB, free: 63.47 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.32e-05/3.446, allocations: 18.09 kB / 1.342 GB, free: 63.47 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.631e-05/3.446, allocations: 346.5 kB / 1.342 GB, free: 63.16 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008417/3.446, allocations: 359.6 kB / 1.343 GB, free: 63.16 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009521/3.447, allocations: 0.6017 MB / 1.343 GB, free: 62.88 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009589/3.448, allocations: 459.6 kB / 1.344 GB, free: 62.87 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.881e-06/3.448, allocations: 0 / 1.344 GB, free: 62.87 MB / 490.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002742/3.451, allocations: 1.2 MB / 1.345 GB, free: 62.79 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004997/3.452, allocations: 2.452 MB / 1.347 GB, free: 60.26 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.542e-05/3.452, allocations: 7.875 kB / 1.347 GB, free: 60.26 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006647/3.458, allocations: 0.8102 MB / 1.348 GB, free: 60.25 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000917/3.459, allocations: 173.1 kB / 1.348 GB, free: 60.25 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001846/3.461, allocations: 1.178 MB / 1.35 GB, free: 59.72 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001327/3.463, allocations: 70.06 kB / 1.35 GB, free: 59.71 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001775/3.463, allocations: 75.66 kB / 1.35 GB, free: 59.71 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/3.463, allocations: 4.969 kB / 1.35 GB, free: 59.71 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002886/3.466, allocations: 1.069 MB / 1.351 GB, free: 59.68 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.493e-05/3.466, allocations: 6.562 kB / 1.351 GB, free: 59.68 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008422/3.467, allocations: 136.6 kB / 1.351 GB, free: 59.68 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001139/3.468, allocations: 209.7 kB / 1.351 GB, free: 59.68 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00316/3.471, allocations: 2.113 MB / 1.353 GB, free: 58.42 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001097/3.472, allocations: 74.39 kB / 1.353 GB, free: 58.41 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001723/3.472, allocations: 73.47 kB / 1.353 GB, free: 58.41 MB / 490.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.0003286/3.473, allocations: 152.1 kB / 1.353 GB, free: 58.31 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002893/3.473, allocations: 91.28 kB / 1.353 GB, free: 58.26 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003486/3.476, allocations: 1.281 MB / 1.355 GB, free: 58.16 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-05/3.477, allocations: 8.469 kB / 1.355 GB, free: 58.16 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.719e-06/3.477, allocations: 3.094 kB / 1.355 GB, free: 58.16 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.042e-05/3.477, allocations: 2.766 kB / 1.355 GB, free: 58.16 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003874/3.48, allocations: 1.898 MB / 1.357 GB, free: 57.79 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.102e-06/3.48, allocations: 0 / 1.357 GB, free: 57.79 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005053/3.481, allocations: 87.81 kB / 1.357 GB, free: 57.79 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004782/3.486, allocations: 0.6804 MB / 1.357 GB, free: 57.77 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001589/3.486, allocations: 26.62 kB / 1.357 GB, free: 57.77 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001703/3.488, allocations: 1.167 MB / 1.359 GB, free: 57.24 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.301e-06/3.488, allocations: 3.906 kB / 1.359 GB, free: 57.24 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002284/3.49, allocations: 1.133 MB / 1.36 GB, free: 56.89 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003982/3.49, allocations: 174.9 kB / 1.36 GB, free: 56.75 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002209/3.491, allocations: 18.22 kB / 1.36 GB, free: 56.75 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009208/3.492, allocations: 43.02 kB / 1.36 GB, free: 56.75 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000137/3.492, allocations: 51.48 kB / 1.36 GB, free: 56.75 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001113/3.492, allocations: 47.11 kB / 1.36 GB, free: 56.75 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0009462/3.493, allocations: 0.5566 MB / 1.36 GB, free: 56.65 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.37e-07/3.493, allocations: 0 / 1.36 GB, free: 56.65 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004249/3.497, allocations: 1.221 MB / 1.362 GB, free: 56.48 MB / 490.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.004727/3.502, allocations: 1.816 MB / 1.363 GB, free: 56.11 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003542/3.506, allocations: 1.495 MB / 1.365 GB, free: 55.98 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.031e-06/3.506, allocations: 2.875 kB / 1.365 GB, free: 55.98 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009352/3.507, allocations: 396.5 kB / 1.365 GB, free: 55.96 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003079/3.51, allocations: 489.8 kB / 1.366 GB, free: 55.96 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009747/3.519, allocations: 2.954 MB / 1.369 GB, free: 55.55 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000615/3.52, allocations: 1.064 MB / 1.37 GB, free: 54.85 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007111/3.521, allocations: 125.5 kB / 1.37 GB, free: 54.84 MB / 490.7 MB Notification: Performance of SimCode: time 1.722e-06/3.521, allocations: 0 / 1.37 GB, free: 54.84 MB / 490.7 MB Notification: Performance of Templates: time 0.04681/3.568, allocations: 30 MB / 1.399 GB, free: 52.92 MB / 490.7 MB