Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.102/2.102, allocations: 209.2 MB / 225.4 MB, free: 0.625 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000696/0.0006962, allocations: 16 kB / 283.1 MB, free: 9.695 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4732/0.4739, allocations: 48.7 MB / 331.8 MB, free: 6.492 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.91/2.384, allocations: 0.6213 GB / 0.9454 GB, free: 28.04 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003106/2.384, allocations: 93.33 kB / 0.9454 GB, free: 27.98 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.953/4.338, allocations: 353.9 MB / 1.291 GB, free: 33.21 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.627e-06/4.338, allocations: 3.984 kB / 1.291 GB, free: 33.21 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001035/4.338, allocations: 24 kB / 1.291 GB, free: 33.19 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.006656/4.344, allocations: 1.69 MB / 1.293 GB, free: 31.45 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/4.344, allocations: 8.031 kB / 1.293 GB, free: 31.44 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001864/4.346, allocations: 194.6 kB / 1.293 GB, free: 31.25 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002985/4.349, allocations: 0.8471 MB / 1.294 GB, free: 30.36 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.39e-05/4.349, allocations: 53.3 kB / 1.294 GB, free: 30.3 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002101/4.35, allocations: 59.98 kB / 1.294 GB, free: 30.24 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002887/4.353, allocations: 1.159 MB / 1.295 GB, free: 29.03 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.086e-05/4.353, allocations: 0 / 1.295 GB, free: 29.03 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001604/4.353, allocations: 35.97 kB / 1.295 GB, free: 28.99 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001591/4.353, allocations: 77.27 kB / 1.295 GB, free: 28.92 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003113/4.356, allocations: 1.161 MB / 1.296 GB, free: 27.76 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.0108/4.367, allocations: 4.312 MB / 1.3 GB, free: 23.22 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001959/4.369, allocations: 0.7507 MB / 1.301 GB, free: 22.46 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004378/4.369, allocations: 322.7 kB / 1.301 GB, free: 22.09 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.947e-05/4.369, allocations: 43.12 kB / 1.302 GB, free: 22.04 MB / 442.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001199/4.371, allocations: 111.2 kB / 1.302 GB, free: 21.93 MB / 442.7 MB Notification: Performance of pre-optimization done (n=61): time 4.398e-06/4.371, allocations: 0 / 1.302 GB, free: 21.93 MB / 442.7 MB Notification: Performance of matching and sorting (n=61): time 0.01254/4.383, allocations: 2.08 MB / 1.304 GB, free: 19.83 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.148e-05/4.383, allocations: 214.2 kB / 1.304 GB, free: 19.57 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001607/4.385, allocations: 0.8292 MB / 1.305 GB, free: 18.73 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002632/4.385, allocations: 37.7 kB / 1.305 GB, free: 18.68 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003271/4.386, allocations: 469.8 kB / 1.305 GB, free: 18.22 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002739/4.386, allocations: 216.9 kB / 1.305 GB, free: 18.01 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.807e-05/4.386, allocations: 20 kB / 1.305 GB, free: 17.99 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.406e-05/4.386, allocations: 338.8 kB / 1.306 GB, free: 17.65 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001201/4.387, allocations: 389.8 kB / 1.306 GB, free: 17.27 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001287/4.389, allocations: 0.6254 MB / 1.307 GB, free: 16.54 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001346/4.39, allocations: 479.9 kB / 1.307 GB, free: 16.07 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.757e-06/4.39, allocations: 0 / 1.307 GB, free: 16.07 MB / 442.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.003757/4.394, allocations: 1.255 MB / 1.308 GB, free: 14.8 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001752/4.394, allocations: 273.9 kB / 1.309 GB, free: 14.45 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.517e-05/4.394, allocations: 8 kB / 1.309 GB, free: 14.44 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008403/4.402, allocations: 0.8464 MB / 1.309 GB, free: 13.59 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001336/4.404, allocations: 183.7 kB / 1.31 GB, free: 13.41 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002319/4.406, allocations: 1.186 MB / 1.311 GB, free: 12.2 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001698/4.408, allocations: 60 kB / 1.311 GB, free: 12.14 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001901/4.408, allocations: 75.97 kB / 1.311 GB, free: 12.07 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/4.408, allocations: 0 / 1.311 GB, free: 12.07 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0038/4.412, allocations: 1.109 MB / 1.312 GB, free: 10.96 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.938e-05/4.412, allocations: 15.98 kB / 1.312 GB, free: 10.94 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001014/4.413, allocations: 145 kB / 1.312 GB, free: 10.8 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001506/4.415, allocations: 207.7 kB / 1.312 GB, free: 10.59 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003862/4.418, allocations: 2.159 MB / 1.314 GB, free: 8.305 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001289/4.42, allocations: 56.58 kB / 1.315 GB, free: 8.25 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000165/4.42, allocations: 75.97 kB / 1.315 GB, free: 8.176 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.0008235/4.421, allocations: 356.8 kB / 1.315 GB, free: 7.816 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003016/4.421, allocations: 90.88 kB / 1.315 GB, free: 7.727 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004344/4.426, allocations: 1.328 MB / 1.316 GB, free: 6.371 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.129e-05/4.426, allocations: 7.953 kB / 1.316 GB, free: 6.363 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/4.426, allocations: 0 / 1.316 GB, free: 6.363 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.192e-05/4.426, allocations: 7.984 kB / 1.316 GB, free: 6.355 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004704/4.43, allocations: 1.953 MB / 1.318 GB, free: 4.324 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.054e-05/4.43, allocations: 4 kB / 1.318 GB, free: 4.32 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006347/4.431, allocations: 83.88 kB / 1.318 GB, free: 4.238 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005494/4.437, allocations: 0.6823 MB / 1.319 GB, free: 3.555 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002069/4.437, allocations: 31.92 kB / 1.319 GB, free: 3.523 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0019/4.439, allocations: 1.177 MB / 1.32 GB, free: 2.32 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.071e-06/4.439, allocations: 7.984 kB / 1.32 GB, free: 2.312 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002959/4.442, allocations: 1.113 MB / 1.321 GB, free: 1.16 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004223/4.442, allocations: 175.9 kB / 1.321 GB, free: 0.9688 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002577/4.442, allocations: 16 kB / 1.321 GB, free: 0.9531 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001059/4.444, allocations: 47.95 kB / 1.321 GB, free: 0.9062 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001482/4.444, allocations: 48.45 kB / 1.322 GB, free: 0.8594 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001135/4.444, allocations: 43.98 kB / 1.322 GB, free: 0.8164 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001091/4.445, allocations: 0.5731 MB / 1.322 GB, free: 256 kB / 442.7 MB Notification: Performance of sort global known variables: time 4.31e-07/4.445, allocations: 0 / 1.322 GB, free: 256 kB / 442.7 MB Notification: Performance of remove unused functions: time 0.3503/4.795, allocations: 1.223 MB / 1.323 GB, free: 56.96 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.006501/4.802, allocations: 1.798 MB / 1.325 GB, free: 56.81 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005258/4.807, allocations: 1.57 MB / 1.327 GB, free: 56.69 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.558e-06/4.807, allocations: 0.6875 kB / 1.327 GB, free: 56.69 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001488/4.809, allocations: 424.7 kB / 1.327 GB, free: 56.69 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004696/4.813, allocations: 477.3 kB / 1.327 GB, free: 56.68 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01376/4.827, allocations: 3.729 MB / 1.331 GB, free: 55.81 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007866/4.828, allocations: 1.066 MB / 1.332 GB, free: 55.11 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008582/4.829, allocations: 125 kB / 1.332 GB, free: 55.1 MB / 442.7 MB Notification: Performance of SimCode: time 1.283e-06/4.829, allocations: 2.844 kB / 1.332 GB, free: 55.1 MB / 442.7 MB Notification: Performance of Templates: time 0.06469/4.894, allocations: 30.11 MB / 1.362 GB, free: 53.65 MB / 442.7 MB