Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes4.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.BranchingPipes4,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes4",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.01535/0.01536, allocations: 104.5 kB / 15.06 MB, free: 6.027 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.001754/0.001754, allocations: 171.7 kB / 15.94 MB, free: 5.961 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.709/1.709, allocations: 170.9 MB / 187.5 MB, free: 1.008 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.2475/0.2475, allocations: 38.1 MB / 265.1 MB, free: 3.969 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006215/0.0006217, allocations: 12 kB / 323.6 MB, free: 29.66 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09063/0.09131, allocations: 48.71 MB / 372.3 MB, free: 12.86 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes4): time 0.411/0.5024, allocations: 85.18 MB / 457.5 MB, free: 12.56 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.06058/0.563, allocations: 34.05 MB / 491.5 MB, free: 14.26 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003715/0.5668, allocations: 101.5 kB / 491.6 MB, free: 14.21 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005472/0.5723, allocations: 1.233 MB / 492.9 MB, free: 13.17 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02788/0.6002, allocations: 6.418 MB / 499.3 MB, free: 8.148 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.03123/0.6315, allocations: 7.512 MB / 0.4949 GB, free: 1.535 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.009105/0.6406, allocations: 3.74 MB / 0.4986 GB, free: 13.79 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003074/0.6437, allocations: 1.273 MB / 0.4998 GB, free: 12.49 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006893/0.6507, allocations: 2.162 MB / 0.5019 GB, free: 10.32 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.05214/0.7029, allocations: 18.24 MB / 0.5197 GB, free: 8.066 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009288/0.7038, allocations: 116 kB / 0.5198 GB, free: 7.953 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03055/0.7344, allocations: 9.977 MB / 0.5296 GB, free: 13.96 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001987/0.7365, allocations: 0.7518 MB / 0.5303 GB, free: 13.21 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001517/0.738, allocations: 0.5316 MB / 0.5308 GB, free: 12.67 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01737/0.7554, allocations: 6.517 MB / 0.5372 GB, free: 6.137 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.7555, allocations: 4 kB / 0.5372 GB, free: 6.133 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.186e-06/0.7555, allocations: 0 / 0.5372 GB, free: 6.133 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.000104/0.7556, allocations: 0 / 0.5372 GB, free: 6.133 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: 532 * Number of variables: 532 Notification: Performance of Generate backend data structure: time 0.01417/0.7698, allocations: 3.656 MB / 0.5408 GB, free: 2.402 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.227e-05/0.7699, allocations: 16.03 kB / 0.5408 GB, free: 2.387 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001074/0.771, allocations: 299.4 kB / 0.5411 GB, free: 2.082 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008601/0.7796, allocations: 0.8321 MB / 0.5419 GB, free: 1.246 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005248/0.7849, allocations: 1.582 MB / 0.5434 GB, free: 15.61 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003182/0.7853, allocations: 175.8 kB / 0.5436 GB, free: 15.44 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006833/0.786, allocations: 204 kB / 0.5438 GB, free: 15.24 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01283/0.7988, allocations: 3.569 MB / 0.5473 GB, free: 11.53 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.366e-05/0.799, allocations: 11.84 kB / 0.5473 GB, free: 11.52 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003913/0.7994, allocations: 83.97 kB / 0.5474 GB, free: 11.43 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004445/0.7998, allocations: 199.7 kB / 0.5476 GB, free: 11.24 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01397/0.8138, allocations: 3.407 MB / 0.5509 GB, free: 7.828 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.03146/0.8453, allocations: 15.26 MB / 0.5658 GB, free: 7.234 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009466/0.8548, allocations: 2.264 MB / 0.568 GB, free: 4.965 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3277/1.183, allocations: 19.07 MB / 0.5866 GB, free: 160.6 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007553/1.19, allocations: 1.649 MB / 0.5882 GB, free: 160.5 MB / 442.7 MB Notification: Performance of pre-optimization done (n=159): time 5.25e-06/1.19, allocations: 0 / 0.5882 GB, free: 160.5 MB / 442.7 MB Notification: Performance of matching and sorting (n=175): time 0.0423/1.233, allocations: 8.893 MB / 0.5969 GB, free: 158.1 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.633e-05/1.233, allocations: 176.5 kB / 0.5971 GB, free: 157.9 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003254/1.236, allocations: 1.594 MB / 0.5986 GB, free: 157.3 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004416/1.236, allocations: 59.3 kB / 0.5987 GB, free: 157.2 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001028/1.238, allocations: 1.015 MB / 0.5997 GB, free: 156.5 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000909/1.238, allocations: 0.5869 MB / 0.6003 GB, free: 156 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002175/1.239, allocations: 43.97 kB / 0.6003 GB, free: 156 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001552/1.239, allocations: 388.7 kB / 0.6007 GB, free: 155.6 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003615/1.242, allocations: 1.091 MB / 0.6017 GB, free: 155.3 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00391/1.246, allocations: 1.603 MB / 0.6033 GB, free: 154.3 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004043/1.251, allocations: 1.351 MB / 0.6046 GB, free: 153.8 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.886e-05/1.251, allocations: 4.562 kB / 0.6046 GB, free: 153.8 MB / 442.7 MB Notification: Performance of matching and sorting (n=268) (initialization): time 0.01026/1.261, allocations: 3.295 MB / 0.6079 GB, free: 152.5 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001197/1.262, allocations: 5.963 MB / 0.6137 GB, free: 146.1 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.17e-05/1.262, allocations: 19.12 kB / 0.6137 GB, free: 146.1 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001537/1.264, allocations: 259.2 kB / 0.6139 GB, free: 146 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00407/1.268, allocations: 0.5291 MB / 0.6145 GB, free: 145.9 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001754/1.27, allocations: 2.442 MB / 0.6168 GB, free: 143.7 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003806/1.273, allocations: 272.8 kB / 0.6171 GB, free: 143.6 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005037/1.274, allocations: 109.4 kB / 0.6172 GB, free: 143.5 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/1.274, allocations: 3.969 kB / 0.6172 GB, free: 143.5 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009695/1.284, allocations: 3.026 MB / 0.6202 GB, free: 142 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.985e-05/1.284, allocations: 14 kB / 0.6202 GB, free: 142 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001423/1.285, allocations: 259.5 kB / 0.6204 GB, free: 141.9 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004124/1.289, allocations: 0.5272 MB / 0.6209 GB, free: 141.8 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001771/1.291, allocations: 2.439 MB / 0.6233 GB, free: 139.4 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003739/1.295, allocations: 258.6 kB / 0.6236 GB, free: 139.3 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005434/1.296, allocations: 105 kB / 0.6237 GB, free: 139.3 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * Number of states: 0 () * Number of discrete variables: 28 (pipe3.state_a.phase,pipe2.state_a.phase,pipe1.state_b.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,splitter.medium.phase,pipe3.state_b.phase,pipe2.state_b.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (256): * Single equations (assignments): 250 * 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,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.00216/1.298, allocations: 0.7684 MB / 0.6244 GB, free: 138.7 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006663/1.299, allocations: 201 kB / 0.6246 GB, free: 138.6 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01648/1.315, allocations: 7.571 MB / 0.632 GB, free: 131.7 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.539e-05/1.315, allocations: 79.88 kB / 0.6321 GB, free: 131.6 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.246e-05/1.315, allocations: 0 / 0.6321 GB, free: 131.6 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.013/1.328, allocations: 6.602 MB / 0.6385 GB, free: 124.8 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02168/1.35, allocations: 10.71 MB / 0.649 GB, free: 114 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.976e-05/1.35, allocations: 1.531 kB / 0.649 GB, free: 114 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003161/1.353, allocations: 415.5 kB / 0.6494 GB, free: 113.6 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002321/1.356, allocations: 366 kB / 0.6497 GB, free: 113.2 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004267/1.356, allocations: 59.97 kB / 0.6498 GB, free: 113.1 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001642/1.358, allocations: 2.522 MB / 0.6523 GB, free: 110.5 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/1.358, allocations: 0 / 0.6523 GB, free: 110.5 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01548/1.373, allocations: 7.03 MB / 0.6591 GB, free: 103.4 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002012/1.375, allocations: 0.734 MB / 0.6598 GB, free: 102.6 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006451/1.376, allocations: 47.98 kB / 0.6599 GB, free: 102.5 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002912/1.379, allocations: 202.9 kB / 0.6601 GB, free: 102.4 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004954/1.379, allocations: 147.4 kB / 0.6602 GB, free: 102.2 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002237/1.38, allocations: 67.97 kB / 0.6603 GB, free: 102.1 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002233/1.382, allocations: 1.171 MB / 0.6614 GB, free: 101 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.11e-07/1.382, allocations: 0 / 0.6614 GB, free: 101 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.009555/1.392, allocations: 2.625 MB / 0.664 GB, free: 98.53 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (pipe1.mediums[1].p,pipe1.mediums[1].h,pipe2.mediums[1].p,pipe2.mediums[1].h,pipe3.mediums[1].p,pipe3.mediums[1].h,splitter.medium.p,splitter.medium.h) * Number of discrete variables: 54 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse16.phase,$cse16.region,$cse19.phase,$cse19.region,$cse21.region3boundary,$cse22.region3boundary,$cse23.phase,$cse23.region,$cse25.phase,$cse25.region,$cse26.region3boundary,$cse27.region3boundary,$cse28.phase,$cse28.region,$cse30.phase,$cse30.region,$cse31.region3boundary,$cse32.region3boundary,$cse33.phase,$cse33.region,$cse35.phase,$cse35.region,$cse40.phase,$cse40.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,splitter.medium.phase) * 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 (200): * Single equations (assignments): 171 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 23 * 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,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.02638/1.418, allocations: 9.639 MB / 0.6734 GB, free: 89.16 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01384/1.432, allocations: 5.193 MB / 0.6785 GB, free: 83.91 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.384e-06/1.432, allocations: 0 / 0.6785 GB, free: 83.91 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005355/1.437, allocations: 2.419 MB / 0.6808 GB, free: 81.46 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007987/1.445, allocations: 0.9598 MB / 0.6818 GB, free: 80.52 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02473/1.47, allocations: 21.06 MB / 0.7023 GB, free: 59.13 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002303/1.472, allocations: 2.276 MB / 0.7046 GB, free: 56.82 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.007083/1.48, allocations: 2.456 MB / 0.707 GB, free: 54.37 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002688/1.482, allocations: 1.319 MB / 0.7083 GB, free: 53.05 MB / 442.7 MB Notification: Performance of SimCode: time 1.353e-06/1.482, allocations: 0 / 0.7083 GB, free: 53.05 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.503/1.985, allocations: 110.6 MB / 0.8163 GB, free: 115.8 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002797/1.986, allocations: 253.9 kB / 0.8165 GB, free: 115.5 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.768/11.75, allocations: 3.938 kB / 0.8165 GB, free: 115.5 MB / 442.7 MB