Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.963/1.963, allocations: 209.2 MB / 224.8 MB, free: 0.625 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004429/0.0004433, allocations: 16 kB / 282.6 MB, free: 9.594 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3545/0.355, allocations: 48.7 MB / 331.3 MB, free: 6.504 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances): time 0.7469/1.102, allocations: 242.8 MB / 0.5607 GB, free: 8.074 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.05423/1.156, allocations: 26.52 MB / 0.5866 GB, free: 15.15 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002956/1.159, allocations: 75.56 kB / 0.5866 GB, free: 15.12 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004311/1.164, allocations: 0.8454 MB / 0.5875 GB, free: 14.38 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02683/1.19, allocations: 6.081 MB / 0.5934 GB, free: 8.277 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.02471/1.215, allocations: 5.939 MB / 0.5992 GB, free: 2.324 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.008777/1.224, allocations: 3.695 MB / 0.6028 GB, free: 14.62 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004258/1.228, allocations: 1.638 MB / 0.6044 GB, free: 12.95 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01103/1.239, allocations: 3.113 MB / 0.6075 GB, free: 9.832 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005831/1.245, allocations: 2.045 MB / 0.6095 GB, free: 7.781 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001275/1.247, allocations: 140 kB / 0.6096 GB, free: 7.645 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0412/1.288, allocations: 14.46 MB / 0.6237 GB, free: 9.168 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002491/1.29, allocations: 0.9664 MB / 0.6246 GB, free: 8.199 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001611/1.292, allocations: 0.5083 MB / 0.6251 GB, free: 7.684 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02346/1.316, allocations: 7.707 MB / 0.6327 GB, free: 15.96 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/1.316, allocations: 0 / 0.6327 GB, free: 15.96 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.214e-06/1.316, allocations: 0 / 0.6327 GB, free: 15.96 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001525/1.316, allocations: 0 / 0.6327 GB, free: 15.96 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.0175/1.333, allocations: 4.248 MB / 0.6368 GB, free: 11.64 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.281e-05/1.333, allocations: 8.031 kB / 0.6368 GB, free: 11.63 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001213/1.335, allocations: 286.6 kB / 0.6371 GB, free: 11.34 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001621/1.336, allocations: 280.9 kB / 0.6374 GB, free: 11.07 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004721/1.341, allocations: 1.46 MB / 0.6388 GB, free: 9.551 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002447/1.341, allocations: 147.5 kB / 0.6389 GB, free: 9.406 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008374/1.342, allocations: 191.8 kB / 0.6391 GB, free: 9.219 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0099/1.352, allocations: 3.154 MB / 0.6422 GB, free: 6.016 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.074e-05/1.352, allocations: 0 / 0.6422 GB, free: 6.016 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004706/1.353, allocations: 79.97 kB / 0.6423 GB, free: 5.938 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003954/1.353, allocations: 183.7 kB / 0.6424 GB, free: 5.758 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01155/1.365, allocations: 3.56 MB / 0.6459 GB, free: 2.195 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.3089/1.674, allocations: 12.17 MB / 0.6578 GB, free: 202.1 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005569/1.679, allocations: 1.653 MB / 0.6594 GB, free: 201.5 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001989/1.681, allocations: 1.751 MB / 0.6611 GB, free: 199.8 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.228e-05/1.681, allocations: 53.34 kB / 0.6612 GB, free: 199.7 MB / 490.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003164/1.685, allocations: 309.2 kB / 0.6615 GB, free: 199.6 MB / 490.7 MB Notification: Performance of pre-optimization done (n=157): time 1.117e-05/1.685, allocations: 6.609 kB / 0.6615 GB, free: 199.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=169): time 0.05584/1.74, allocations: 8.65 MB / 0.6699 GB, free: 195.8 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.253e-05/1.741, allocations: 201.8 kB / 0.6701 GB, free: 195.6 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00304/1.744, allocations: 1.631 MB / 0.6717 GB, free: 194.7 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006188/1.744, allocations: 57.64 kB / 0.6718 GB, free: 194.6 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007212/1.745, allocations: 0.9831 MB / 0.6727 GB, free: 193.8 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009497/1.746, allocations: 0.5939 MB / 0.6733 GB, free: 193.2 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003548/1.746, allocations: 43.88 kB / 0.6734 GB, free: 193.2 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000173/1.747, allocations: 407.3 kB / 0.6737 GB, free: 192.8 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004091/1.751, allocations: 1.208 MB / 0.6749 GB, free: 192.2 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004644/1.755, allocations: 1.785 MB / 0.6767 GB, free: 190.9 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004848/1.76, allocations: 1.502 MB / 0.6781 GB, free: 190.1 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-05/1.76, allocations: 3.938 kB / 0.6781 GB, free: 190.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.01637/1.777, allocations: 3.96 MB / 0.682 GB, free: 188.2 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003761/1.777, allocations: 0.6091 MB / 0.6826 GB, free: 187.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.829e-05/1.777, allocations: 20.98 kB / 0.6826 GB, free: 187.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01353/1.791, allocations: 1.325 MB / 0.6839 GB, free: 186.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004625/1.795, allocations: 0.5498 MB / 0.6844 GB, free: 186.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005225/1.801, allocations: 2.139 MB / 0.6865 GB, free: 185 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004805/1.806, allocations: 200.9 kB / 0.6867 GB, free: 184.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009615/1.807, allocations: 177.8 kB / 0.6869 GB, free: 184.9 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/1.807, allocations: 4.531 kB / 0.6869 GB, free: 184.9 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01732/1.824, allocations: 3.83 MB / 0.6906 GB, free: 182.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.933e-05/1.824, allocations: 16 kB / 0.6907 GB, free: 182.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009611/1.834, allocations: 0.9601 MB / 0.6916 GB, free: 181.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00455/1.838, allocations: 0.55 MB / 0.6921 GB, free: 181.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004107/1.842, allocations: 1.914 MB / 0.694 GB, free: 179.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003831/1.846, allocations: 187.8 kB / 0.6942 GB, free: 179.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007367/1.847, allocations: 176.5 kB / 0.6943 GB, free: 179 MB / 490.7 MB 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.002025/1.849, allocations: 0.6504 MB / 0.695 GB, free: 178.3 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006903/1.85, allocations: 197.6 kB / 0.6952 GB, free: 178.1 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01407/1.864, allocations: 4.061 MB / 0.6991 GB, free: 174.1 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.56e-05/1.864, allocations: 23.98 kB / 0.6992 GB, free: 174 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.105e-05/1.864, allocations: 0 / 0.6992 GB, free: 174 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.026e-05/1.864, allocations: 11.92 kB / 0.6992 GB, free: 174 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01694/1.881, allocations: 5.673 MB / 0.7047 GB, free: 168.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.213e-05/1.881, allocations: 8.031 kB / 0.7047 GB, free: 168.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003081/1.884, allocations: 335.5 kB / 0.705 GB, free: 168 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01008/1.894, allocations: 1.18 MB / 0.7062 GB, free: 166.8 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005703/1.895, allocations: 71.95 kB / 0.7063 GB, free: 166.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003999/1.899, allocations: 2.051 MB / 0.7083 GB, free: 164.6 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.011e-06/1.899, allocations: 4 kB / 0.7083 GB, free: 164.6 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.013/1.912, allocations: 4.505 MB / 0.7127 GB, free: 160 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009527/1.913, allocations: 318.4 kB / 0.713 GB, free: 159.7 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008127/1.914, allocations: 40 kB / 0.713 GB, free: 159.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003078/1.917, allocations: 151.7 kB / 0.7132 GB, free: 159.5 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004312/1.917, allocations: 149.7 kB / 0.7133 GB, free: 159.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003454/1.918, allocations: 123.9 kB / 0.7134 GB, free: 159.2 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002143/1.92, allocations: 1.106 MB / 0.7145 GB, free: 158.1 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.11e-07/1.92, allocations: 0 / 0.7145 GB, free: 158.1 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00962/1.93, allocations: 2.747 MB / 0.7172 GB, free: 155.7 MB / 490.7 MB 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.02256/1.952, allocations: 7.47 MB / 0.7245 GB, free: 148.5 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01551/1.968, allocations: 4.887 MB / 0.7292 GB, free: 143.6 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.29e-05/1.968, allocations: 4 kB / 0.7292 GB, free: 143.6 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004618/1.972, allocations: 1.397 MB / 0.7306 GB, free: 142.2 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008209/1.981, allocations: 1.019 MB / 0.7316 GB, free: 141.2 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0181/1.999, allocations: 7.885 MB / 0.7393 GB, free: 132.9 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001407/2, allocations: 1.716 MB / 0.741 GB, free: 131.1 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003138/2.003, allocations: 0.9873 MB / 0.7419 GB, free: 130.1 MB / 490.7 MB Notification: Performance of SimCode: time 1.773e-06/2.003, allocations: 0 / 0.7419 GB, free: 130.1 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.794/6.798, allocations: 90.93 MB / 0.8308 GB, free: 39.08 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances_res.mat does not exist to compare? outputFormat=mat