Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.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.BranchingPipes16,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes16",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.01126/0.01126, allocations: 107.9 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.001192/0.001191, allocations: 167 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.762/1.762, 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.2601/0.2601, allocations: 38.09 MB / 265.1 MB, free: 3.977 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004769/0.0004771, allocations: 12 kB / 323.6 MB, free: 29.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09121/0.09173, allocations: 48.72 MB / 372.3 MB, free: 12.85 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16): time 0.6799/0.7716, allocations: 180.8 MB / 0.5401 GB, free: 2.738 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.05281/0.8245, allocations: 22.03 MB / 0.5617 GB, free: 12.67 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003067/0.8277, allocations: 103.2 kB / 0.5618 GB, free: 12.57 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004268/0.832, allocations: 0.9254 MB / 0.5627 GB, free: 11.64 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01487/0.8469, allocations: 3.549 MB / 0.5661 GB, free: 8.078 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.02043/0.8674, allocations: 5.101 MB / 0.5711 GB, free: 2.98 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.009165/0.8766, allocations: 3.477 MB / 0.5745 GB, free: 15.49 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003251/0.8799, allocations: 1.242 MB / 0.5757 GB, free: 14.23 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008569/0.8885, allocations: 2.053 MB / 0.5777 GB, free: 12.17 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007215/0.8958, allocations: 1.6 MB / 0.5793 GB, free: 10.56 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001507/0.8974, allocations: 104 kB / 0.5794 GB, free: 10.46 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01598/0.9134, allocations: 3.172 MB / 0.5825 GB, free: 7.285 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002645/0.9161, allocations: 0.7363 MB / 0.5832 GB, free: 6.547 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00192/0.9181, allocations: 472.5 kB / 0.5837 GB, free: 6.078 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01401/0.9322, allocations: 3.757 MB / 0.5873 GB, free: 2.312 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.9323, allocations: 0 / 0.5873 GB, free: 2.312 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.715e-06/0.9323, allocations: 0 / 0.5873 GB, free: 2.312 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001328/0.9324, allocations: 0 / 0.5873 GB, free: 2.312 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 423 * Number of variables: 423 Notification: Performance of Generate backend data structure: time 0.3704/1.303, allocations: 2.902 MB / 0.5902 GB, free: 170.7 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.12e-05/1.303, allocations: 11.47 kB / 0.5902 GB, free: 170.7 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001028/1.304, allocations: 248.4 kB / 0.5904 GB, free: 170.6 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004118/1.308, allocations: 426.1 kB / 0.5908 GB, free: 170.5 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005234/1.313, allocations: 1.427 MB / 0.5922 GB, free: 170 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002146/1.314, allocations: 128 kB / 0.5923 GB, free: 170 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006758/1.314, allocations: 163.1 kB / 0.5925 GB, free: 170 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007897/1.322, allocations: 2.503 MB / 0.5949 GB, free: 168.9 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-05/1.322, allocations: 6.688 kB / 0.5949 GB, free: 168.9 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003501/1.323, allocations: 75.42 kB / 0.595 GB, free: 168.9 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004477/1.323, allocations: 182 kB / 0.5952 GB, free: 168.9 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007606/1.331, allocations: 2.21 MB / 0.5973 GB, free: 168.1 MB / 442.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.02466/1.356, allocations: 10.7 MB / 0.6078 GB, free: 159.9 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005265/1.361, allocations: 1.763 MB / 0.6095 GB, free: 158.9 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001478/1.362, allocations: 461.4 kB / 0.6099 GB, free: 158.5 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003157/1.366, allocations: 1.142 MB / 0.6111 GB, free: 157.8 MB / 442.7 MB Notification: Performance of pre-optimization done (n=158): time 5.781e-06/1.366, allocations: 0 / 0.6111 GB, free: 157.8 MB / 442.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: pipe1.mediums[1].T 2: pipe2.mediums[1].T 3: pipe3.mediums[1].T 4: junctionIdeal.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=181): time 0.04471/1.41, allocations: 10.81 MB / 0.6216 GB, free: 150.6 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.803e-05/1.411, allocations: 184.2 kB / 0.6218 GB, free: 150.3 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002533/1.413, allocations: 1.49 MB / 0.6233 GB, free: 148.8 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000555/1.414, allocations: 61.64 kB / 0.6233 GB, free: 148.8 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007989/1.414, allocations: 0.9012 MB / 0.6242 GB, free: 147.9 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008031/1.415, allocations: 0.6145 MB / 0.6248 GB, free: 147.3 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002251/1.416, allocations: 40 kB / 0.6248 GB, free: 147.2 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001406/1.416, allocations: 386.2 kB / 0.6252 GB, free: 146.8 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002732/1.418, allocations: 1.011 MB / 0.6262 GB, free: 145.8 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003211/1.422, allocations: 1.5 MB / 0.6276 GB, free: 144.2 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003384/1.425, allocations: 1.297 MB / 0.6289 GB, free: 142.8 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.669e-05/1.425, allocations: 4 kB / 0.6289 GB, free: 142.8 MB / 442.7 MB Notification: Performance of matching and sorting (n=271) (initialization): time 0.008326/1.433, allocations: 3.117 MB / 0.632 GB, free: 139.7 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001127/1.435, allocations: 5.247 MB / 0.6371 GB, free: 134 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-05/1.435, allocations: 16 kB / 0.6371 GB, free: 133.9 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000723/1.435, allocations: 195.3 kB / 0.6373 GB, free: 133.7 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004601/1.44, allocations: 0.5617 MB / 0.6378 GB, free: 133.2 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001743/1.442, allocations: 2.327 MB / 0.6401 GB, free: 130.7 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00407/1.446, allocations: 215.8 kB / 0.6403 GB, free: 130.5 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006312/1.447, allocations: 184 kB / 0.6405 GB, free: 130.4 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/1.447, allocations: 4 kB / 0.6405 GB, free: 130.4 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0074/1.454, allocations: 2.853 MB / 0.6433 GB, free: 127.5 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.954e-05/1.454, allocations: 19.94 kB / 0.6433 GB, free: 127.5 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005889/1.455, allocations: 187.3 kB / 0.6435 GB, free: 127.3 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004304/1.459, allocations: 0.554 MB / 0.644 GB, free: 126.7 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001597/1.461, allocations: 2.337 MB / 0.6463 GB, free: 124.3 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003816/1.465, allocations: 203.8 kB / 0.6465 GB, free: 124.1 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007006/1.465, allocations: 195.9 kB / 0.6467 GB, free: 123.9 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 58 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,$whenCondition2,valveOpening1.a,valveOpening1.b,valveOpening1.last,$PRE.valveOpening1.nextEvent,valveOpening1.nextEvent,valveOpening2.a,valveOpening2.b,valveOpening2.last,$PRE.valveOpening2.nextEvent,valveOpening2.nextEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (259): * Single equations (assignments): 253 * 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.001951/1.467, allocations: 0.6886 MB / 0.6474 GB, free: 123.2 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000694/1.468, allocations: 205.5 kB / 0.6476 GB, free: 123 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01121/1.479, allocations: 3.489 MB / 0.651 GB, free: 119.5 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.182e-05/1.479, allocations: 16 kB / 0.651 GB, free: 119.4 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.36e-05/1.479, allocations: 4 kB / 0.651 GB, free: 119.4 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006762/1.486, allocations: 2.732 MB / 0.6536 GB, free: 116.6 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01798/1.504, allocations: 6.769 MB / 0.6603 GB, free: 109.6 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.65e-05/1.504, allocations: 4 kB / 0.6603 GB, free: 109.6 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003622/1.508, allocations: 451.5 kB / 0.6607 GB, free: 109.1 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006565/1.508, allocations: 195.2 kB / 0.6609 GB, free: 108.9 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000345/1.509, allocations: 99.94 kB / 0.661 GB, free: 108.8 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002152/1.511, allocations: 3.07 MB / 0.664 GB, free: 105.5 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.556e-06/1.511, allocations: 16 kB / 0.664 GB, free: 105.5 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0102/1.521, allocations: 4.63 MB / 0.6685 GB, free: 100.6 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00181/1.523, allocations: 0.5061 MB / 0.669 GB, free: 100.1 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007491/1.524, allocations: 55.98 kB / 0.6691 GB, free: 100 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002565/1.526, allocations: 127.7 kB / 0.6692 GB, free: 99.9 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005308/1.527, allocations: 181.6 kB / 0.6693 GB, free: 99.73 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003685/1.527, allocations: 163.6 kB / 0.6695 GB, free: 99.57 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00186/1.529, allocations: 0.9918 MB / 0.6705 GB, free: 98.59 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.21e-07/1.529, allocations: 0 / 0.6705 GB, free: 98.59 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.006906/1.536, allocations: 1.693 MB / 0.6721 GB, free: 97.01 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 8 (pipe1.mediums[1].p,pipe1.mediums[1].T,pipe2.mediums[1].p,pipe2.mediums[1].T,pipe3.mediums[1].p,pipe3.mediums[1].T,junctionIdeal.medium.p,junctionIdeal.medium.T) * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,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 (196): * Single equations (assignments): 190 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 3 {1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01501/1.551, allocations: 8.095 MB / 0.68 GB, free: 88.9 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01143/1.563, allocations: 4.291 MB / 0.6842 GB, free: 84.56 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.33e-05/1.563, allocations: 0 / 0.6842 GB, free: 84.56 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003563/1.566, allocations: 1.51 MB / 0.6857 GB, free: 83.02 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007348/1.574, allocations: 0.9028 MB / 0.6866 GB, free: 82.12 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01901/1.593, allocations: 16.14 MB / 0.7023 GB, free: 65.5 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001521/1.594, allocations: 1.719 MB / 0.704 GB, free: 63.75 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.008908/1.603, allocations: 1.378 MB / 0.7054 GB, free: 62.37 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003162/1.607, allocations: 0.9757 MB / 0.7063 GB, free: 61.39 MB / 442.7 MB Notification: Performance of SimCode: time 2.384e-06/1.607, allocations: 0 / 0.7063 GB, free: 61.39 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5954/2.202, allocations: 74.69 MB / 0.7793 GB, free: 153.1 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002467/2.202, allocations: 268.5 kB / 0.7795 GB, free: 152.7 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.448/8.65, allocations: 0 / 0.7795 GB, free: 152.7 MB / 442.7 MB