Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes13.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.TestPipesAndValves.BranchingPipes13,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes13",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.0125/0.0125, allocations: 106 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.1.mo): time 0.001218/0.001218, allocations: 166.5 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.938/1.938, allocations: 170.9 MB / 187.5 MB, free: 0.8516 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.2692/0.2692, allocations: 38.1 MB / 265.1 MB, free: 3.941 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006527/0.0006532, allocations: 12 kB / 323.6 MB, free: 29.63 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09737/0.09808, allocations: 48.71 MB / 372.3 MB, free: 12.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes13): time 0.4326/0.5307, allocations: 82.69 MB / 455 MB, free: 12.73 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.05771/0.5885, allocations: 32.52 MB / 487.5 MB, free: 1.469 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003561/0.5921, allocations: 95.41 kB / 487.6 MB, free: 1.422 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004889/0.597, allocations: 1.167 MB / 488.8 MB, free: 484 kB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02676/0.6239, allocations: 6.154 MB / 494.9 MB, free: 11.66 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.02944/0.6533, allocations: 7.166 MB / 0.4903 GB, free: 6.168 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.008533/0.6619, allocations: 3.434 MB / 0.4937 GB, free: 2.73 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003084/0.665, allocations: 1.208 MB / 0.4948 GB, free: 1.5 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006695/0.6718, allocations: 1.982 MB / 0.4968 GB, free: 15.51 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.05348/0.7253, allocations: 18.13 MB / 0.5145 GB, free: 13.37 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009239/0.7263, allocations: 108 kB / 0.5146 GB, free: 13.27 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03069/0.757, allocations: 9.84 MB / 0.5242 GB, free: 3.414 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001894/0.759, allocations: 0.6855 MB / 0.5249 GB, free: 2.727 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001437/0.7605, allocations: 492.5 kB / 0.5253 GB, free: 2.238 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.018/0.7785, allocations: 6.205 MB / 0.5314 GB, free: 12.02 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.7786, allocations: 0 / 0.5314 GB, free: 12.02 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.316e-06/0.7786, allocations: 0 / 0.5314 GB, free: 12.02 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001241/0.7787, allocations: 4 kB / 0.5314 GB, free: 12.01 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 472 * Number of variables: 472 Notification: Performance of Generate backend data structure: time 0.01393/0.7927, allocations: 3.406 MB / 0.5347 GB, free: 8.535 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.674e-05/0.7927, allocations: 12.03 kB / 0.5347 GB, free: 8.523 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001093/0.7938, allocations: 269.9 kB / 0.535 GB, free: 8.25 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008022/0.8019, allocations: 0.7582 MB / 0.5357 GB, free: 7.488 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00501/0.807, allocations: 1.484 MB / 0.5372 GB, free: 5.949 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002905/0.8073, allocations: 163.5 kB / 0.5373 GB, free: 5.789 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006636/0.808, allocations: 176 kB / 0.5375 GB, free: 5.617 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01237/0.8204, allocations: 3.192 MB / 0.5406 GB, free: 2.309 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001031/0.8205, allocations: 11.84 kB / 0.5406 GB, free: 2.297 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005625/0.8211, allocations: 75.97 kB / 0.5407 GB, free: 2.223 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004396/0.8216, allocations: 167.3 kB / 0.5409 GB, free: 2.059 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01273/0.8343, allocations: 2.999 MB / 0.5438 GB, free: 15.05 MB / 410.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.03193/0.8663, allocations: 13.93 MB / 0.5574 GB, free: 15.91 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008474/0.8748, allocations: 2.013 MB / 0.5594 GB, free: 13.89 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0664/0.9413, allocations: 19.09 MB / 0.578 GB, free: 8.469 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006577/0.9479, allocations: 1.514 MB / 0.5795 GB, free: 6.93 MB / 442.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001698/0.9497, allocations: 154.5 kB / 0.5796 GB, free: 6.777 MB / 442.7 MB Notification: Performance of pre-optimization done (n=142): time 9.067e-06/0.9497, allocations: 0 / 0.5796 GB, free: 6.777 MB / 442.7 MB Notification: Performance of matching and sorting (n=154): time 0.3219/1.272, allocations: 8.113 MB / 0.5876 GB, free: 161.3 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001037/1.272, allocations: 180.8 kB / 0.5877 GB, free: 161.1 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003716/1.276, allocations: 1.489 MB / 0.5892 GB, free: 160.9 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004059/1.276, allocations: 50.77 kB / 0.5892 GB, free: 160.9 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00113/1.277, allocations: 0.928 MB / 0.5901 GB, free: 160.2 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009472/1.278, allocations: 0.5204 MB / 0.5906 GB, free: 159.8 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002272/1.278, allocations: 36.03 kB / 0.5907 GB, free: 159.8 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000188/1.279, allocations: 376.2 kB / 0.591 GB, free: 159.5 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003612/1.282, allocations: 0.9953 MB / 0.592 GB, free: 159.2 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004031/1.286, allocations: 1.432 MB / 0.5934 GB, free: 158.3 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00403/1.29, allocations: 1.244 MB / 0.5946 GB, free: 157.8 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.558e-05/1.29, allocations: 3.562 kB / 0.5946 GB, free: 157.8 MB / 442.7 MB Notification: Performance of matching and sorting (n=235) (initialization): time 0.0135/1.304, allocations: 3.203 MB / 0.5978 GB, free: 156.6 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001215/1.305, allocations: 5.144 MB / 0.6028 GB, free: 151.1 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-05/1.305, allocations: 12.84 kB / 0.6028 GB, free: 151.1 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005318/1.311, allocations: 0.6192 MB / 0.6034 GB, free: 151 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003681/1.314, allocations: 457.5 kB / 0.6038 GB, free: 150.9 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00299/1.317, allocations: 2.806 MB / 0.6066 GB, free: 148.6 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003659/1.321, allocations: 229 kB / 0.6068 GB, free: 148.5 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000596/1.322, allocations: 96.02 kB / 0.6069 GB, free: 148.5 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/1.322, allocations: 6.344 kB / 0.6069 GB, free: 148.5 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008999/1.331, allocations: 2.763 MB / 0.6096 GB, free: 147.5 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.301e-05/1.331, allocations: 15.56 kB / 0.6096 GB, free: 147.5 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001177/1.332, allocations: 208.7 kB / 0.6098 GB, free: 147.4 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003845/1.336, allocations: 472.4 kB / 0.6103 GB, free: 147.4 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001471/1.338, allocations: 1.884 MB / 0.6121 GB, free: 145.7 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00344/1.341, allocations: 228.3 kB / 0.6123 GB, free: 145.6 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005713/1.342, allocations: 96.11 kB / 0.6124 GB, free: 145.6 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 27 (pipe3.state_a.phase,pipe2.state_a.phase,pipe1.state_a.phase,valveIncompressible1.state_b.phase,valveIncompressible1.state_a.phase,valveIncompressible.state_b.phase,valveIncompressible.state_a.phase,$whenCondition1,$whenCondition2,source.medium.phase,pipe1.statesFM[2].phase,sink.medium.phase,pipe2.statesFM[2].phase,pipe3.statesFM[2].phase,valveOpening1.a,valveOpening1.b,valveOpening1.last,$PRE.valveOpening1.nextEvent,valveOpening1.nextEvent,valveOpening2.a,valveOpening2.b,valveOpening2.last,$PRE.valveOpening2.nextEvent,valveOpening2.nextEvent,pipe3.state_b.phase,pipe2.state_b.phase,pipe1.state_b.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (214): * Single equations (assignments): 208 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 1,1 1,1 1,2 9} Notification: Performance of prepare postOptimizeDAE: time 0.001961/1.344, allocations: 0.7091 MB / 0.6131 GB, free: 145.1 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006277/1.344, allocations: 188.2 kB / 0.6133 GB, free: 145.1 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01523/1.36, allocations: 7.414 MB / 0.6205 GB, free: 141.5 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.207e-05/1.36, allocations: 84.75 kB / 0.6206 GB, free: 141.5 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-05/1.36, allocations: 0 / 0.6206 GB, free: 141.5 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01189/1.372, allocations: 6.504 MB / 0.6269 GB, free: 137.7 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01982/1.392, allocations: 10.21 MB / 0.6369 GB, free: 127.4 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.831e-05/1.392, allocations: 0 / 0.6369 GB, free: 127.4 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002592/1.394, allocations: 332.1 kB / 0.6372 GB, free: 127.1 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004964/1.399, allocations: 1.352 MB / 0.6386 GB, free: 125.8 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003908/1.4, allocations: 55.97 kB / 0.6386 GB, free: 125.7 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003297/1.403, allocations: 3.445 MB / 0.642 GB, free: 122.2 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/1.403, allocations: 3.953 kB / 0.642 GB, free: 122.2 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01419/1.417, allocations: 7.133 MB / 0.6489 GB, free: 115 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001839/1.419, allocations: 0.6874 MB / 0.6496 GB, free: 114.3 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005543/1.42, allocations: 43.95 kB / 0.6497 GB, free: 114.2 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00276/1.422, allocations: 176.8 kB / 0.6498 GB, free: 114 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005901/1.423, allocations: 135.7 kB / 0.65 GB, free: 113.9 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002125/1.423, allocations: 56.86 kB / 0.65 GB, free: 113.9 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002186/1.426, allocations: 1.102 MB / 0.6511 GB, free: 112.7 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.22e-07/1.426, allocations: 0 / 0.6511 GB, free: 112.7 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.009331/1.435, allocations: 2.489 MB / 0.6535 GB, free: 110.4 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (pipe1.mediums[1].p,pipe1.mediums[1].h,pipe2.mediums[1].p,pipe2.mediums[1].h,pipe3.mediums[1].p,pipe3.mediums[1].h) * Number of discrete variables: 53 ($cse6.phase,$cse6.region,$cse8.region3boundary,$cse9.region3boundary,$cse10.phase,$cse10.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse18.phase,$cse18.region,$cse21.phase,$cse21.region,$cse23.region3boundary,$cse24.region3boundary,$cse25.phase,$cse25.region,$cse27.phase,$cse27.region,$cse28.phase,$cse28.region,$cse29.region3boundary,$cse30.region3boundary,$cse31.phase,$cse31.region,$cse33.phase,$cse33.region,$cse34.phase,$cse34.region,$cse36.phase,$cse36.region,$cse41.phase,$cse41.region,$whenCondition1,$whenCondition2,source.medium.phase,pipe1.statesFM[2].phase,sink.medium.phase,pipe2.statesFM[2].phase,pipe3.statesFM[2].phase,valveOpening1.a,valveOpening1.b,valveOpening1.last,valveOpening1.nextEvent,valveOpening2.a,valveOpening2.b,valveOpening2.last,valveOpening2.nextEvent) * Number of discrete states: 10 (valveOpening2.last,valveOpening2.nextEvent,valveOpening2.b,valveOpening2.a,$whenCondition2,valveOpening1.last,valveOpening1.nextEvent,valveOpening1.b,valveOpening1.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (164): * Single equations (assignments): 138 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 20 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 1,1 1,1 1,2 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.03634/1.471, allocations: 9.204 MB / 0.6625 GB, free: 101.6 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01923/1.491, allocations: 4.744 MB / 0.6671 GB, free: 96.81 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.255e-05/1.491, allocations: 0 / 0.6671 GB, free: 96.81 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006066/1.497, allocations: 2.249 MB / 0.6693 GB, free: 94.54 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007468/1.504, allocations: 0.8898 MB / 0.6702 GB, free: 93.67 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02366/1.528, allocations: 18.88 MB / 0.6886 GB, free: 74.53 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002176/1.53, allocations: 2.177 MB / 0.6908 GB, free: 72.32 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.006331/1.537, allocations: 2.183 MB / 0.6929 GB, free: 70.13 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002425/1.539, allocations: 1.206 MB / 0.6941 GB, free: 68.93 MB / 442.7 MB Notification: Performance of SimCode: time 1.603e-06/1.539, allocations: 0 / 0.6941 GB, free: 68.93 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6914/2.231, allocations: 106.4 MB / 0.7979 GB, free: 136.7 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002848/2.231, allocations: 266.8 kB / 0.7982 GB, free: 136.3 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.97/12.2, allocations: 0 / 0.7982 GB, free: 136.3 MB / 442.7 MB