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.TestMultiPortTraceSubstances.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.TestMultiPortTraceSubstances,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Fittings_TestMultiPortTraceSubstances",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.01145/0.01145, allocations: 103.7 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.001137/0.001137, allocations: 168.6 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.525/1.525, allocations: 170.9 MB / 187.6 MB, free: 1 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.2425/0.2425, allocations: 38.09 MB / 265.1 MB, free: 3.973 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006385/0.0006386, allocations: 12 kB / 323.6 MB, free: 29.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08715/0.08783, allocations: 48.72 MB / 372.3 MB, free: 12.86 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances): time 1.043/1.131, allocations: 255.2 MB / 0.6128 GB, free: 4.082 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.05753/1.188, allocations: 33.88 MB / 0.6459 GB, free: 3.629 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003901/1.192, allocations: 97.69 kB / 0.646 GB, free: 3.629 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004647/1.197, allocations: 1.047 MB / 0.647 GB, free: 3.625 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03305/1.23, allocations: 8.49 MB / 0.6553 GB, free: 2.566 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.02251/1.252, allocations: 5.954 MB / 0.6611 GB, free: 1.145 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.009426/1.262, allocations: 4.668 MB / 0.6656 GB, free: 364 kB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004807/1.267, allocations: 2.083 MB / 0.6677 GB, free: 15.55 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01506/1.282, allocations: 4.715 MB / 0.6723 GB, free: 14.66 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007325/1.289, allocations: 2.669 MB / 0.6749 GB, free: 14.01 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001753/1.291, allocations: 205.2 kB / 0.6751 GB, free: 13.84 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04553/1.337, allocations: 15.85 MB / 0.6906 GB, free: 1.75 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003602/1.34, allocations: 1.462 MB / 0.692 GB, free: 0.7422 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001847/1.342, allocations: 0.6914 MB / 0.6927 GB, free: 340 kB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02794/1.37, allocations: 9.429 MB / 0.7019 GB, free: 8.195 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/1.37, allocations: 0 / 0.7019 GB, free: 8.195 MB / 474.7 MB Notification: Performance of FrontEnd: time 4.628e-06/1.37, allocations: 0 / 0.7019 GB, free: 8.195 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001639/1.37, allocations: 2.531 kB / 0.7019 GB, free: 8.195 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 752 * Number of variables: 752 Notification: Performance of Generate backend data structure: time 0.02908/1.399, allocations: 5.424 MB / 0.7072 GB, free: 3.016 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.066e-05/1.399, allocations: 8.031 kB / 0.7072 GB, free: 3.008 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001865/1.401, allocations: 426.1 kB / 0.7076 GB, free: 2.766 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00245/1.404, allocations: 391.8 kB / 0.708 GB, free: 2.379 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008144/1.412, allocations: 1.897 MB / 0.7098 GB, free: 0.9609 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008672/1.413, allocations: 0.4979 MB / 0.7103 GB, free: 0.5078 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001585/1.415, allocations: 284.3 kB / 0.7106 GB, free: 328 kB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01952/1.434, allocations: 4.934 MB / 0.7154 GB, free: 12.64 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001472/1.434, allocations: 6.625 kB / 0.7154 GB, free: 12.63 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000856/1.435, allocations: 126.1 kB / 0.7155 GB, free: 12.6 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007861/1.436, allocations: 272.6 kB / 0.7158 GB, free: 12.36 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01891/1.455, allocations: 5.11 MB / 0.7208 GB, free: 8.879 MB / 490.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.0513/1.506, allocations: 21.14 MB / 0.7414 GB, free: 6.547 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008439/1.515, allocations: 2.625 MB / 0.744 GB, free: 4.844 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00439/1.519, allocations: 3.381 MB / 0.7473 GB, free: 0.9062 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.688e-05/1.519, allocations: 65.88 kB / 0.7473 GB, free: 0.8516 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=235): time 5.851e-06/1.519, allocations: 0 / 0.7473 GB, free: 0.8516 MB / 0.4948 GB Notification: Performance of matching and sorting (n=271): time 0.1062/1.626, allocations: 15.91 MB / 0.7629 GB, free: 1.504 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001576/1.626, allocations: 238.3 kB / 0.7631 GB, free: 1.223 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004784/1.631, allocations: 2.272 MB / 0.7653 GB, free: 14.93 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.00086/1.631, allocations: 77.7 kB / 0.7654 GB, free: 14.85 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.00167/1.633, allocations: 1.484 MB / 0.7668 GB, free: 13.37 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001805/1.635, allocations: 0.9537 MB / 0.7678 GB, free: 12.42 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005244/1.636, allocations: 88 kB / 0.7679 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0003838/1.636, allocations: 466.6 kB / 0.7683 GB, free: 11.87 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007556/1.643, allocations: 1.975 MB / 0.7702 GB, free: 9.887 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009171/1.653, allocations: 3.269 MB / 0.7734 GB, free: 6.039 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008917/1.662, allocations: 2.537 MB / 0.7759 GB, free: 3.5 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.855e-05/1.662, allocations: 12 kB / 0.7759 GB, free: 3.488 MB / 0.5261 GB Notification: Performance of matching and sorting (n=514) (initialization): time 0.02316/1.685, allocations: 6.185 MB / 0.782 GB, free: 13.47 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.2849/1.97, allocations: 16.61 MB / 0.7982 GB, free: 253.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001351/1.97, allocations: 40.94 kB / 0.7982 GB, free: 253.4 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008951/1.979, allocations: 0.9815 MB / 0.7992 GB, free: 253.3 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007439/1.986, allocations: 0.9341 MB / 0.8001 GB, free: 253.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007938/1.994, allocations: 2.79 MB / 0.8028 GB, free: 251.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006945/2.001, allocations: 381 kB / 0.8032 GB, free: 251.8 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001281/2.003, allocations: 285 kB / 0.8034 GB, free: 251.8 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/2.003, allocations: 8 kB / 0.8035 GB, free: 251.8 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02204/2.025, allocations: 5.839 MB / 0.8092 GB, free: 250.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001386/2.025, allocations: 39.88 kB / 0.8092 GB, free: 250.8 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008381/2.033, allocations: 0.9783 MB / 0.8102 GB, free: 250.6 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007177/2.041, allocations: 0.9262 MB / 0.8111 GB, free: 250.5 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007373/2.048, allocations: 2.788 MB / 0.8138 GB, free: 248.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006419/2.055, allocations: 375 kB / 0.8141 GB, free: 248.5 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001228/2.056, allocations: 281.4 kB / 0.8144 GB, free: 248.5 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 183 * Number of states: 0 () * Number of discrete variables: 22 (traceSubstance1.ind,traceSubstance2.ind,traceSubstance3.ind,traceSubstance.ind,volume1.regularFlow[1],volume1.regularFlow[2],volume1.regularFlow[3],volume2.regularFlow[1],volume2.regularFlow[2],volume2.regularFlow[3],volume3.regularFlow[1],volume3.regularFlow[2],volume3.regularFlow[3],volume3.inFlow[3],volume3.inFlow[2],volume3.inFlow[1],volume2.inFlow[3],volume2.inFlow[2],volume2.inFlow[1],volume1.inFlow[3],volume1.inFlow[2],volume1.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (493): * Single equations (assignments): 486 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 6,2 6,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.003002/2.059, allocations: 0.9859 MB / 0.8154 GB, free: 247.9 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000902/2.06, allocations: 286.7 kB / 0.8156 GB, free: 247.9 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02/2.08, allocations: 6.128 MB / 0.8216 GB, free: 245.8 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.501e-05/2.08, allocations: 38.75 kB / 0.8217 GB, free: 245.8 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.25e-05/2.08, allocations: 0 / 0.8217 GB, free: 245.8 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.519e-05/2.08, allocations: 21.25 kB / 0.8217 GB, free: 245.8 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02544/2.105, allocations: 8.875 MB / 0.8303 GB, free: 242.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.821e-05/2.106, allocations: 0.5312 kB / 0.8303 GB, free: 242.1 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004761/2.11, allocations: 0.5673 MB / 0.8309 GB, free: 242 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01016/2.12, allocations: 1.167 MB / 0.832 GB, free: 241.5 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007743/2.121, allocations: 118.6 kB / 0.8322 GB, free: 241.4 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006441/2.128, allocations: 2.665 MB / 0.8348 GB, free: 239.4 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/2.128, allocations: 0 / 0.8348 GB, free: 239.4 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02275/2.151, allocations: 7.41 MB / 0.842 GB, free: 235.3 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002998/2.154, allocations: 0.8912 MB / 0.8429 GB, free: 234.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001156/2.155, allocations: 71.98 kB / 0.8429 GB, free: 234.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004968/2.16, allocations: 271.6 kB / 0.8432 GB, free: 234 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008487/2.161, allocations: 226.1 kB / 0.8434 GB, free: 233.8 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005719/2.161, allocations: 180.5 kB / 0.8436 GB, free: 233.7 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.002835/2.164, allocations: 1.474 MB / 0.845 GB, free: 232.2 MB / 0.5417 GB Notification: Performance of sort global known variables: time 6.01e-07/2.164, allocations: 3.938 kB / 0.845 GB, free: 232.2 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01392/2.178, allocations: 3.733 MB / 0.8487 GB, free: 228.8 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 12 (volume1.medium.p,volume1.medium.Xi[1],volume1.medium.T,volume1.mC_scaled[1],volume2.medium.p,volume2.medium.Xi[1],volume2.medium.T,volume2.mC_scaled[1],volume3.medium.p,volume3.medium.Xi[1],volume3.medium.T,volume3.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 (297): * Single equations (assignments): 285 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 6,2 6,2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.03503/2.213, allocations: 11.42 MB / 0.8598 GB, free: 217.8 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0247/2.238, allocations: 8.321 MB / 0.868 GB, free: 209.4 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.359e-05/2.238, allocations: 4.562 kB / 0.868 GB, free: 209.4 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.00745/2.245, allocations: 2.401 MB / 0.8703 GB, free: 207 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009699/2.255, allocations: 1.209 MB / 0.8715 GB, free: 205.8 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03623/2.291, allocations: 40.28 MB / 0.9108 GB, free: 164.2 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002071/2.294, allocations: 2.299 MB / 0.9131 GB, free: 161.9 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.01203/2.306, allocations: 2.281 MB / 0.9153 GB, free: 159.6 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003399/2.309, allocations: 1.417 MB / 0.9167 GB, free: 158.2 MB / 0.5417 GB Notification: Performance of SimCode: time 1.042e-06/2.309, allocations: 0 / 0.9167 GB, free: 158.2 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2874/2.597, allocations: 142.1 MB / 1.055 GB, free: 16.01 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002504/2.597, allocations: 294.9 kB / 1.056 GB, free: 15.64 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.298/11.89, allocations: 0 / 1.056 GB, free: 15.64 MB / 0.5417 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances_res.mat does not exist to compare? outputFormat=mat