Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17.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.BranchingPipes17,fileNamePrefix="ModelicaTest_3_2_2_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.2/package.mo): time 0.0165/0.0165, allocations: 108 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.2.mo): time 0.00205/0.00205, allocations: 180.3 kB / 15.95 MB, free: 5.52 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.071/2.071, allocations: 194.6 MB / 211.3 MB, free: 11.02 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.3233/0.3233, allocations: 40.04 MB / 296.5 MB, free: 6.246 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004639/0.000464, allocations: 8 kB / 361.1 MB, free: 9.535 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.1367, allocations: 54.88 MB / 416 MB, free: 2.555 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17): time 0.6176/0.7543, allocations: 186.8 MB / 0.5887 GB, free: 13.06 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.06425/0.8186, allocations: 23.2 MB / 0.6114 GB, free: 5.832 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003928/0.8226, allocations: 107.1 kB / 0.6115 GB, free: 5.727 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005916/0.8286, allocations: 0.9876 MB / 0.6124 GB, free: 4.734 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02247/0.8511, allocations: 3.954 MB / 0.6163 GB, free: 0.7773 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.4679/1.319, allocations: 5.188 MB / 0.6214 GB, free: 6.273 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.02424/1.343, allocations: 3.724 MB / 0.625 GB, free: 6.266 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004402/1.348, allocations: 1.328 MB / 0.6263 GB, free: 6.16 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02189/1.37, allocations: 2.191 MB / 0.6284 GB, free: 6.156 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01503/1.385, allocations: 1.69 MB / 0.6301 GB, free: 6.145 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004987/1.39, allocations: 113.7 kB / 0.6302 GB, free: 6.145 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01873/1.409, allocations: 3.243 MB / 0.6334 GB, free: 6.145 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002777/1.411, allocations: 0.7643 MB / 0.6341 GB, free: 6.145 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002553/1.414, allocations: 0.4914 MB / 0.6346 GB, free: 22.11 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01425/1.428, allocations: 3.928 MB / 0.6384 GB, free: 21.81 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/1.428, allocations: 0 / 0.6384 GB, free: 21.81 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.406e-06/1.428, allocations: 1.031 kB / 0.6384 GB, free: 21.81 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001539/1.429, allocations: 0 / 0.6384 GB, free: 21.81 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: 452 * Number of variables: 452 Notification: Performance of Generate backend data structure: time 0.01368/1.442, allocations: 3.025 MB / 0.6414 GB, free: 20.33 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.628e-05/1.442, allocations: 12.69 kB / 0.6414 GB, free: 20.33 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001524/1.444, allocations: 261.6 kB / 0.6416 GB, free: 20.28 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005098/1.449, allocations: 444.4 kB / 0.6421 GB, free: 20.15 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006181/1.455, allocations: 1.487 MB / 0.6435 GB, free: 19.73 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002866/1.456, allocations: 132 kB / 0.6436 GB, free: 19.73 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001102/1.457, allocations: 178.6 kB / 0.6438 GB, free: 19.73 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01067/1.468, allocations: 2.631 MB / 0.6464 GB, free: 19.4 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001136/1.468, allocations: 7.062 kB / 0.6464 GB, free: 19.4 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009224/1.469, allocations: 75.86 kB / 0.6465 GB, free: 19.4 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000559/1.469, allocations: 196.7 kB / 0.6467 GB, free: 19.39 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00899/1.478, allocations: 2.311 MB / 0.6489 GB, free: 19.37 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.03072/1.509, allocations: 11.27 MB / 0.6599 GB, free: 12.45 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006209/1.515, allocations: 1.843 MB / 0.6617 GB, free: 11.9 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001783/1.517, allocations: 456.1 kB / 0.6621 GB, free: 11.57 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00423/1.521, allocations: 1.209 MB / 0.6633 GB, free: 11.18 MB / 490.7 MB Notification: Performance of pre-optimization done (n=172): time 7.183e-06/1.522, allocations: 0 / 0.6633 GB, free: 11.18 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 5: junctionVolume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=200): time 0.06232/1.584, allocations: 12.04 MB / 0.6751 GB, free: 7.344 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001567/1.584, allocations: 185.2 kB / 0.6753 GB, free: 7.148 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004279/1.588, allocations: 1.564 MB / 0.6768 GB, free: 6.703 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009285/1.589, allocations: 63.36 kB / 0.6768 GB, free: 6.672 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001443/1.591, allocations: 0.9455 MB / 0.6778 GB, free: 6.211 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001512/1.592, allocations: 0.6767 MB / 0.6784 GB, free: 5.719 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004715/1.593, allocations: 46.16 kB / 0.6785 GB, free: 5.719 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003355/1.593, allocations: 396.9 kB / 0.6789 GB, free: 5.387 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003998/1.597, allocations: 1.072 MB / 0.6799 GB, free: 5.074 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004949/1.602, allocations: 1.605 MB / 0.6815 GB, free: 3.684 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004917/1.607, allocations: 1.368 MB / 0.6828 GB, free: 2.805 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-05/1.607, allocations: 4 kB / 0.6828 GB, free: 2.801 MB / 490.7 MB Notification: Performance of matching and sorting (n=297) (initialization): time 0.01435/1.622, allocations: 3.345 MB / 0.6861 GB, free: 436 kB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.003329/1.625, allocations: 5.825 MB / 0.6918 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.399e-05/1.625, allocations: 12 kB / 0.6918 GB, free: 10.19 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001569/1.627, allocations: 311.2 kB / 0.6921 GB, free: 9.918 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005359/1.632, allocations: 0.5832 MB / 0.6926 GB, free: 9.387 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003502/1.636, allocations: 3.017 MB / 0.6956 GB, free: 6.395 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00484/1.641, allocations: 207.3 kB / 0.6958 GB, free: 6.227 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001181/1.642, allocations: 211.4 kB / 0.696 GB, free: 6.039 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/1.642, allocations: 4 kB / 0.696 GB, free: 6.035 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01482/1.657, allocations: 3.083 MB / 0.699 GB, free: 3.945 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001015/1.657, allocations: 16 kB / 0.699 GB, free: 3.93 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002038/1.659, allocations: 306.8 kB / 0.6993 GB, free: 3.664 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007388/1.666, allocations: 0.5778 MB / 0.6999 GB, free: 3.137 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005064/1.672, allocations: 3.013 MB / 0.7028 GB, free: 156 kB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006375/1.678, allocations: 215 kB / 0.703 GB, free: 15.98 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001373/1.679, allocations: 204.7 kB / 0.7032 GB, free: 15.8 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 64 * 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 (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.004257/1.684, allocations: 0.7254 MB / 0.7039 GB, free: 15.28 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001715/1.686, allocations: 225.3 kB / 0.7041 GB, free: 15.05 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02378/1.709, allocations: 3.746 MB / 0.7078 GB, free: 12.38 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.239e-05/1.71, allocations: 20 kB / 0.7078 GB, free: 12.36 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-05/1.71, allocations: 8 kB / 0.7078 GB, free: 12.35 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01457/1.724, allocations: 2.894 MB / 0.7106 GB, free: 10.13 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03498/1.759, allocations: 6.916 MB / 0.7174 GB, free: 4.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.338e-05/1.759, allocations: 8.5 kB / 0.7174 GB, free: 4.832 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005395/1.765, allocations: 459.7 kB / 0.7178 GB, free: 4.418 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00236/1.767, allocations: 325.9 kB / 0.7182 GB, free: 4.129 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009727/1.768, allocations: 110.4 kB / 0.7183 GB, free: 4.055 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006641/1.775, allocations: 3.754 MB / 0.7219 GB, free: 288 kB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.425e-05/1.775, allocations: 9.844 kB / 0.7219 GB, free: 284 kB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01585/1.791, allocations: 4.874 MB / 0.7267 GB, free: 12.47 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002523/1.793, allocations: 0.5365 MB / 0.7272 GB, free: 12.03 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001117/1.795, allocations: 66.36 kB / 0.7273 GB, free: 12 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003294/1.798, allocations: 124.8 kB / 0.7274 GB, free: 11.9 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007778/1.799, allocations: 189.4 kB / 0.7276 GB, free: 11.74 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005337/1.799, allocations: 180 kB / 0.7278 GB, free: 11.58 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002804/1.802, allocations: 1.026 MB / 0.7288 GB, free: 10.83 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.032e-06/1.802, allocations: 1.75 kB / 0.7288 GB, free: 10.83 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01037/1.813, allocations: 1.806 MB / 0.7305 GB, free: 9.16 MB / 0.5261 GB 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: 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 (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.02238/1.835, allocations: 8.236 MB / 0.7386 GB, free: 2.199 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01586/1.851, allocations: 4.677 MB / 0.7431 GB, free: 14.88 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.616e-05/1.851, allocations: 0 / 0.7431 GB, free: 14.88 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.005288/1.856, allocations: 1.652 MB / 0.7447 GB, free: 13.65 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009664/1.866, allocations: 1.043 MB / 0.7458 GB, free: 12.79 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02953/1.896, allocations: 17.56 MB / 0.7629 GB, free: 11.57 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002912/1.899, allocations: 1.766 MB / 0.7646 GB, free: 9.848 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.01127/1.91, allocations: 1.416 MB / 0.766 GB, free: 8.438 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004335/1.914, allocations: 1.042 MB / 0.767 GB, free: 8.078 MB / 0.5573 GB Notification: Performance of SimCode: time 1.352e-06/1.914, allocations: 0 / 0.767 GB, free: 8.078 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6341/2.548, allocations: 81.07 MB / 0.8462 GB, free: 292.9 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003138/2.549, allocations: 268.7 kB / 0.8465 GB, free: 292.6 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.69/9.239, allocations: 0 / 0.8465 GB, free: 292.6 MB / 0.6198 GB