Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.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.BranchingPipes15,fileNamePrefix="ModelicaTest_3_2_1_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.1/package.mo): time 0.01527/0.01527, allocations: 103.9 kB / 15.05 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.1.mo): time 0.001874/0.001874, allocations: 176.4 kB / 15.94 MB, free: 5.961 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.928/1.928, allocations: 170.9 MB / 187.5 MB, free: 1.012 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.3007/0.3007, allocations: 38.09 MB / 265.1 MB, free: 3.98 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004925/0.0004926, allocations: 12 kB / 323.6 MB, free: 29.65 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09768/0.0982, allocations: 48.7 MB / 372.3 MB, free: 12.86 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15): time 0.6526/0.7509, allocations: 180.8 MB / 0.5401 GB, free: 2.766 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.05025/0.8012, allocations: 22.03 MB / 0.5617 GB, free: 12.7 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003154/0.8044, allocations: 99.25 kB / 0.5618 GB, free: 12.6 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004415/0.8089, allocations: 0.9409 MB / 0.5627 GB, free: 11.65 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01502/0.824, allocations: 3.545 MB / 0.5661 GB, free: 8.098 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.02076/0.8448, allocations: 5.092 MB / 0.5711 GB, free: 3.008 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.008398/0.8532, allocations: 3.492 MB / 0.5745 GB, free: 15.5 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00317/0.8564, allocations: 1.241 MB / 0.5757 GB, free: 14.24 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007032/0.8635, allocations: 2.045 MB / 0.5777 GB, free: 12.19 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00467/0.8682, allocations: 1.6 MB / 0.5793 GB, free: 10.58 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000947/0.8692, allocations: 112 kB / 0.5794 GB, free: 10.47 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01099/0.8802, allocations: 3.16 MB / 0.5825 GB, free: 7.309 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00201/0.8823, allocations: 0.7401 MB / 0.5832 GB, free: 6.566 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001374/0.8837, allocations: 472.5 kB / 0.5837 GB, free: 6.098 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01042/0.8942, allocations: 3.757 MB / 0.5873 GB, free: 2.332 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.8942, allocations: 4 kB / 0.5873 GB, free: 2.328 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.915e-06/0.8942, allocations: 3.938 kB / 0.5873 GB, free: 2.324 MB / 442.7 MB Notification: Performance of Transformations before backend: time 9.601e-05/0.8944, allocations: 0 / 0.5873 GB, free: 2.324 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.2873/1.182, allocations: 2.902 MB / 0.5902 GB, free: 170.6 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.668e-05/1.182, allocations: 8.5 kB / 0.5902 GB, free: 170.6 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001067/1.183, allocations: 243.5 kB / 0.5904 GB, free: 170.5 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004293/1.187, allocations: 430.6 kB / 0.5908 GB, free: 170.4 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005274/1.192, allocations: 1.428 MB / 0.5922 GB, free: 170 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002131/1.193, allocations: 126 kB / 0.5923 GB, free: 169.9 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007569/1.193, allocations: 162.9 kB / 0.5925 GB, free: 169.9 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009048/1.203, allocations: 2.503 MB / 0.5949 GB, free: 168.9 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.559e-05/1.203, allocations: 2.594 kB / 0.5949 GB, free: 168.9 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003615/1.203, allocations: 71.47 kB / 0.595 GB, free: 168.8 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004471/1.204, allocations: 187.6 kB / 0.5952 GB, free: 168.8 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007764/1.211, allocations: 2.211 MB / 0.5973 GB, free: 168 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.02453/1.236, allocations: 10.68 MB / 0.6078 GB, free: 159.8 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005163/1.241, allocations: 1.77 MB / 0.6095 GB, free: 158.8 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001429/1.243, allocations: 462 kB / 0.6099 GB, free: 158.4 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003072/1.246, allocations: 1.147 MB / 0.6111 GB, free: 157.7 MB / 442.7 MB Notification: Performance of pre-optimization done (n=158): time 5.239e-06/1.246, allocations: 0 / 0.6111 GB, free: 157.7 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.04397/1.29, allocations: 10.82 MB / 0.6216 GB, free: 150.6 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.353e-05/1.29, allocations: 176.2 kB / 0.6218 GB, free: 150.4 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002608/1.292, allocations: 1.498 MB / 0.6233 GB, free: 148.9 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005577/1.293, allocations: 57.7 kB / 0.6233 GB, free: 148.8 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000798/1.294, allocations: 0.9052 MB / 0.6242 GB, free: 147.9 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000928/1.295, allocations: 0.6146 MB / 0.6248 GB, free: 147.3 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000229/1.295, allocations: 40 kB / 0.6248 GB, free: 147.3 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001441/1.295, allocations: 390.2 kB / 0.6252 GB, free: 146.9 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002882/1.298, allocations: 1.005 MB / 0.6262 GB, free: 145.9 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003451/1.302, allocations: 1.497 MB / 0.6277 GB, free: 144.2 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003517/1.305, allocations: 1.293 MB / 0.6289 GB, free: 142.9 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.9e-05/1.305, allocations: 4 kB / 0.6289 GB, free: 142.9 MB / 442.7 MB Notification: Performance of matching and sorting (n=271) (initialization): time 0.008985/1.314, allocations: 3.118 MB / 0.632 GB, free: 139.7 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00118/1.315, allocations: 5.244 MB / 0.6371 GB, free: 134 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.703e-05/1.316, allocations: 19.89 kB / 0.6371 GB, free: 134 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007568/1.316, allocations: 196.2 kB / 0.6373 GB, free: 133.8 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004675/1.321, allocations: 0.5617 MB / 0.6378 GB, free: 133.2 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001699/1.323, allocations: 2.331 MB / 0.6401 GB, free: 130.8 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00412/1.327, allocations: 207.8 kB / 0.6403 GB, free: 130.6 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007261/1.328, allocations: 191.9 kB / 0.6405 GB, free: 130.4 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/1.328, allocations: 4 kB / 0.6405 GB, free: 130.4 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007621/1.335, allocations: 2.852 MB / 0.6433 GB, free: 127.5 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.596e-05/1.335, allocations: 15.98 kB / 0.6433 GB, free: 127.5 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006254/1.336, allocations: 195.3 kB / 0.6435 GB, free: 127.3 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004345/1.34, allocations: 0.5539 MB / 0.644 GB, free: 126.7 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001614/1.342, allocations: 2.337 MB / 0.6463 GB, free: 124.3 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003743/1.346, allocations: 207.8 kB / 0.6465 GB, free: 124.1 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006786/1.347, allocations: 184 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.001838/1.348, allocations: 0.6921 MB / 0.6474 GB, free: 123.2 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006207/1.349, allocations: 201.6 kB / 0.6476 GB, free: 123 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01081/1.36, allocations: 3.494 MB / 0.651 GB, free: 119.5 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.502e-05/1.36, allocations: 20 kB / 0.651 GB, free: 119.5 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.143e-05/1.36, allocations: 3.938 kB / 0.651 GB, free: 119.5 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006346/1.366, allocations: 2.732 MB / 0.6537 GB, free: 116.6 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01757/1.384, allocations: 6.767 MB / 0.6603 GB, free: 109.6 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.625e-05/1.384, allocations: 4 kB / 0.6603 GB, free: 109.6 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003625/1.388, allocations: 447.5 kB / 0.6607 GB, free: 109.2 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007285/1.388, allocations: 191.3 kB / 0.6609 GB, free: 109 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004271/1.389, allocations: 99.95 kB / 0.661 GB, free: 108.9 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002131/1.391, allocations: 3.078 MB / 0.664 GB, free: 105.6 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.554e-06/1.391, allocations: 8.281 kB / 0.664 GB, free: 105.6 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009985/1.401, allocations: 4.633 MB / 0.6685 GB, free: 100.7 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001725/1.403, allocations: 0.5061 MB / 0.669 GB, free: 100.1 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005944/1.403, allocations: 63.92 kB / 0.6691 GB, free: 100.1 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002586/1.406, allocations: 123.8 kB / 0.6692 GB, free: 99.95 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006023/1.407, allocations: 183 kB / 0.6694 GB, free: 99.77 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003897/1.407, allocations: 163.9 kB / 0.6695 GB, free: 99.61 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001957/1.409, allocations: 0.9918 MB / 0.6705 GB, free: 98.62 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.71e-07/1.409, allocations: 0 / 0.6705 GB, free: 98.62 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.007062/1.416, allocations: 1.692 MB / 0.6721 GB, free: 97.05 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.01612/1.432, allocations: 8.084 MB / 0.68 GB, free: 88.95 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01155/1.444, allocations: 4.295 MB / 0.6842 GB, free: 84.61 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.446e-05/1.444, allocations: 0 / 0.6842 GB, free: 84.61 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003526/1.448, allocations: 1.506 MB / 0.6857 GB, free: 83.07 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007488/1.455, allocations: 0.9178 MB / 0.6866 GB, free: 82.16 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01826/1.473, allocations: 16.14 MB / 0.7023 GB, free: 65.55 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001433/1.475, allocations: 1.715 MB / 0.704 GB, free: 63.79 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.008497/1.483, allocations: 1.375 MB / 0.7054 GB, free: 62.42 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003196/1.487, allocations: 0.9796 MB / 0.7063 GB, free: 61.44 MB / 442.7 MB Notification: Performance of SimCode: time 2.073e-06/1.487, allocations: 0 / 0.7063 GB, free: 61.44 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4627/1.949, allocations: 74.68 MB / 0.7792 GB, free: 152.2 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002933/1.95, allocations: 271.3 kB / 0.7795 GB, free: 151.8 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.571/8.52, allocations: 0 / 0.7795 GB, free: 151.8 MB / 442.7 MB