Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17.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.BranchingPipes17,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes17",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.01141/0.01142, 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.001398/0.001397, 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.725/1.725, 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.286/0.286, allocations: 38.09 MB / 265.1 MB, free: 3.945 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006265/0.0006266, allocations: 12 kB / 323.6 MB, free: 29.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1133, allocations: 48.71 MB / 372.3 MB, free: 12.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17): time 0.686/0.7994, allocations: 186.8 MB / 0.546 GB, free: 12.76 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0539/0.8534, allocations: 23.17 MB / 0.5686 GB, free: 5.551 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003517/0.857, allocations: 107.1 kB / 0.5687 GB, free: 5.445 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004731/0.8618, allocations: 0.9954 MB / 0.5697 GB, free: 4.445 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01731/0.8791, allocations: 3.947 MB / 0.5735 GB, free: 500 kB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.02205/0.9012, allocations: 5.205 MB / 0.5786 GB, free: 11.29 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0101/0.9113, allocations: 3.708 MB / 0.5822 GB, free: 7.562 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00366/0.915, allocations: 1.33 MB / 0.5835 GB, free: 6.215 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007943/0.923, allocations: 2.177 MB / 0.5856 GB, free: 4.031 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005162/0.9283, allocations: 1.674 MB / 0.5873 GB, free: 2.352 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001233/0.9296, allocations: 119.9 kB / 0.5874 GB, free: 2.234 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3984/1.328, allocations: 3.232 MB / 0.5905 GB, free: 10.75 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002415/1.33, allocations: 0.7695 MB / 0.5913 GB, free: 10.75 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002042/1.333, allocations: 0.4896 MB / 0.5918 GB, free: 10.71 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01196/1.345, allocations: 3.91 MB / 0.5956 GB, free: 10.42 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/1.345, allocations: 2.484 kB / 0.5956 GB, free: 10.42 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.066e-06/1.345, allocations: 0 / 0.5956 GB, free: 10.42 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001438/1.345, allocations: 0 / 0.5956 GB, free: 10.42 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: 448 * Number of variables: 448 Notification: Performance of Generate backend data structure: time 0.01409/1.359, allocations: 3.014 MB / 0.5985 GB, free: 8.961 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.463e-05/1.359, allocations: 10.09 kB / 0.5985 GB, free: 8.961 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001514/1.36, allocations: 262.5 kB / 0.5988 GB, free: 8.914 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004651/1.365, allocations: 441.5 kB / 0.5992 GB, free: 8.785 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005532/1.371, allocations: 1.484 MB / 0.6007 GB, free: 8.375 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000203/1.371, allocations: 132.1 kB / 0.6008 GB, free: 8.371 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001052/1.372, allocations: 169.2 kB / 0.601 GB, free: 8.371 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009568/1.382, allocations: 2.621 MB / 0.6035 GB, free: 8.047 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.275e-05/1.382, allocations: 9.875 kB / 0.6035 GB, free: 8.047 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004682/1.382, allocations: 70.55 kB / 0.6036 GB, free: 8.047 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004443/1.383, allocations: 193.7 kB / 0.6038 GB, free: 8.043 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008626/1.391, allocations: 2.308 MB / 0.606 GB, free: 8.023 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.02873/1.42, allocations: 11.24 MB / 0.617 GB, free: 18.01 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005941/1.426, allocations: 1.856 MB / 0.6188 GB, free: 17.67 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001659/1.428, allocations: 455.9 kB / 0.6193 GB, free: 17.38 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004066/1.432, allocations: 1.19 MB / 0.6204 GB, free: 17.25 MB / 458.7 MB Notification: Performance of pre-optimization done (n=168): time 5.611e-06/1.432, allocations: 0 / 0.6204 GB, free: 17.25 MB / 458.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 5: junctionVolume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=196): time 0.05664/1.489, allocations: 12.02 MB / 0.6321 GB, free: 15.05 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001439/1.489, allocations: 184.7 kB / 0.6323 GB, free: 14.86 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003312/1.492, allocations: 1.562 MB / 0.6339 GB, free: 14.67 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008727/1.493, allocations: 64.92 kB / 0.6339 GB, free: 14.64 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00114/1.494, allocations: 0.9473 MB / 0.6348 GB, free: 14.26 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001194/1.495, allocations: 0.6604 MB / 0.6355 GB, free: 13.84 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002903/1.496, allocations: 41.78 kB / 0.6355 GB, free: 13.84 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002453/1.496, allocations: 401.5 kB / 0.6359 GB, free: 13.54 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003267/1.499, allocations: 1.06 MB / 0.6369 GB, free: 13.53 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003877/1.503, allocations: 1.591 MB / 0.6385 GB, free: 12.97 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00407/1.507, allocations: 1.363 MB / 0.6398 GB, free: 12.86 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.172e-05/1.507, allocations: 4.594 kB / 0.6398 GB, free: 12.86 MB / 458.7 MB Notification: Performance of matching and sorting (n=293) (initialization): time 0.01044/1.518, allocations: 3.372 MB / 0.6431 GB, free: 12.55 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002608/1.521, allocations: 5.811 MB / 0.6488 GB, free: 6.387 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.439e-05/1.521, allocations: 15.72 kB / 0.6488 GB, free: 6.387 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00154/1.522, allocations: 320.2 kB / 0.6491 GB, free: 6.328 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005093/1.527, allocations: 0.5866 MB / 0.6497 GB, free: 6.234 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003214/1.531, allocations: 3.012 MB / 0.6526 GB, free: 3.539 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004823/1.536, allocations: 212.5 kB / 0.6528 GB, free: 3.477 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001171/1.537, allocations: 213.8 kB / 0.653 GB, free: 3.457 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/1.537, allocations: 4.594 kB / 0.653 GB, free: 3.457 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01207/1.549, allocations: 3.086 MB / 0.6561 GB, free: 2.852 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.706e-05/1.549, allocations: 12 kB / 0.6561 GB, free: 2.84 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00118/1.55, allocations: 315.4 kB / 0.6564 GB, free: 2.57 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005089/1.555, allocations: 0.5765 MB / 0.6569 GB, free: 2.043 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003384/1.559, allocations: 3.012 MB / 0.6599 GB, free: 15.06 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004621/1.563, allocations: 205 kB / 0.6601 GB, free: 14.89 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001136/1.565, allocations: 205.5 kB / 0.6603 GB, free: 14.71 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 64 * 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 (274): * Single equations (assignments): 267 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {1 1,1 1,1 1,1 7,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.002983/1.568, allocations: 0.7082 MB / 0.661 GB, free: 14.2 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008968/1.568, allocations: 221.3 kB / 0.6612 GB, free: 13.98 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01546/1.584, allocations: 3.765 MB / 0.6648 GB, free: 11.27 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.829e-05/1.584, allocations: 20 kB / 0.6649 GB, free: 11.25 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.197e-05/1.584, allocations: 1.859 kB / 0.6649 GB, free: 11.25 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00906/1.593, allocations: 2.921 MB / 0.6677 GB, free: 8.996 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02314/1.616, allocations: 6.904 MB / 0.6745 GB, free: 3.691 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.811e-05/1.616, allocations: 4 kB / 0.6745 GB, free: 3.688 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003834/1.62, allocations: 465 kB / 0.6749 GB, free: 3.27 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001623/1.622, allocations: 325.6 kB / 0.6752 GB, free: 2.98 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007146/1.623, allocations: 104.8 kB / 0.6753 GB, free: 2.91 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004208/1.627, allocations: 3.757 MB / 0.679 GB, free: 15.14 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.275e-05/1.627, allocations: 10.62 kB / 0.679 GB, free: 15.13 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01328/1.64, allocations: 4.865 MB / 0.6837 GB, free: 11.31 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002496/1.643, allocations: 0.5288 MB / 0.6843 GB, free: 10.87 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009498/1.644, allocations: 62.16 kB / 0.6843 GB, free: 10.84 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003248/1.647, allocations: 128.4 kB / 0.6844 GB, free: 10.75 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007232/1.648, allocations: 190.3 kB / 0.6846 GB, free: 10.59 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005107/1.648, allocations: 180.6 kB / 0.6848 GB, free: 10.43 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002497/1.651, allocations: 1.022 MB / 0.6858 GB, free: 9.676 MB / 490.7 MB Notification: Performance of sort global known variables: time 9.32e-07/1.651, allocations: 4 kB / 0.6858 GB, free: 9.672 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01096/1.662, allocations: 1.784 MB / 0.6875 GB, free: 8.023 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 9 (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,junctionVolume.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 (205): * Single equations (assignments): 198 * 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: 5 * 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: 4 {1 6,1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.02196/1.684, allocations: 8.234 MB / 0.6956 GB, free: 1.055 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01503/1.699, allocations: 4.545 MB / 0.7 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.477e-05/1.699, allocations: 0 / 0.7 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.00516/1.704, allocations: 1.594 MB / 0.7016 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00961/1.714, allocations: 1.04 MB / 0.7026 GB, free: 11.72 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0287/1.743, allocations: 17.52 MB / 0.7197 GB, free: 10.54 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002497/1.745, allocations: 1.76 MB / 0.7214 GB, free: 8.816 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01041/1.756, allocations: 1.411 MB / 0.7228 GB, free: 7.41 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003833/1.759, allocations: 1.038 MB / 0.7238 GB, free: 7.043 MB / 0.5105 GB Notification: Performance of SimCode: time 1.513e-06/1.76, allocations: 0 / 0.7238 GB, free: 7.043 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6737/2.433, allocations: 80.61 MB / 0.8025 GB, free: 298.1 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003129/2.434, allocations: 268.5 kB / 0.8028 GB, free: 297.8 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.627/9.06, allocations: 1 kB / 0.8028 GB, free: 297.8 MB / 0.573 GB