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.TestJunctionTraceSubstances.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.TestJunctionTraceSubstances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|junction1.mC_scaled.1.|junction1.medium.T|junction1.medium.Xi.1.|junction1.medium.p",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances") Notification: Performance of loadModel(ModelicaTest): time 2.211/2.211, allocations: 234.9 MB / 250.5 MB, free: 9.465 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004405/0.0004407, allocations: 12 kB / 314.3 MB, free: 9.504 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.287/0.2875, allocations: 54.86 MB / 369.2 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances): time 0.6409/0.9284, allocations: 243.2 MB / 0.598 GB, free: 3.406 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.04734/0.9758, allocations: 26.64 MB / 0.6241 GB, free: 8.715 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002518/0.9784, allocations: 75.31 kB / 0.6241 GB, free: 8.641 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002901/0.9813, allocations: 0.8708 MB / 0.625 GB, free: 7.766 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03216/1.013, allocations: 6.097 MB / 0.6309 GB, free: 1.652 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.03598/1.05, allocations: 5.939 MB / 0.6367 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.01242/1.062, allocations: 3.719 MB / 0.6404 GB, free: 7.973 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005747/1.068, allocations: 1.631 MB / 0.642 GB, free: 6.316 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01559/1.083, allocations: 3.125 MB / 0.645 GB, free: 3.184 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009114/1.093, allocations: 2.049 MB / 0.647 GB, free: 1.129 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.001383/1.094, allocations: 144 kB / 0.6472 GB, free: 0.9883 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03471/1.129, allocations: 14.6 MB / 0.6614 GB, free: 2.371 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.001958/1.131, allocations: 0.9819 MB / 0.6624 GB, free: 1.387 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.001116/1.132, allocations: 0.5083 MB / 0.6629 GB, free: 0.8711 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.3816/1.514, allocations: 7.715 MB / 0.6704 GB, free: 17.41 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.674e-06/1.514, allocations: 0 / 0.6704 GB, free: 17.41 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.024e-06/1.514, allocations: 0 / 0.6704 GB, free: 17.41 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.998e-05/1.514, allocations: 0 / 0.6704 GB, free: 17.41 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 498 * Number of variables: 498 Notification: Performance of Generate backend data structure: time 0.01373/1.527, allocations: 4.234 MB / 0.6745 GB, free: 15.36 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/1.527, allocations: 9.594 kB / 0.6745 GB, free: 15.36 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001701/1.529, allocations: 289 kB / 0.6748 GB, free: 15.23 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003844/1.533, allocations: 1.456 MB / 0.6762 GB, free: 14.83 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001925/1.533, allocations: 149.2 kB / 0.6764 GB, free: 14.83 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006403/1.534, allocations: 183.6 kB / 0.6766 GB, free: 14.83 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008253/1.542, allocations: 3.151 MB / 0.6796 GB, free: 14.64 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.26e-05/1.542, allocations: 4.625 kB / 0.6796 GB, free: 14.64 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004039/1.543, allocations: 81.72 kB / 0.6797 GB, free: 14.64 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002888/1.543, allocations: 190.4 kB / 0.6799 GB, free: 14.64 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00936/1.552, allocations: 3.551 MB / 0.6834 GB, free: 14.62 MB / 0.5105 GB 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.02697/1.579, allocations: 12.57 MB / 0.6956 GB, free: 9.348 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004159/1.584, allocations: 1.657 MB / 0.6973 GB, free: 9.289 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001518/1.585, allocations: 1.746 MB / 0.699 GB, free: 7.594 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.098e-05/1.585, allocations: 55.22 kB / 0.699 GB, free: 7.555 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00215/1.587, allocations: 308 kB / 0.6993 GB, free: 7.449 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=157): time 6.215e-06/1.587, allocations: 5.203 kB / 0.6993 GB, free: 7.445 MB / 0.5105 GB Notification: Performance of matching and sorting (n=169): time 0.03356/1.621, allocations: 8.648 MB / 0.7078 GB, free: 6.488 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.887e-05/1.621, allocations: 204.1 kB / 0.708 GB, free: 6.266 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00284/1.624, allocations: 1.627 MB / 0.7095 GB, free: 6.07 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0004608/1.624, allocations: 59.58 kB / 0.7096 GB, free: 6.039 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005906/1.625, allocations: 0.9872 MB / 0.7106 GB, free: 5.496 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006017/1.626, allocations: 0.5918 MB / 0.7111 GB, free: 5.121 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002544/1.626, allocations: 47.94 kB / 0.7112 GB, free: 5.121 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001477/1.626, allocations: 401.7 kB / 0.7116 GB, free: 4.809 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00334/1.629, allocations: 1.205 MB / 0.7128 GB, free: 4.797 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003679/1.633, allocations: 1.791 MB / 0.7145 GB, free: 4.148 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003849/1.637, allocations: 1.499 MB / 0.716 GB, free: 4.043 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-05/1.637, allocations: 13.17 kB / 0.716 GB, free: 4.035 MB / 0.5105 GB Notification: Performance of matching and sorting (n=301) (initialization): time 0.01237/1.649, allocations: 3.957 MB / 0.7198 GB, free: 3.793 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003149/1.65, allocations: 0.606 MB / 0.7204 GB, free: 3.059 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.138e-05/1.65, allocations: 16.81 kB / 0.7205 GB, free: 3.059 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009673/1.66, allocations: 1.334 MB / 0.7218 GB, free: 2.996 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003167/1.663, allocations: 0.5478 MB / 0.7223 GB, free: 2.996 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004133/1.667, allocations: 2.126 MB / 0.7244 GB, free: 17.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00338/1.67, allocations: 201 kB / 0.7246 GB, free: 17.91 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005108/1.671, allocations: 180.7 kB / 0.7247 GB, free: 17.91 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/1.671, allocations: 3.719 kB / 0.7247 GB, free: 17.91 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01295/1.684, allocations: 3.827 MB / 0.7285 GB, free: 17.74 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.684e-05/1.684, allocations: 15.52 kB / 0.7285 GB, free: 17.74 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006802/1.691, allocations: 0.974 MB / 0.7294 GB, free: 17.69 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003076/1.694, allocations: 0.5532 MB / 0.73 GB, free: 17.68 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00365/1.698, allocations: 1.916 MB / 0.7318 GB, free: 16.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002592/1.7, allocations: 189.9 kB / 0.732 GB, free: 16.61 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00043/1.701, allocations: 176.8 kB / 0.7322 GB, free: 16.61 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * Number of states: 0 () * Number of discrete variables: 2 (traceSubstance2.ind,traceSubstance.ind) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (276): * Single equations (assignments): 272 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 6,4 15} Notification: Performance of prepare postOptimizeDAE: time 0.001658/1.702, allocations: 0.644 MB / 0.7328 GB, free: 16.41 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005719/1.703, allocations: 202.7 kB / 0.733 GB, free: 16.3 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01107/1.714, allocations: 4.063 MB / 0.737 GB, free: 14.69 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-05/1.714, allocations: 22.25 kB / 0.737 GB, free: 14.67 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-05/1.714, allocations: 4 kB / 0.737 GB, free: 14.67 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.911e-05/1.714, allocations: 9.062 kB / 0.737 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01523/1.729, allocations: 5.664 MB / 0.7426 GB, free: 10.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-05/1.729, allocations: 4 kB / 0.7426 GB, free: 10.73 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00213/1.732, allocations: 327.9 kB / 0.7429 GB, free: 10.43 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007844/1.739, allocations: 1.183 MB / 0.744 GB, free: 9.371 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005247/1.74, allocations: 77.12 kB / 0.7441 GB, free: 9.324 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003898/1.744, allocations: 2.052 MB / 0.7461 GB, free: 7.566 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.309e-06/1.744, allocations: 6.25 kB / 0.7461 GB, free: 7.562 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01223/1.756, allocations: 4.511 MB / 0.7505 GB, free: 4.414 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001032/1.757, allocations: 315.8 kB / 0.7508 GB, free: 4.117 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006469/1.758, allocations: 44.67 kB / 0.7509 GB, free: 4.102 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002211/1.76, allocations: 156.8 kB / 0.751 GB, free: 3.973 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004431/1.761, allocations: 149.1 kB / 0.7511 GB, free: 3.844 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003599/1.761, allocations: 118.8 kB / 0.7513 GB, free: 3.742 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0023/1.763, allocations: 1.1 MB / 0.7523 GB, free: 2.957 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.08e-06/1.763, allocations: 0 / 0.7523 GB, free: 2.957 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01054/1.774, allocations: 2.752 MB / 0.755 GB, free: 432 kB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 4 (junction1.medium.p,junction1.medium.Xi[1],junction1.medium.T,junction1.mC_scaled[1]) * 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 (166): * Single equations (assignments): 164 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 6,3 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.009587/1.784, allocations: 2.503 MB / 0.7575 GB, free: 14.2 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01432/1.798, allocations: 4.886 MB / 0.7622 GB, free: 10.73 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.621e-05/1.798, allocations: 4 kB / 0.7622 GB, free: 10.72 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.004276/1.802, allocations: 1.4 MB / 0.7636 GB, free: 9.781 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006019/1.808, allocations: 1.017 MB / 0.7646 GB, free: 8.945 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01195/1.82, allocations: 5.484 MB / 0.77 GB, free: 4.027 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002107/1.822, allocations: 1.708 MB / 0.7716 GB, free: 2.359 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002049/1.825, allocations: 315.1 kB / 0.7719 GB, free: 2.074 MB / 0.5417 GB Notification: Performance of SimCode: time 1.848e-06/1.825, allocations: 4 kB / 0.7719 GB, free: 2.07 MB / 0.5417 GB Notification: Performance of Templates: time 0.1462/1.971, allocations: 81.45 MB / 0.8515 GB, free: 1.215 MB / 0.6198 GB