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.245/2.245, allocations: 234.9 MB / 250.5 MB, free: 9.555 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004335/0.0004337, allocations: 8 kB / 314.3 MB, free: 9.594 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2827/0.2832, allocations: 54.87 MB / 369.2 MB, free: 10.73 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal): time 0.4967/0.7799, allocations: 156.1 MB / 0.513 GB, free: 10.63 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.02137/0.8013, allocations: 14.09 MB / 0.5267 GB, free: 8.203 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001408/0.8028, allocations: 42.81 kB / 0.5268 GB, free: 8.18 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001453/0.8043, allocations: 368.7 kB / 0.5271 GB, free: 7.992 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00809/0.8124, allocations: 2.13 MB / 0.5292 GB, free: 7.434 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008646/0.8211, allocations: 2.492 MB / 0.5316 GB, free: 6.758 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003475/0.8246, allocations: 1.798 MB / 0.5334 GB, free: 6.387 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001448/0.8261, allocations: 0.6036 MB / 0.534 GB, free: 6.133 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002759/0.8289, allocations: 0.9605 MB / 0.5349 GB, free: 5.859 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002038/0.831, allocations: 0.8791 MB / 0.5358 GB, free: 5.551 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002569/0.8313, allocations: 49.31 kB / 0.5358 GB, free: 5.551 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006806/0.8381, allocations: 2.638 MB / 0.5384 GB, free: 4.898 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006845/0.8388, allocations: 313.9 kB / 0.5387 GB, free: 4.785 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004765/0.8393, allocations: 224.9 kB / 0.5389 GB, free: 4.723 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005638/0.845, allocations: 2.344 MB / 0.5412 GB, free: 3.707 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.01e-06/0.845, allocations: 4 kB / 0.5412 GB, free: 3.703 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.554e-06/0.845, allocations: 0 / 0.5412 GB, free: 3.703 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.876e-05/0.8451, allocations: 0 / 0.5412 GB, free: 3.703 MB / 410.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.004749/0.8498, allocations: 1.623 MB / 0.5428 GB, free: 2.605 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.8499, allocations: 12.61 kB / 0.5428 GB, free: 2.602 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001575/0.8515, allocations: 201 kB / 0.543 GB, free: 2.484 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001778/0.8533, allocations: 0.7246 MB / 0.5437 GB, free: 1.871 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.076e-05/0.8534, allocations: 56.17 kB / 0.5437 GB, free: 1.836 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001768/0.8536, allocations: 60 kB / 0.5438 GB, free: 1.797 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002664/0.8562, allocations: 1.154 MB / 0.5449 GB, free: 0.9297 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.484e-05/0.8563, allocations: 0 / 0.5449 GB, free: 0.9297 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001417/0.8565, allocations: 39.14 kB / 0.545 GB, free: 0.9141 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001521/0.8566, allocations: 74.7 kB / 0.545 GB, free: 0.8516 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002891/0.8595, allocations: 1.164 MB / 0.5462 GB, free: 76 kB / 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.01001/0.8696, allocations: 4.324 MB / 0.5504 GB, free: 12.42 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001883/0.8715, allocations: 0.7587 MB / 0.5511 GB, free: 11.91 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004735/0.872, allocations: 325.3 kB / 0.5515 GB, free: 11.55 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.879e-05/0.8721, allocations: 41 kB / 0.5515 GB, free: 11.51 MB / 426.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000819/0.8729, allocations: 119.9 kB / 0.5516 GB, free: 11.41 MB / 426.7 MB Notification: Performance of pre-optimization done (n=61): time 4.692e-06/0.8729, allocations: 0 / 0.5516 GB, free: 11.41 MB / 426.7 MB Notification: Performance of matching and sorting (n=61): time 0.008157/0.8811, allocations: 1.984 MB / 0.5535 GB, free: 9.805 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001569/0.8813, allocations: 219.9 kB / 0.5538 GB, free: 9.539 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001502/0.8828, allocations: 0.8158 MB / 0.5545 GB, free: 8.918 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001695/0.883, allocations: 38.64 kB / 0.5546 GB, free: 8.883 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004043/0.8834, allocations: 485.5 kB / 0.555 GB, free: 8.543 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002966/0.8838, allocations: 221.5 kB / 0.5553 GB, free: 8.359 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.513e-05/0.8839, allocations: 15.94 kB / 0.5553 GB, free: 8.355 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002017/0.8841, allocations: 345.2 kB / 0.5556 GB, free: 8.023 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001027/0.8851, allocations: 393.1 kB / 0.556 GB, free: 7.773 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001268/0.8864, allocations: 0.6459 MB / 0.5566 GB, free: 7.164 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001254/0.8877, allocations: 496.2 kB / 0.5571 GB, free: 6.859 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.405e-05/0.8877, allocations: 4 kB / 0.5571 GB, free: 6.855 MB / 426.7 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.003414/0.8911, allocations: 1.272 MB / 0.5583 GB, free: 5.953 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003021/0.8915, allocations: 296.3 kB / 0.5586 GB, free: 5.594 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.93e-05/0.8915, allocations: 12 kB / 0.5586 GB, free: 5.582 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006248/0.8978, allocations: 0.8493 MB / 0.5595 GB, free: 4.801 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009429/0.8988, allocations: 181.7 kB / 0.5596 GB, free: 4.629 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002164/0.9009, allocations: 1.186 MB / 0.5608 GB, free: 3.656 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001158/0.9021, allocations: 59.12 kB / 0.5608 GB, free: 3.613 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001792/0.9023, allocations: 74.8 kB / 0.5609 GB, free: 3.547 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.9024, allocations: 4 kB / 0.5609 GB, free: 3.543 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00327/0.9056, allocations: 1.141 MB / 0.562 GB, free: 2.734 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.721e-05/0.9057, allocations: 8 kB / 0.562 GB, free: 2.727 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007564/0.9065, allocations: 164.8 kB / 0.5622 GB, free: 2.594 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001121/0.9076, allocations: 208.6 kB / 0.5624 GB, free: 2.395 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003678/0.9113, allocations: 2.188 MB / 0.5645 GB, free: 500 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008853/0.9123, allocations: 58.86 kB / 0.5646 GB, free: 456 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001686/0.9124, allocations: 71.16 kB / 0.5647 GB, free: 392 kB / 426.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.0007233/0.9132, allocations: 360.9 kB / 0.565 GB, free: 96 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003/0.9135, allocations: 101.7 kB / 0.5651 GB, free: 15.99 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004132/0.9176, allocations: 1.364 MB / 0.5664 GB, free: 15.02 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.598e-05/0.9177, allocations: 8 kB / 0.5664 GB, free: 15.01 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.565e-06/0.9177, allocations: 0 / 0.5664 GB, free: 15.01 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.258e-05/0.9177, allocations: 7.922 kB / 0.5664 GB, free: 15 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004364/0.9221, allocations: 1.959 MB / 0.5684 GB, free: 13.53 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-05/0.9222, allocations: 7.984 kB / 0.5684 GB, free: 13.52 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004846/0.9227, allocations: 78.7 kB / 0.5684 GB, free: 13.45 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004511/0.9272, allocations: 0.7057 MB / 0.5691 GB, free: 12.81 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000155/0.9274, allocations: 19.69 kB / 0.5691 GB, free: 12.8 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001905/0.9293, allocations: 1.167 MB / 0.5703 GB, free: 11.85 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.503e-06/0.9293, allocations: 0 / 0.5703 GB, free: 11.85 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002642/0.932, allocations: 1.128 MB / 0.5714 GB, free: 10.98 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004099/0.9325, allocations: 175.4 kB / 0.5716 GB, free: 10.8 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002053/0.9327, allocations: 15.69 kB / 0.5716 GB, free: 10.8 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007302/0.9334, allocations: 49.47 kB / 0.5716 GB, free: 10.76 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001474/0.9336, allocations: 58.5 kB / 0.5717 GB, free: 10.71 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001133/0.9337, allocations: 42.8 kB / 0.5717 GB, free: 10.67 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001022/0.9347, allocations: 0.5553 MB / 0.5723 GB, free: 10.26 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.753e-06/0.9348, allocations: 0 / 0.5723 GB, free: 10.26 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003475/0.9382, allocations: 1.041 MB / 0.5733 GB, free: 9.277 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.002836/0.9411, allocations: 0.9077 MB / 0.5742 GB, free: 8.445 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004156/0.9453, allocations: 1.606 MB / 0.5757 GB, free: 7.223 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.069e-05/0.9454, allocations: 4 kB / 0.5757 GB, free: 7.219 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001147/0.9465, allocations: 422.7 kB / 0.5761 GB, free: 6.805 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002758/0.9493, allocations: 476.8 kB / 0.5766 GB, free: 6.348 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003985/0.9533, allocations: 2.008 MB / 0.5786 GB, free: 4.297 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009633/0.9543, allocations: 1.07 MB / 0.5796 GB, free: 3.199 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006952/0.955, allocations: 123.4 kB / 0.5797 GB, free: 3.078 MB / 442.7 MB Notification: Performance of SimCode: time 1.905e-06/0.9551, allocations: 5.797 kB / 0.5797 GB, free: 3.074 MB / 442.7 MB Notification: Performance of Templates: time 0.04947/1.005, allocations: 25.85 MB / 0.605 GB, free: 9.234 MB / 474.7 MB