Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.198/2.198, allocations: 234.9 MB / 250.5 MB, free: 9.562 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004329/0.0004331, allocations: 12 kB / 314.4 MB, free: 9.516 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.349/0.3495, allocations: 54.86 MB / 369.3 MB, free: 12.76 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances): time 0.7422/1.092, allocations: 243.2 MB / 0.5981 GB, free: 7.332 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.05401/1.146, allocations: 26.63 MB / 0.6242 GB, free: 14.28 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00294/1.149, allocations: 75.38 kB / 0.6242 GB, free: 14.2 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004114/1.153, allocations: 0.8631 MB / 0.6251 GB, free: 13.34 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02533/1.178, allocations: 6.097 MB / 0.631 GB, free: 7.223 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.02362/1.202, allocations: 5.943 MB / 0.6368 GB, free: 1.266 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.008685/1.211, allocations: 3.711 MB / 0.6404 GB, free: 13.55 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004052/1.215, allocations: 1.631 MB / 0.642 GB, free: 11.89 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01116/1.226, allocations: 3.136 MB / 0.6451 GB, free: 8.746 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005683/1.232, allocations: 2.057 MB / 0.6471 GB, free: 6.684 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009846/1.233, allocations: 140 kB / 0.6472 GB, free: 6.547 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04002/1.273, allocations: 14.61 MB / 0.6615 GB, free: 7.926 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.002335/1.275, allocations: 0.9742 MB / 0.6625 GB, free: 6.949 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.001256/1.276, allocations: 0.5083 MB / 0.663 GB, free: 6.434 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0228/1.299, allocations: 7.718 MB / 0.6705 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/1.299, allocations: 0 / 0.6705 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.276e-06/1.299, allocations: 0 / 0.6705 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001113/1.299, allocations: 0 / 0.6705 GB, free: 14.7 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.01705/1.317, allocations: 4.248 MB / 0.6746 GB, free: 10.38 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.085e-05/1.317, allocations: 8.031 kB / 0.6747 GB, free: 10.37 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001109/1.318, allocations: 282.6 kB / 0.6749 GB, free: 10.09 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001364/1.319, allocations: 288.8 kB / 0.6752 GB, free: 9.801 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004452/1.324, allocations: 1.456 MB / 0.6766 GB, free: 8.289 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002344/1.324, allocations: 147.5 kB / 0.6768 GB, free: 8.145 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006529/1.325, allocations: 184 kB / 0.6769 GB, free: 7.965 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009359/1.334, allocations: 3.158 MB / 0.68 GB, free: 4.758 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.985e-05/1.334, allocations: 4 kB / 0.68 GB, free: 4.754 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004309/1.334, allocations: 79.95 kB / 0.6801 GB, free: 4.676 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003908/1.335, allocations: 191.7 kB / 0.6803 GB, free: 4.488 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01056/1.345, allocations: 3.544 MB / 0.6837 GB, free: 0.9414 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.03555/1.381, allocations: 12.57 MB / 0.696 GB, free: 3.484 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005369/1.386, allocations: 1.659 MB / 0.6976 GB, free: 1.816 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3017/1.688, allocations: 1.739 MB / 0.6993 GB, free: 228 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.621e-05/1.688, allocations: 53.52 kB / 0.6994 GB, free: 228 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003016/1.691, allocations: 308 kB / 0.6997 GB, free: 228 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=157): time 9.287e-06/1.691, allocations: 0.5 kB / 0.6997 GB, free: 228 MB / 0.5261 GB Notification: Performance of matching and sorting (n=169): time 0.04729/1.739, allocations: 8.654 MB / 0.7081 GB, free: 226 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.89e-05/1.739, allocations: 202.6 kB / 0.7083 GB, free: 225.7 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002939/1.742, allocations: 1.63 MB / 0.7099 GB, free: 225.1 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0005952/1.742, allocations: 61.33 kB / 0.71 GB, free: 225.1 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006868/1.743, allocations: 0.9838 MB / 0.7109 GB, free: 224.2 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008187/1.744, allocations: 0.5917 MB / 0.7115 GB, free: 223.8 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003066/1.744, allocations: 51.78 kB / 0.7116 GB, free: 223.7 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001454/1.744, allocations: 400.8 kB / 0.7119 GB, free: 223.4 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003866/1.748, allocations: 1.208 MB / 0.7131 GB, free: 223 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004417/1.753, allocations: 1.785 MB / 0.7149 GB, free: 221.9 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004594/1.757, allocations: 1.502 MB / 0.7163 GB, free: 221.2 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.946e-05/1.757, allocations: 3.875 kB / 0.7163 GB, free: 221.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=301) (initialization): time 0.0158/1.773, allocations: 3.962 MB / 0.7202 GB, free: 219.7 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003754/1.774, allocations: 0.6062 MB / 0.7208 GB, free: 218.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.843e-05/1.774, allocations: 17.28 kB / 0.7208 GB, free: 218.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0135/1.787, allocations: 1.331 MB / 0.7221 GB, free: 218.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00449/1.792, allocations: 0.5488 MB / 0.7227 GB, free: 218.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00494/1.797, allocations: 2.134 MB / 0.7247 GB, free: 216.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004481/1.801, allocations: 201.9 kB / 0.7249 GB, free: 216.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006185/1.802, allocations: 178.3 kB / 0.7251 GB, free: 216.5 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/1.802, allocations: 3.469 kB / 0.7251 GB, free: 216.5 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.016/1.818, allocations: 3.828 MB / 0.7288 GB, free: 213.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.942e-05/1.818, allocations: 16 kB / 0.7289 GB, free: 213.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009711/1.828, allocations: 0.971 MB / 0.7298 GB, free: 212.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004512/1.832, allocations: 0.5499 MB / 0.7303 GB, free: 211.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004396/1.837, allocations: 1.912 MB / 0.7322 GB, free: 209.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003669/1.841, allocations: 191.7 kB / 0.7324 GB, free: 209.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004877/1.841, allocations: 179.9 kB / 0.7326 GB, free: 209.3 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.001749/1.843, allocations: 0.6448 MB / 0.7332 GB, free: 208.6 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006492/1.844, allocations: 212.6 kB / 0.7334 GB, free: 208.4 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01283/1.856, allocations: 4.056 MB / 0.7374 GB, free: 204.3 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.026e-05/1.856, allocations: 20 kB / 0.7374 GB, free: 204.3 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.019e-05/1.856, allocations: 0 / 0.7374 GB, free: 204.3 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.699e-05/1.857, allocations: 7.969 kB / 0.7374 GB, free: 204.3 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01509/1.872, allocations: 5.675 MB / 0.7429 GB, free: 198.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.525e-05/1.872, allocations: 4 kB / 0.7429 GB, free: 198.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002859/1.875, allocations: 331.5 kB / 0.7432 GB, free: 198.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009963/1.885, allocations: 1.187 MB / 0.7444 GB, free: 197 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005049/1.885, allocations: 75.94 kB / 0.7445 GB, free: 197 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003958/1.889, allocations: 2.049 MB / 0.7465 GB, free: 194.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.612e-06/1.889, allocations: 4 kB / 0.7465 GB, free: 194.9 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01251/1.902, allocations: 4.51 MB / 0.7509 GB, free: 190.3 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009169/1.903, allocations: 310.4 kB / 0.7512 GB, free: 190 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006302/1.903, allocations: 47.98 kB / 0.7512 GB, free: 189.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002839/1.906, allocations: 146.5 kB / 0.7514 GB, free: 189.8 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004002/1.906, allocations: 149.7 kB / 0.7515 GB, free: 189.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003208/1.907, allocations: 119.9 kB / 0.7516 GB, free: 189.5 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002002/1.909, allocations: 1.102 MB / 0.7527 GB, free: 188.4 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.41e-07/1.909, allocations: 0 / 0.7527 GB, free: 188.4 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.008993/1.918, allocations: 2.752 MB / 0.7554 GB, free: 186 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.02216/1.94, allocations: 7.471 MB / 0.7627 GB, free: 178.8 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01555/1.956, allocations: 4.882 MB / 0.7675 GB, free: 173.9 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.254e-05/1.956, allocations: 4 kB / 0.7675 GB, free: 173.9 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004473/1.96, allocations: 1.405 MB / 0.7688 GB, free: 172.5 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008101/1.968, allocations: 1.015 MB / 0.7698 GB, free: 171.5 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01765/1.986, allocations: 7.861 MB / 0.7775 GB, free: 163.2 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001371/1.987, allocations: 1.716 MB / 0.7792 GB, free: 161.5 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002991/1.99, allocations: 0.9834 MB / 0.7801 GB, free: 160.5 MB / 0.5261 GB Notification: Performance of SimCode: time 2.305e-06/1.991, allocations: 4 kB / 0.7801 GB, free: 160.5 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.464/6.454, allocations: 90.92 MB / 0.8689 GB, free: 69.39 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances_res.mat does not exist to compare? outputFormat=mat