Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.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 Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances,fileNamePrefix="ModelicaTest_3_2_1_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.1/package.mo): time 0.01519/0.0152, allocations: 103.8 kB / 15.05 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.1.mo): time 0.001818/0.001817, allocations: 172.4 kB / 15.93 MB, free: 5.527 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo): time 1.599/1.599, allocations: 170.9 MB / 187.5 MB, free: 1.004 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo): time 0.2739/0.2739, allocations: 38.1 MB / 265.1 MB, free: 3.965 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004485/0.0004483, allocations: 8 kB / 323.6 MB, free: 29.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09155/0.09203, allocations: 48.71 MB / 372.3 MB, free: 12.85 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances): time 1.048/1.14, allocations: 242.8 MB / 0.6007 GB, free: 4.172 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.04805/1.188, allocations: 26.52 MB / 0.6266 GB, free: 3.879 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002794/1.191, allocations: 76.16 kB / 0.6267 GB, free: 3.879 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003756/1.195, allocations: 0.8401 MB / 0.6275 GB, free: 3.875 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02564/1.22, allocations: 6.078 MB / 0.6334 GB, free: 3.781 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.02358/1.244, allocations: 5.936 MB / 0.6392 GB, free: 3.695 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.007517/1.252, allocations: 3.278 MB / 0.6424 GB, free: 3.305 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00403/1.256, allocations: 1.635 MB / 0.644 GB, free: 18.67 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009773/1.265, allocations: 3.104 MB / 0.6471 GB, free: 18.11 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00542/1.271, allocations: 2.005 MB / 0.649 GB, free: 17.63 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007487/1.272, allocations: 140.7 kB / 0.6492 GB, free: 17.63 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04344/1.315, allocations: 14.43 MB / 0.6633 GB, free: 13.14 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002542/1.318, allocations: 0.9653 MB / 0.6642 GB, free: 12.49 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001524/1.319, allocations: 0.5106 MB / 0.6647 GB, free: 12.19 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02912/1.348, allocations: 7.714 MB / 0.6722 GB, free: 5.523 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/1.348, allocations: 6.188 kB / 0.6722 GB, free: 5.52 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.256e-06/1.348, allocations: 0 / 0.6722 GB, free: 5.52 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.000119/1.349, allocations: 0 / 0.6722 GB, free: 5.52 MB / 458.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.02723/1.376, allocations: 4.232 MB / 0.6764 GB, free: 1.473 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.071e-05/1.376, allocations: 14.44 kB / 0.6764 GB, free: 1.461 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001305/1.377, allocations: 292.8 kB / 0.6767 GB, free: 1.289 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002895/1.38, allocations: 282.6 kB / 0.6769 GB, free: 1.012 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006097/1.386, allocations: 1.462 MB / 0.6784 GB, free: 15.91 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002419/1.387, allocations: 143 kB / 0.6785 GB, free: 15.83 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007824/1.387, allocations: 188.4 kB / 0.6787 GB, free: 15.71 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01185/1.399, allocations: 3.144 MB / 0.6817 GB, free: 13.5 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.048e-05/1.399, allocations: 9.688 kB / 0.6818 GB, free: 13.49 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000573/1.4, allocations: 82.75 kB / 0.6818 GB, free: 13.47 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005433/1.401, allocations: 182.7 kB / 0.682 GB, free: 13.31 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01511/1.416, allocations: 3.546 MB / 0.6855 GB, free: 10.9 MB / 474.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.04107/1.457, allocations: 12.18 MB / 0.6974 GB, free: 0.7383 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01897/1.476, allocations: 1.654 MB / 0.699 GB, free: 15.64 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005826/1.482, allocations: 1.744 MB / 0.7007 GB, free: 13.66 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.971e-05/1.482, allocations: 53.61 kB / 0.7007 GB, free: 13.61 MB / 490.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003522/1.485, allocations: 298.4 kB / 0.701 GB, free: 13.36 MB / 490.7 MB Notification: Performance of pre-optimization done (n=157): time 7.403e-06/1.485, allocations: 0 / 0.701 GB, free: 13.36 MB / 490.7 MB Notification: Performance of matching and sorting (n=169): time 0.06375/1.549, allocations: 8.653 MB / 0.7095 GB, free: 6.711 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001565/1.549, allocations: 203.7 kB / 0.7097 GB, free: 6.473 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004436/1.554, allocations: 1.628 MB / 0.7113 GB, free: 5.273 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004851/1.554, allocations: 59.52 kB / 0.7113 GB, free: 5.234 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001284/1.556, allocations: 1.027 MB / 0.7123 GB, free: 4.539 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001066/1.557, allocations: 0.5881 MB / 0.7129 GB, free: 4.035 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003928/1.557, allocations: 51.5 kB / 0.7129 GB, free: 4.023 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002994/1.557, allocations: 397 kB / 0.7133 GB, free: 3.668 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005528/1.563, allocations: 1.209 MB / 0.7145 GB, free: 2.867 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006743/1.57, allocations: 1.774 MB / 0.7162 GB, free: 1.328 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0065/1.576, allocations: 1.504 MB / 0.7177 GB, free: 384 kB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.969e-05/1.576, allocations: 4 kB / 0.7177 GB, free: 380 kB / 490.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.02253/1.599, allocations: 4.063 MB / 0.7217 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.003635/1.602, allocations: 6.368 MB / 0.7279 GB, free: 6.859 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.531e-05/1.603, allocations: 16 kB / 0.7279 GB, free: 6.844 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01869/1.621, allocations: 1.343 MB / 0.7292 GB, free: 5.633 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006249/1.628, allocations: 0.5424 MB / 0.7297 GB, free: 5.141 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005578/1.633, allocations: 2.143 MB / 0.7318 GB, free: 3.309 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004261/1.637, allocations: 197.8 kB / 0.732 GB, free: 3.152 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005609/1.638, allocations: 184.9 kB / 0.7322 GB, free: 2.992 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/1.638, allocations: 4 kB / 0.7322 GB, free: 2.988 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01637/1.654, allocations: 3.825 MB / 0.7359 GB, free: 328 kB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.143e-05/1.655, allocations: 12 kB / 0.736 GB, free: 316 kB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009804/1.664, allocations: 0.9709 MB / 0.7369 GB, free: 15.43 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004399/1.669, allocations: 0.5484 MB / 0.7374 GB, free: 14.93 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0045/1.673, allocations: 1.924 MB / 0.7393 GB, free: 13.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004037/1.677, allocations: 193.6 kB / 0.7395 GB, free: 13.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005316/1.678, allocations: 173.5 kB / 0.7397 GB, free: 12.95 MB / 0.5105 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,5 14} Notification: Performance of prepare postOptimizeDAE: time 0.00178/1.68, allocations: 0.6512 MB / 0.7403 GB, free: 12.51 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005886/1.68, allocations: 201.6 kB / 0.7405 GB, free: 12.31 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01418/1.695, allocations: 4.074 MB / 0.7445 GB, free: 9.441 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.074e-05/1.695, allocations: 20 kB / 0.7445 GB, free: 9.422 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.729e-06/1.695, allocations: 1.203 kB / 0.7445 GB, free: 9.422 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.694e-05/1.695, allocations: 11.95 kB / 0.7445 GB, free: 9.41 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01586/1.711, allocations: 5.659 MB / 0.75 GB, free: 5.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.517e-05/1.711, allocations: 4 kB / 0.75 GB, free: 5.477 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002821/1.713, allocations: 339.2 kB / 0.7504 GB, free: 5.176 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01021/1.724, allocations: 1.186 MB / 0.7515 GB, free: 4.109 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002726/1.724, allocations: 72.39 kB / 0.7516 GB, free: 4.066 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004475/1.728, allocations: 2.043 MB / 0.7536 GB, free: 2.309 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.655e-06/1.728, allocations: 6.719 kB / 0.7536 GB, free: 2.305 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01374/1.742, allocations: 4.763 MB / 0.7582 GB, free: 14.83 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008991/1.743, allocations: 318.6 kB / 0.7585 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005545/1.744, allocations: 44.12 kB / 0.7586 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00284/1.747, allocations: 144.3 kB / 0.7587 GB, free: 14.4 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00051/1.747, allocations: 156.7 kB / 0.7589 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003795/1.747, allocations: 114.9 kB / 0.759 GB, free: 14.17 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002332/1.75, allocations: 1.103 MB / 0.7601 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.1e-07/1.75, allocations: 0 / 0.7601 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01017/1.76, allocations: 2.748 MB / 0.7627 GB, free: 10.85 MB / 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.02525/1.785, allocations: 8.77 MB / 0.7713 GB, free: 2.984 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0172/1.803, allocations: 4.898 MB / 0.7761 GB, free: 14.17 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.137e-05/1.803, allocations: 4 kB / 0.7761 GB, free: 14.17 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.004909/1.808, allocations: 1.395 MB / 0.7775 GB, free: 12.81 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007686/1.815, allocations: 1.017 MB / 0.7784 GB, free: 11.8 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2978/2.113, allocations: 18.18 MB / 0.7962 GB, free: 253.5 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00203/2.115, allocations: 1.721 MB / 0.7979 GB, free: 252.8 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.00854/2.124, allocations: 1.255 MB / 0.7991 GB, free: 252.7 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003007/2.127, allocations: 0.9382 MB / 0.8 GB, free: 252.7 MB / 0.5417 GB Notification: Performance of SimCode: time 1.533e-06/2.127, allocations: 0 / 0.8 GB, free: 252.7 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2253/2.352, allocations: 103 MB / 0.9006 GB, free: 171.5 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002424/2.353, allocations: 277.9 kB / 0.9008 GB, free: 171.1 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.146/9.499, allocations: 0 / 0.9008 GB, free: 171.1 MB / 0.5417 GB