Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.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.BranchingPipes15,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes15",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.01057/0.01057, allocations: 106 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.001161/0.001161, allocations: 182.6 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 1.873/1.873, allocations: 194.6 MB / 211.3 MB, free: 11.07 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.2572/0.2572, allocations: 40.04 MB / 296.5 MB, free: 6.301 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007443/0.0007444, allocations: 12 kB / 361.2 MB, free: 9.539 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.1306, allocations: 54.87 MB / 416 MB, free: 2.562 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15): time 0.6068/0.7375, allocations: 180.9 MB / 0.5829 GB, free: 3.039 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.05208/0.7897, allocations: 22.04 MB / 0.6044 GB, free: 12.97 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003151/0.7929, allocations: 111.1 kB / 0.6045 GB, free: 12.86 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004316/0.7972, allocations: 0.9293 MB / 0.6054 GB, free: 11.93 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01556/0.8129, allocations: 3.556 MB / 0.6089 GB, free: 8.367 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0207/0.8336, allocations: 5.078 MB / 0.6139 GB, free: 3.309 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.4082/1.242, allocations: 3.5 MB / 0.6173 GB, free: 7.047 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002936/1.245, allocations: 1.249 MB / 0.6185 GB, free: 6.961 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006563/1.251, allocations: 2.066 MB / 0.6205 GB, free: 6.957 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004468/1.256, allocations: 1.598 MB / 0.6221 GB, free: 6.953 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00113/1.257, allocations: 104.8 kB / 0.6222 GB, free: 6.953 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01078/1.268, allocations: 3.167 MB / 0.6253 GB, free: 6.949 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002056/1.27, allocations: 0.7429 MB / 0.626 GB, free: 6.949 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002428/1.273, allocations: 470.9 kB / 0.6265 GB, free: 22.92 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01022/1.283, allocations: 3.768 MB / 0.6301 GB, free: 22.63 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/1.283, allocations: 2.906 kB / 0.6301 GB, free: 22.63 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.847e-06/1.283, allocations: 0 / 0.6301 GB, free: 22.63 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001448/1.283, allocations: 4 kB / 0.6302 GB, free: 22.63 MB / 490.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.01241/1.295, allocations: 2.925 MB / 0.633 GB, free: 21.19 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.606e-05/1.296, allocations: 10.38 kB / 0.633 GB, free: 21.19 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001316/1.297, allocations: 246 kB / 0.6333 GB, free: 21.14 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004612/1.302, allocations: 430 kB / 0.6337 GB, free: 21.02 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005611/1.307, allocations: 1.433 MB / 0.6351 GB, free: 20.61 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002835/1.308, allocations: 126.4 kB / 0.6352 GB, free: 20.61 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001131/1.309, allocations: 167.3 kB / 0.6353 GB, free: 20.61 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01054/1.319, allocations: 2.516 MB / 0.6378 GB, free: 20.29 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001731/1.32, allocations: 8.766 kB / 0.6378 GB, free: 20.29 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001355/1.321, allocations: 68.59 kB / 0.6379 GB, free: 20.29 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007983/1.322, allocations: 187.6 kB / 0.6381 GB, free: 20.29 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009065/1.331, allocations: 2.221 MB / 0.6402 GB, free: 20.27 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.02831/1.359, allocations: 10.71 MB / 0.6507 GB, free: 14.56 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005449/1.365, allocations: 1.772 MB / 0.6524 GB, free: 14.23 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001588/1.366, allocations: 453.1 kB / 0.6528 GB, free: 13.94 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004041/1.371, allocations: 1.154 MB / 0.654 GB, free: 13.82 MB / 490.7 MB Notification: Performance of pre-optimization done (n=162): time 7.474e-06/1.371, allocations: 0 / 0.654 GB, free: 13.82 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.051/1.422, allocations: 10.84 MB / 0.6646 GB, free: 11.31 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001749/1.422, allocations: 186.2 kB / 0.6647 GB, free: 11.12 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003276/1.425, allocations: 1.497 MB / 0.6662 GB, free: 10.69 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007777/1.426, allocations: 61.05 kB / 0.6663 GB, free: 10.66 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001387/1.427, allocations: 0.896 MB / 0.6671 GB, free: 10.22 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001441/1.429, allocations: 0.6273 MB / 0.6677 GB, free: 9.762 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005697/1.43, allocations: 42.06 kB / 0.6678 GB, free: 9.762 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000343/1.43, allocations: 389.5 kB / 0.6682 GB, free: 9.434 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003658/1.434, allocations: 1.012 MB / 0.6691 GB, free: 9.266 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004262/1.438, allocations: 1.518 MB / 0.6706 GB, free: 8.555 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004227/1.442, allocations: 1.299 MB / 0.6719 GB, free: 8.324 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.16e-05/1.442, allocations: 3.688 kB / 0.6719 GB, free: 8.324 MB / 490.7 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.01115/1.453, allocations: 3.11 MB / 0.6749 GB, free: 7.676 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002308/1.456, allocations: 5.257 MB / 0.6801 GB, free: 2.07 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.342e-05/1.456, allocations: 15.09 kB / 0.6801 GB, free: 2.07 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009118/1.457, allocations: 194.8 kB / 0.6803 GB, free: 2.008 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00501/1.462, allocations: 0.5579 MB / 0.6808 GB, free: 1.922 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002453/1.464, allocations: 2.334 MB / 0.6831 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004416/1.469, allocations: 202.2 kB / 0.6833 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001034/1.47, allocations: 193.8 kB / 0.6835 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/1.47, allocations: 3.844 kB / 0.6835 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01106/1.481, allocations: 2.852 MB / 0.6863 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.882e-05/1.481, allocations: 12 kB / 0.6863 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007493/1.482, allocations: 200.4 kB / 0.6865 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005002/1.487, allocations: 0.5563 MB / 0.687 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002236/1.489, allocations: 2.332 MB / 0.6893 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004165/1.493, allocations: 211.5 kB / 0.6895 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009966/1.495, allocations: 188.1 kB / 0.6897 GB, free: 10.93 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.002525/1.497, allocations: 0.6978 MB / 0.6903 GB, free: 10.42 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008111/1.498, allocations: 201.6 kB / 0.6905 GB, free: 10.22 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01429/1.512, allocations: 3.494 MB / 0.6939 GB, free: 7.727 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.375e-05/1.512, allocations: 20 kB / 0.694 GB, free: 7.707 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.414e-05/1.512, allocations: 3.953 kB / 0.694 GB, free: 7.703 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008116/1.52, allocations: 2.718 MB / 0.6966 GB, free: 5.613 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02185/1.542, allocations: 6.787 MB / 0.7033 GB, free: 292 kB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-05/1.542, allocations: 4 kB / 0.7033 GB, free: 288 kB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003992/1.546, allocations: 451.2 kB / 0.7037 GB, free: 15.88 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000797/1.547, allocations: 184.7 kB / 0.7039 GB, free: 15.71 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005939/1.548, allocations: 100.6 kB / 0.704 GB, free: 15.64 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00281/1.551, allocations: 3.081 MB / 0.707 GB, free: 12.51 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.349e-05/1.551, allocations: 14.73 kB / 0.707 GB, free: 12.5 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01225/1.563, allocations: 4.644 MB / 0.7115 GB, free: 8.812 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002242/1.565, allocations: 0.5157 MB / 0.712 GB, free: 8.379 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001099/1.567, allocations: 58.05 kB / 0.7121 GB, free: 8.352 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003132/1.57, allocations: 122.5 kB / 0.7122 GB, free: 8.258 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008395/1.571, allocations: 184.4 kB / 0.7124 GB, free: 8.105 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005764/1.571, allocations: 163.8 kB / 0.7125 GB, free: 7.961 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002582/1.574, allocations: 0.9938 MB / 0.7135 GB, free: 7.227 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.002e-06/1.574, allocations: 0 / 0.7135 GB, free: 7.227 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.009184/1.583, allocations: 1.697 MB / 0.7152 GB, free: 5.656 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.01991/1.603, allocations: 8.106 MB / 0.7231 GB, free: 14.74 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01455/1.618, allocations: 4.417 MB / 0.7274 GB, free: 11.59 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.67e-05/1.618, allocations: 4 kB / 0.7274 GB, free: 11.59 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004699/1.622, allocations: 1.561 MB / 0.7289 GB, free: 10.43 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008372/1.631, allocations: 0.914 MB / 0.7298 GB, free: 9.691 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02581/1.657, allocations: 16.18 MB / 0.7456 GB, free: 9.816 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002612/1.659, allocations: 1.718 MB / 0.7473 GB, free: 8.137 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.01071/1.67, allocations: 1.386 MB / 0.7486 GB, free: 6.762 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003827/1.674, allocations: 0.9835 MB / 0.7496 GB, free: 6.426 MB / 0.5417 GB Notification: Performance of SimCode: time 4.128e-06/1.674, allocations: 0 / 0.7496 GB, free: 6.426 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2323/1.906, allocations: 75.14 MB / 0.823 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004063/1.907, allocations: 274.4 kB / 0.8232 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.21/8.117, allocations: 4 kB / 0.8232 GB, free: 11.27 MB / 0.6198 GB