Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16,fileNamePrefix="ModelicaTest_3_2_2_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.2/package.mo): time 0.01629/0.0163, allocations: 107.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.2.mo): time 0.001184/0.001184, allocations: 181.1 kB / 15.95 MB, free: 5.953 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.023/2.023, allocations: 194.6 MB / 211.3 MB, free: 11.04 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo): time 0.2878/0.2878, allocations: 40.05 MB / 296.5 MB, free: 6.293 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004729/0.0004731, allocations: 12 kB / 361.1 MB, free: 9.547 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1198, allocations: 54.88 MB / 416 MB, free: 2.574 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16): time 0.6014/0.7213, allocations: 180.9 MB / 0.5829 GB, free: 3.035 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.05451/0.7759, allocations: 22.04 MB / 0.6044 GB, free: 12.96 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00353/0.7795, allocations: 103.2 kB / 0.6045 GB, free: 12.86 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004743/0.7843, allocations: 0.9332 MB / 0.6054 GB, free: 11.93 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01675/0.8011, allocations: 3.554 MB / 0.6089 GB, free: 8.371 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.03265/0.8338, allocations: 5.09 MB / 0.6139 GB, free: 3.301 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.4821/1.316, allocations: 3.495 MB / 0.6173 GB, free: 7.094 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003176/1.319, allocations: 1.248 MB / 0.6185 GB, free: 7.008 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006859/1.326, allocations: 2.06 MB / 0.6205 GB, free: 7.008 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004712/1.331, allocations: 1.598 MB / 0.6221 GB, free: 7.004 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001201/1.332, allocations: 111.5 kB / 0.6222 GB, free: 7 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01075/1.343, allocations: 3.165 MB / 0.6253 GB, free: 7 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002077/1.345, allocations: 0.7419 MB / 0.626 GB, free: 7 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001575/1.347, allocations: 471.6 kB / 0.6265 GB, free: 6.969 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01001/1.357, allocations: 3.769 MB / 0.6301 GB, free: 6.68 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/1.357, allocations: 0 / 0.6301 GB, free: 6.68 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.016e-06/1.357, allocations: 0 / 0.6301 GB, free: 6.68 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001458/1.357, allocations: 0 / 0.6301 GB, free: 6.68 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 427 * Number of variables: 427 Notification: Performance of Generate backend data structure: time 0.01266/1.37, allocations: 2.925 MB / 0.633 GB, free: 21.24 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.528e-05/1.37, allocations: 9.75 kB / 0.633 GB, free: 21.24 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001308/1.371, allocations: 247.1 kB / 0.6332 GB, free: 21.2 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004563/1.376, allocations: 437.7 kB / 0.6337 GB, free: 21.07 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00537/1.381, allocations: 1.426 MB / 0.6351 GB, free: 20.66 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002539/1.381, allocations: 128.9 kB / 0.6352 GB, free: 20.66 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009641/1.382, allocations: 167.4 kB / 0.6353 GB, free: 20.65 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00952/1.392, allocations: 2.516 MB / 0.6378 GB, free: 20.34 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001136/1.392, allocations: 5.219 kB / 0.6378 GB, free: 20.34 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007854/1.393, allocations: 70.28 kB / 0.6379 GB, free: 20.34 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005406/1.393, allocations: 191.3 kB / 0.638 GB, free: 20.33 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008761/1.402, allocations: 2.22 MB / 0.6402 GB, free: 20.32 MB / 490.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.02838/1.431, allocations: 10.71 MB / 0.6507 GB, free: 14.61 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005527/1.436, allocations: 1.773 MB / 0.6524 GB, free: 14.28 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001626/1.438, allocations: 464.5 kB / 0.6528 GB, free: 13.98 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003812/1.442, allocations: 1.15 MB / 0.654 GB, free: 13.87 MB / 490.7 MB Notification: Performance of pre-optimization done (n=162): time 6.832e-06/1.442, allocations: 0 / 0.654 GB, free: 13.87 MB / 490.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=185): time 0.05002/1.492, allocations: 10.83 MB / 0.6645 GB, free: 11.37 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000145/1.492, allocations: 183.8 kB / 0.6647 GB, free: 11.18 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003027/1.495, allocations: 1.503 MB / 0.6662 GB, free: 10.74 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007618/1.496, allocations: 60.55 kB / 0.6662 GB, free: 10.71 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00113/1.497, allocations: 0.897 MB / 0.6671 GB, free: 10.27 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001186/1.498, allocations: 0.6254 MB / 0.6677 GB, free: 9.82 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003098/1.499, allocations: 43.03 kB / 0.6678 GB, free: 9.82 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002607/1.499, allocations: 393.8 kB / 0.6682 GB, free: 9.488 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003209/1.502, allocations: 1.01 MB / 0.6691 GB, free: 9.32 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003838/1.506, allocations: 1.512 MB / 0.6706 GB, free: 8.613 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00419/1.51, allocations: 1.304 MB / 0.6719 GB, free: 8.383 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.478e-05/1.51, allocations: 7.469 kB / 0.6719 GB, free: 8.379 MB / 490.7 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.01104/1.521, allocations: 3.101 MB / 0.6749 GB, free: 7.734 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002263/1.524, allocations: 5.268 MB / 0.6801 GB, free: 2.125 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.749e-05/1.524, allocations: 11.25 kB / 0.6801 GB, free: 2.125 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008555/1.525, allocations: 193.8 kB / 0.6803 GB, free: 2.066 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005043/1.53, allocations: 0.5593 MB / 0.6808 GB, free: 1.977 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002299/1.532, allocations: 2.329 MB / 0.6831 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004588/1.537, allocations: 204.2 kB / 0.6833 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001031/1.538, allocations: 198.1 kB / 0.6835 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/1.538, allocations: 7.562 kB / 0.6835 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01053/1.548, allocations: 2.844 MB / 0.6863 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.383e-05/1.549, allocations: 16 kB / 0.6863 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007123/1.549, allocations: 195.8 kB / 0.6865 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004975/1.554, allocations: 0.5533 MB / 0.687 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002255/1.557, allocations: 2.332 MB / 0.6893 GB, free: 11.33 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004267/1.561, allocations: 211.5 kB / 0.6895 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009586/1.562, allocations: 191 kB / 0.6897 GB, free: 10.99 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 58 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition1,$whenCondition2,valveOpening1.a,valveOpening1.b,valveOpening1.last,$PRE.valveOpening1.nextEvent,valveOpening1.nextEvent,valveOpening1.nextEventScaled,valveOpening2.a,valveOpening2.b,valveOpening2.last,$PRE.valveOpening2.nextEvent,valveOpening2.nextEvent,valveOpening2.nextEventScaled) * 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.002535/1.564, allocations: 0.6921 MB / 0.6903 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008129/1.565, allocations: 201.6 kB / 0.6905 GB, free: 10.29 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01416/1.579, allocations: 3.494 MB / 0.6939 GB, free: 7.793 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.21e-05/1.58, allocations: 22.38 kB / 0.694 GB, free: 7.773 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.3e-05/1.58, allocations: 3.953 kB / 0.694 GB, free: 7.77 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008812/1.588, allocations: 2.716 MB / 0.6966 GB, free: 5.68 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02334/1.612, allocations: 6.793 MB / 0.7032 GB, free: 356 kB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.174e-05/1.612, allocations: 8 kB / 0.7033 GB, free: 348 kB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004294/1.616, allocations: 443.2 kB / 0.7037 GB, free: 15.94 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009517/1.617, allocations: 189.5 kB / 0.7039 GB, free: 15.77 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007266/1.618, allocations: 100.1 kB / 0.704 GB, free: 15.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003314/1.621, allocations: 3.075 MB / 0.707 GB, free: 12.57 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.498e-05/1.621, allocations: 14.86 kB / 0.707 GB, free: 12.56 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0136/1.635, allocations: 4.645 MB / 0.7115 GB, free: 8.879 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002382/1.638, allocations: 0.5211 MB / 0.712 GB, free: 8.441 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001091/1.639, allocations: 56.48 kB / 0.7121 GB, free: 8.414 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003426/1.642, allocations: 121.2 kB / 0.7122 GB, free: 8.32 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009341/1.643, allocations: 178.3 kB / 0.7124 GB, free: 8.172 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000653/1.644, allocations: 172.6 kB / 0.7125 GB, free: 8.023 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002871/1.647, allocations: 0.9899 MB / 0.7135 GB, free: 7.293 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.252e-06/1.647, allocations: 0 / 0.7135 GB, free: 7.293 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00969/1.656, allocations: 1.704 MB / 0.7152 GB, free: 5.715 MB / 0.5105 GB 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: 12 ($whenCondition1,$whenCondition2,valveOpening1.a,valveOpening1.b,valveOpening1.last,valveOpening1.nextEvent,valveOpening1.nextEventScaled,valveOpening2.a,valveOpening2.b,valveOpening2.last,valveOpening2.nextEvent,valveOpening2.nextEventScaled) * Number of discrete states: 12 (valveOpening2.nextEvent,valveOpening2.last,valveOpening2.nextEventScaled,valveOpening2.b,valveOpening2.a,$whenCondition2,valveOpening1.nextEvent,valveOpening1.last,valveOpening1.nextEventScaled,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.01954/1.676, allocations: 8.111 MB / 0.7231 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01458/1.691, allocations: 4.411 MB / 0.7274 GB, free: 11.66 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.629e-05/1.691, allocations: 4.125 kB / 0.7274 GB, free: 11.65 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004613/1.695, allocations: 1.563 MB / 0.7289 GB, free: 10.49 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008629/1.704, allocations: 0.9058 MB / 0.7298 GB, free: 9.758 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02678/1.731, allocations: 16.18 MB / 0.7456 GB, free: 9.875 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002162/1.733, allocations: 1.724 MB / 0.7473 GB, free: 8.191 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.009686/1.743, allocations: 1.382 MB / 0.7486 GB, free: 6.82 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003563/1.747, allocations: 0.9853 MB / 0.7496 GB, free: 6.484 MB / 0.5417 GB Notification: Performance of SimCode: time 1.492e-06/1.747, allocations: 0 / 0.7496 GB, free: 6.484 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2079/1.954, allocations: 75.15 MB / 0.823 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003433/1.955, allocations: 270.5 kB / 0.8232 GB, free: 11.32 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.934/8.889, allocations: 0 / 0.8232 GB, free: 11.32 MB / 0.6198 GB