Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.0112/0.0112, allocations: 106.2 kB / 15.06 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001227/0.001227, allocations: 178.2 kB / 15.95 MB, free: 5.52 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 1.879/1.879, allocations: 194.6 MB / 211.3 MB, free: 10.97 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo): time 0.2959/0.2959, allocations: 40.04 MB / 296.5 MB, free: 6.277 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004491/0.0004492, allocations: 16 kB / 361.1 MB, free: 9.535 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.1166, allocations: 54.88 MB / 416 MB, free: 2.559 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances): time 1.144/1.261, allocations: 243.2 MB / 0.6438 GB, free: 3.734 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.04785/1.309, allocations: 26.64 MB / 0.6698 GB, free: 3.383 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00283/1.312, allocations: 76.41 kB / 0.6699 GB, free: 3.383 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003951/1.316, allocations: 0.8708 MB / 0.6707 GB, free: 3.379 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02631/1.342, allocations: 6.088 MB / 0.6767 GB, free: 3.293 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.02544/1.368, allocations: 5.946 MB / 0.6825 GB, free: 2.043 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.007425/1.375, allocations: 3.308 MB / 0.6857 GB, free: 1.527 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003924/1.379, allocations: 1.629 MB / 0.6873 GB, free: 16.9 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01057/1.39, allocations: 3.116 MB / 0.6903 GB, free: 16.34 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005723/1.396, allocations: 2.017 MB / 0.6923 GB, free: 15.86 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001226/1.397, allocations: 140.1 kB / 0.6924 GB, free: 15.86 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04137/1.438, allocations: 14.58 MB / 0.7067 GB, free: 9.566 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002691/1.441, allocations: 0.9793 MB / 0.7076 GB, free: 8.906 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001818/1.443, allocations: 0.5132 MB / 0.7081 GB, free: 8.602 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02414/1.467, allocations: 7.718 MB / 0.7157 GB, free: 1.93 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/1.467, allocations: 0 / 0.7157 GB, free: 1.93 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.085e-06/1.467, allocations: 0 / 0.7157 GB, free: 1.93 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001223/1.467, allocations: 0 / 0.7157 GB, free: 1.93 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: 498 * Number of variables: 498 Notification: Performance of Generate backend data structure: time 0.01719/1.485, allocations: 4.239 MB / 0.7198 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.326e-05/1.485, allocations: 8.031 kB / 0.7198 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001025/1.486, allocations: 285.7 kB / 0.7201 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001388/1.487, allocations: 294.2 kB / 0.7204 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004412/1.491, allocations: 1.449 MB / 0.7218 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001829/1.492, allocations: 149 kB / 0.7219 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000635/1.492, allocations: 192.2 kB / 0.7221 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009292/1.502, allocations: 3.134 MB / 0.7252 GB, free: 9.914 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-05/1.502, allocations: 3.375 kB / 0.7252 GB, free: 9.914 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004412/1.502, allocations: 81.89 kB / 0.7252 GB, free: 9.895 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004204/1.503, allocations: 185.9 kB / 0.7254 GB, free: 9.734 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01113/1.514, allocations: 3.551 MB / 0.7289 GB, free: 7.32 MB / 0.4948 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.03654/1.55, allocations: 12.56 MB / 0.7412 GB, free: 12.69 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005609/1.556, allocations: 1.666 MB / 0.7428 GB, free: 11.58 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002337/1.558, allocations: 1.744 MB / 0.7445 GB, free: 9.59 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.034e-05/1.559, allocations: 53.44 kB / 0.7445 GB, free: 9.543 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003007/1.562, allocations: 306.7 kB / 0.7448 GB, free: 9.285 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=157): time 5.951e-06/1.562, allocations: 4 kB / 0.7448 GB, free: 9.281 MB / 0.5105 GB Notification: Performance of matching and sorting (n=169): time 0.04985/1.611, allocations: 8.65 MB / 0.7533 GB, free: 2.645 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001394/1.612, allocations: 204.5 kB / 0.7535 GB, free: 2.406 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003584/1.615, allocations: 1.634 MB / 0.7551 GB, free: 1.207 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0006466/1.616, allocations: 58.33 kB / 0.7551 GB, free: 1.168 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001041/1.617, allocations: 1.022 MB / 0.7561 GB, free: 484 kB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001211/1.618, allocations: 0.5948 MB / 0.7567 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003349/1.619, allocations: 44.38 kB / 0.7567 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002619/1.619, allocations: 403.1 kB / 0.7571 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004668/1.624, allocations: 1.208 MB / 0.7583 GB, free: 14.79 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00499/1.629, allocations: 1.777 MB / 0.76 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004875/1.633, allocations: 1.499 MB / 0.7615 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.622e-05/1.634, allocations: 4 kB / 0.7615 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=301) (initialization): time 0.01663/1.65, allocations: 4.063 MB / 0.7655 GB, free: 9.398 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.00253/1.653, allocations: 6.37 MB / 0.7717 GB, free: 2.789 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.935e-05/1.653, allocations: 12 kB / 0.7717 GB, free: 2.777 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01405/1.667, allocations: 1.338 MB / 0.773 GB, free: 1.566 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00481/1.672, allocations: 0.5481 MB / 0.7736 GB, free: 1.066 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005393/1.677, allocations: 2.134 MB / 0.7756 GB, free: 15.25 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00444/1.682, allocations: 198.1 kB / 0.7758 GB, free: 15.09 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005616/1.682, allocations: 180.8 kB / 0.776 GB, free: 14.94 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/1.682, allocations: 6.734 kB / 0.776 GB, free: 14.93 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01663/1.699, allocations: 3.821 MB / 0.7797 GB, free: 12.26 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.644e-05/1.699, allocations: 16 kB / 0.7798 GB, free: 12.25 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01019/1.709, allocations: 0.9862 MB / 0.7807 GB, free: 11.36 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004893/1.714, allocations: 0.5482 MB / 0.7813 GB, free: 10.86 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004996/1.719, allocations: 1.922 MB / 0.7831 GB, free: 9.168 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004274/1.724, allocations: 188.4 kB / 0.7833 GB, free: 9.023 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000789/1.724, allocations: 180.5 kB / 0.7835 GB, free: 8.867 MB / 0.5417 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.002035/1.726, allocations: 0.6416 MB / 0.7841 GB, free: 8.441 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007205/1.727, allocations: 205.6 kB / 0.7843 GB, free: 8.238 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01448/1.742, allocations: 4.068 MB / 0.7883 GB, free: 5.371 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.305e-05/1.742, allocations: 20 kB / 0.7883 GB, free: 5.352 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.046e-05/1.742, allocations: 0 / 0.7883 GB, free: 5.352 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.162e-05/1.742, allocations: 15.95 kB / 0.7883 GB, free: 5.336 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01805/1.76, allocations: 5.664 MB / 0.7938 GB, free: 1.406 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.982e-05/1.76, allocations: 7.984 kB / 0.7939 GB, free: 1.398 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003081/1.763, allocations: 331.3 kB / 0.7942 GB, free: 1.102 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01063/1.774, allocations: 1.189 MB / 0.7953 GB, free: 32 kB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006251/1.774, allocations: 72.52 kB / 0.7954 GB, free: 15.99 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00462/1.779, allocations: 2.046 MB / 0.7974 GB, free: 14.23 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.387e-06/1.779, allocations: 6.531 kB / 0.7974 GB, free: 14.23 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01535/1.794, allocations: 4.76 MB / 0.8021 GB, free: 9.539 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001069/1.796, allocations: 314.6 kB / 0.8024 GB, free: 9.211 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000761/1.796, allocations: 48 kB / 0.8024 GB, free: 9.164 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003085/1.799, allocations: 154.3 kB / 0.8025 GB, free: 9.016 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005751/1.8, allocations: 154.7 kB / 0.8027 GB, free: 8.867 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004055/1.8, allocations: 115.9 kB / 0.8028 GB, free: 8.754 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.00256/1.803, allocations: 1.102 MB / 0.8039 GB, free: 7.66 MB / 0.5573 GB Notification: Performance of sort global known variables: time 8.01e-07/1.803, allocations: 0 / 0.8039 GB, free: 7.66 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01181/1.815, allocations: 2.748 MB / 0.8066 GB, free: 4.91 MB / 0.5573 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.02681/1.842, allocations: 8.769 MB / 0.8151 GB, free: 12.22 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01785/1.86, allocations: 4.892 MB / 0.8199 GB, free: 7.418 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.507e-05/1.86, allocations: 0 / 0.8199 GB, free: 7.418 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.005112/1.865, allocations: 1.401 MB / 0.8213 GB, free: 6.055 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008675/1.874, allocations: 1.014 MB / 0.8223 GB, free: 5.051 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02414/1.898, allocations: 18.16 MB / 0.84 GB, free: 2.414 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001931/1.9, allocations: 1.712 MB / 0.8417 GB, free: 0.668 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.3392/2.239, allocations: 1.267 MB / 0.8429 GB, free: 258.9 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00284/2.242, allocations: 0.929 MB / 0.8438 GB, free: 258.9 MB / 0.5886 GB Notification: Performance of SimCode: time 1.123e-06/2.242, allocations: 0 / 0.8438 GB, free: 258.9 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2625/2.504, allocations: 103 MB / 0.9444 GB, free: 197.4 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001899/2.505, allocations: 293.7 kB / 0.9447 GB, free: 197 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.588/10.09, allocations: 0 / 0.9447 GB, free: 197 MB / 0.5886 GB