Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes14.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.BranchingPipes14,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes14",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.01108/0.01108, 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.001149/0.001148, allocations: 166.4 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.702/1.702, allocations: 170.9 MB / 187.5 MB, free: 0.8555 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.2619/0.2619, allocations: 38.1 MB / 265.1 MB, free: 3.949 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004709/0.0004709, allocations: 8 kB / 323.6 MB, free: 29.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09637/0.09687, allocations: 48.71 MB / 372.3 MB, free: 12.85 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes14): time 0.4256/0.5225, allocations: 85.19 MB / 457.5 MB, free: 12.32 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.05832/0.5809, allocations: 32.22 MB / 489.7 MB, free: 15.61 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003849/0.5848, allocations: 104.8 kB / 489.8 MB, free: 15.56 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005585/0.5904, allocations: 1.234 MB / 491 MB, free: 14.52 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02618/0.6167, allocations: 6.194 MB / 497.2 MB, free: 9.609 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.02947/0.6462, allocations: 7.143 MB / 0.4926 GB, free: 3.781 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.009287/0.6555, allocations: 3.775 MB / 0.4962 GB, free: 0 / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003038/0.6586, allocations: 1.286 MB / 0.4975 GB, free: 14.69 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007031/0.6657, allocations: 2.193 MB / 0.4996 GB, free: 12.49 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.05138/0.7171, allocations: 18.27 MB / 0.5175 GB, free: 10.21 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009621/0.7181, allocations: 112 kB / 0.5176 GB, free: 10.1 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02965/0.7478, allocations: 9.439 MB / 0.5268 GB, free: 0.6523 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002023/0.7499, allocations: 0.7557 MB / 0.5275 GB, free: 15.89 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001527/0.7514, allocations: 0.5316 MB / 0.5281 GB, free: 15.36 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01785/0.7693, allocations: 6.341 MB / 0.5342 GB, free: 8.996 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.7694, allocations: 0 / 0.5342 GB, free: 8.996 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.667e-06/0.7694, allocations: 3.938 kB / 0.5342 GB, free: 8.992 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001334/0.7696, allocations: 4 kB / 0.5343 GB, free: 8.988 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.01466/0.7842, allocations: 3.594 MB / 0.5378 GB, free: 5.32 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.009e-05/0.7843, allocations: 8.031 kB / 0.5378 GB, free: 5.312 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00108/0.7854, allocations: 307.4 kB / 0.5381 GB, free: 5 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008335/0.7938, allocations: 0.7931 MB / 0.5388 GB, free: 4.203 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005246/0.7991, allocations: 1.59 MB / 0.5404 GB, free: 2.559 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00034/0.7995, allocations: 175.8 kB / 0.5406 GB, free: 2.387 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008225/0.8003, allocations: 204 kB / 0.5408 GB, free: 2.188 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01334/0.8137, allocations: 3.543 MB / 0.5442 GB, free: 14.49 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001022/0.8138, allocations: 11.94 kB / 0.5442 GB, free: 14.48 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005151/0.8144, allocations: 79.97 kB / 0.5443 GB, free: 14.4 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004842/0.8149, allocations: 199.6 kB / 0.5445 GB, free: 14.2 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01434/0.8292, allocations: 3.32 MB / 0.5477 GB, free: 10.88 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.03341/0.8627, allocations: 15.35 MB / 0.5627 GB, free: 10.22 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01032/0.873, allocations: 2.784 MB / 0.5654 GB, free: 7.32 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06338/0.9365, allocations: 18.92 MB / 0.5839 GB, free: 2.086 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007101/0.9436, allocations: 1.67 MB / 0.5855 GB, free: 400 kB / 442.7 MB Notification: Performance of pre-optimization done (n=169): time 5.851e-06/0.9437, allocations: 3.938 kB / 0.5856 GB, free: 396 kB / 442.7 MB Notification: Performance of matching and sorting (n=185): time 0.344/1.288, allocations: 9.057 MB / 0.5944 GB, free: 159.6 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.997e-05/1.288, allocations: 181.7 kB / 0.5946 GB, free: 159.4 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003826/1.292, allocations: 1.507 MB / 0.596 GB, free: 158.8 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005533/1.292, allocations: 59.64 kB / 0.5961 GB, free: 158.8 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00123/1.294, allocations: 1.001 MB / 0.5971 GB, free: 158 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001107/1.295, allocations: 0.6247 MB / 0.5977 GB, free: 157.5 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002743/1.295, allocations: 41.44 kB / 0.5977 GB, free: 157.5 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000213/1.295, allocations: 395.7 kB / 0.5981 GB, free: 157.1 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004082/1.299, allocations: 1.11 MB / 0.5992 GB, free: 156.8 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004767/1.304, allocations: 1.647 MB / 0.6008 GB, free: 155.8 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004458/1.309, allocations: 1.371 MB / 0.6021 GB, free: 155.2 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.614e-05/1.309, allocations: 7.656 kB / 0.6021 GB, free: 155.2 MB / 442.7 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.01108/1.32, allocations: 3.32 MB / 0.6054 GB, free: 153.9 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001289/1.321, allocations: 5.977 MB / 0.6112 GB, free: 147.5 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.234e-05/1.321, allocations: 13.59 kB / 0.6112 GB, free: 147.5 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001549/1.323, allocations: 251.6 kB / 0.6115 GB, free: 147.4 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004338/1.327, allocations: 0.5421 MB / 0.612 GB, free: 147.4 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001778/1.329, allocations: 2.443 MB / 0.6144 GB, free: 145.1 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004453/1.334, allocations: 307.9 kB / 0.6147 GB, free: 145.1 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005692/1.334, allocations: 102.7 kB / 0.6148 GB, free: 145.1 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/1.334, allocations: 3.875 kB / 0.6148 GB, free: 145.1 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009771/1.344, allocations: 3.081 MB / 0.6178 GB, free: 143.8 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-05/1.344, allocations: 15.66 kB / 0.6178 GB, free: 143.8 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001377/1.345, allocations: 259.2 kB / 0.6181 GB, free: 143.7 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004266/1.35, allocations: 0.5313 MB / 0.6186 GB, free: 143.6 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001827/1.352, allocations: 2.438 MB / 0.621 GB, free: 141.3 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004321/1.356, allocations: 305.3 kB / 0.6212 GB, free: 141.1 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006673/1.357, allocations: 110.2 kB / 0.6214 GB, free: 141.1 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 (valve2.state_b.phase,valve2.state_a.phase,valve1.state_b.phase,valve1.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,junctionIdeal.medium.phase,pipe3.state_a.phase,pipe2.state_a.phase,pipe1.state_b.phase,pipe1.state_a.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 (263): * Single equations (assignments): 257 * 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.002301/1.359, allocations: 0.7581 MB / 0.6221 GB, free: 140.6 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007332/1.36, allocations: 206.7 kB / 0.6223 GB, free: 140.4 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01685/1.377, allocations: 7.5 MB / 0.6296 GB, free: 134.4 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001001/1.377, allocations: 83.88 kB / 0.6297 GB, free: 134.3 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.33e-05/1.377, allocations: 0 / 0.6297 GB, free: 134.3 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01329/1.39, allocations: 6.521 MB / 0.6361 GB, free: 127.6 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02681/1.417, allocations: 12.01 MB / 0.6478 GB, free: 115.3 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-05/1.417, allocations: 10.5 kB / 0.6478 GB, free: 115.3 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003246/1.42, allocations: 436 kB / 0.6482 GB, free: 114.8 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002353/1.423, allocations: 373 kB / 0.6486 GB, free: 114.5 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004775/1.423, allocations: 75.97 kB / 0.6486 GB, free: 114.4 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001641/1.425, allocations: 2.529 MB / 0.6511 GB, free: 111.8 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.689e-06/1.425, allocations: 11.95 kB / 0.6511 GB, free: 111.8 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01608/1.441, allocations: 7.653 MB / 0.6586 GB, free: 103.7 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002913/1.444, allocations: 0.7262 MB / 0.6593 GB, free: 103 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001078/1.445, allocations: 55.98 kB / 0.6594 GB, free: 102.9 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003486/1.449, allocations: 211.6 kB / 0.6596 GB, free: 102.7 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00076/1.45, allocations: 178.9 kB / 0.6597 GB, free: 102.5 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003221/1.45, allocations: 79.97 kB / 0.6598 GB, free: 102.4 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002507/1.452, allocations: 1.108 MB / 0.6609 GB, free: 101.3 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.31e-07/1.452, allocations: 0 / 0.6609 GB, free: 101.3 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0106/1.463, allocations: 2.546 MB / 0.6634 GB, free: 98.95 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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,junctionIdeal.medium.p,junctionIdeal.medium.h) * Number of discrete variables: 54 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse10.phase,$cse10.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse15.phase,$cse15.region,$cse18.phase,$cse18.region,$cse20.region3boundary,$cse21.region3boundary,$cse22.phase,$cse22.region,$cse24.phase,$cse24.region,$cse25.region3boundary,$cse26.region3boundary,$cse27.phase,$cse27.region,$cse29.phase,$cse29.region,$cse30.phase,$cse30.region,$cse31.region3boundary,$cse32.region3boundary,$cse33.phase,$cse33.region,$cse37.phase,$cse37.region,$cse42.phase,$cse42.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,junctionIdeal.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 (212): * Single equations (assignments): 183 * 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.04365/1.507, allocations: 11.57 MB / 0.6747 GB, free: 87.47 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.02281/1.53, allocations: 5.263 MB / 0.6798 GB, free: 82.14 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.821e-05/1.53, allocations: 0 / 0.6798 GB, free: 82.14 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009922/1.54, allocations: 2.693 MB / 0.6824 GB, free: 79.43 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01306/1.553, allocations: 0.9794 MB / 0.6834 GB, free: 78.46 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03763/1.591, allocations: 21.24 MB / 0.7041 GB, free: 56.85 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00338/1.594, allocations: 2.289 MB / 0.7064 GB, free: 54.52 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.007942/1.602, allocations: 2.393 MB / 0.7087 GB, free: 52.13 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003037/1.605, allocations: 1.335 MB / 0.71 GB, free: 50.8 MB / 442.7 MB Notification: Performance of SimCode: time 1.293e-06/1.605, allocations: 0 / 0.71 GB, free: 50.8 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5694/2.174, allocations: 110.6 MB / 0.818 GB, free: 112.7 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002729/2.175, allocations: 258.9 kB / 0.8182 GB, free: 112.3 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.02/12.2, allocations: 0 / 0.8182 GB, free: 112.3 MB / 442.7 MB