Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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(Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation,fileNamePrefix="Buildings_6_0_0_Buildings_Experimental_DistrictHeatingCooling_SubStations_Validation_CoolingSubstation",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.01564/0.01564, allocations: 108.5 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.001851/0.00185, allocations: 181.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.002/2.002, allocations: 194.6 MB / 211.3 MB, free: 11.21 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.253/2.253, allocations: 236.2 MB / 492.6 MB, free: 11.3 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004958/0.0004962, allocations: 15.98 kB / 0.587 GB, free: 2.082 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.686/0.6865, allocations: 98.71 MB / 0.6834 GB, free: 16.86 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation): time 0.07969/0.7663, allocations: 47.52 MB / 0.7298 GB, free: 13.57 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.03509/0.8014, allocations: 15.32 MB / 0.7448 GB, free: 15.46 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002927/0.8044, allocations: 51.62 kB / 0.7448 GB, free: 15.41 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.004796/0.8093, allocations: 0.8904 MB / 0.7457 GB, free: 14.52 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.01023/0.8195, allocations: 2.197 MB / 0.7479 GB, free: 12.32 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.01213/0.8317, allocations: 2.654 MB / 0.7504 GB, free: 9.668 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.006568/0.8383, allocations: 2.296 MB / 0.7527 GB, free: 7.367 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002533/0.8409, allocations: 1.01 MB / 0.7537 GB, free: 6.332 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003736/0.8447, allocations: 1.082 MB / 0.7547 GB, free: 5.246 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002073/0.8468, allocations: 0.7038 MB / 0.7554 GB, free: 4.539 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0003882/0.8472, allocations: 52 kB / 0.7555 GB, free: 4.488 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004046/0.8513, allocations: 1.053 MB / 0.7565 GB, free: 3.434 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0007103/0.852, allocations: 302.8 kB / 0.7568 GB, free: 3.137 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0007342/0.8528, allocations: 356.9 kB / 0.7571 GB, free: 2.781 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.004785/0.8576, allocations: 2.264 MB / 0.7593 GB, free: 0.5117 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.8576, allocations: 0 / 0.7593 GB, free: 0.5117 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.985e-06/0.8576, allocations: 0 / 0.7593 GB, free: 0.5117 MB / 0.573 GB Notification: Performance of Transformations before backend: time 4.535e-05/0.8577, allocations: 0 / 0.7593 GB, free: 0.5117 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 206 * Number of variables: 206 Notification: Performance of Generate backend data structure: time 0.00531/0.863, allocations: 1.823 MB / 0.7611 GB, free: 14.62 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/0.8631, allocations: 8.031 kB / 0.7611 GB, free: 14.62 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003821/0.8635, allocations: 131.1 kB / 0.7612 GB, free: 14.48 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003139/0.8666, allocations: 397.7 kB / 0.7616 GB, free: 14.09 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00434/0.871, allocations: 1.473 MB / 0.7631 GB, free: 12.56 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001248/0.8723, allocations: 193.9 kB / 0.7632 GB, free: 12.38 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002677/0.8726, allocations: 91.95 kB / 0.7633 GB, free: 12.29 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004848/0.8774, allocations: 1.095 MB / 0.7644 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.502e-05/0.8775, allocations: 3.938 kB / 0.7644 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001403/0.8777, allocations: 32 kB / 0.7644 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.512e-05/0.8777, allocations: 20 kB / 0.7645 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004449/0.8822, allocations: 0.929 MB / 0.7654 GB, free: 10.16 MB / 0.5886 GB 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.01188/0.8941, allocations: 5.12 MB / 0.7704 GB, free: 4.738 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003864/0.898, allocations: 0.6938 MB / 0.771 GB, free: 4.035 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004093/0.9022, allocations: 1.797 MB / 0.7728 GB, free: 2.062 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002052/0.9043, allocations: 464.6 kB / 0.7732 GB, free: 1.59 MB / 0.5886 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006913/0.905, allocations: 75.34 kB / 0.7733 GB, free: 1.516 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=42): time 3.497e-06/0.905, allocations: 0 / 0.7733 GB, free: 1.516 MB / 0.5886 GB Notification: Performance of matching and sorting (n=42): time 0.005944/0.911, allocations: 1.19 MB / 0.7745 GB, free: 300 kB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.059e-05/0.9111, allocations: 85.11 kB / 0.7746 GB, free: 196 kB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003102/0.9142, allocations: 1.328 MB / 0.7759 GB, free: 14.85 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0002026/0.9145, allocations: 37.7 kB / 0.7759 GB, free: 14.81 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009403/0.9154, allocations: 0.6648 MB / 0.7765 GB, free: 14.14 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002822/0.9157, allocations: 145.9 kB / 0.7767 GB, free: 13.99 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.198e-05/0.9158, allocations: 8 kB / 0.7767 GB, free: 13.98 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0002345/0.916, allocations: 334 kB / 0.777 GB, free: 13.65 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001934/0.918, allocations: 353.1 kB / 0.7773 GB, free: 13.3 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002147/0.9202, allocations: 0.5961 MB / 0.7779 GB, free: 12.6 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002029/0.9222, allocations: 434.1 kB / 0.7783 GB, free: 12.17 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.019e-05/0.9223, allocations: 4 kB / 0.7783 GB, free: 12.16 MB / 0.6042 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.004795/0.9271, allocations: 1.085 MB / 0.7794 GB, free: 11.07 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.001247/0.9284, allocations: 2.704 MB / 0.782 GB, free: 8.203 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.654e-05/0.9284, allocations: 8 kB / 0.7821 GB, free: 8.195 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.507e-05/0.9285, allocations: 16 kB / 0.7821 GB, free: 8.18 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001658/0.9301, allocations: 191.7 kB / 0.7822 GB, free: 7.992 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.482e-05/0.9302, allocations: 19.92 kB / 0.7823 GB, free: 7.973 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001923/0.9321, allocations: 112.5 kB / 0.7824 GB, free: 7.863 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001614/0.9323, allocations: 43.98 kB / 0.7824 GB, free: 7.82 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.9323, allocations: 4 kB / 0.7824 GB, free: 7.816 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003713/0.9361, allocations: 0.9035 MB / 0.7833 GB, free: 6.906 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.047e-05/0.9361, allocations: 8 kB / 0.7833 GB, free: 6.898 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.291e-05/0.9362, allocations: 11.95 kB / 0.7833 GB, free: 6.887 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00135/0.9375, allocations: 184 kB / 0.7835 GB, free: 6.707 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.382e-05/0.9376, allocations: 15.94 kB / 0.7835 GB, free: 6.691 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001769/0.9394, allocations: 117.2 kB / 0.7836 GB, free: 6.578 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001574/0.9395, allocations: 35.98 kB / 0.7837 GB, free: 6.543 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,QCoo.a,QCoo.b,QCoo.last,$PRE.QCoo.nextEvent,QCoo.nextEvent,QCoo.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 72 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001236/0.9408, allocations: 494.5 kB / 0.7841 GB, free: 6.043 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005042/0.9413, allocations: 130.4 kB / 0.7843 GB, free: 5.914 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004661/0.946, allocations: 1.021 MB / 0.7853 GB, free: 4.891 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.977e-05/0.9461, allocations: 4 kB / 0.7853 GB, free: 4.887 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/0.9461, allocations: 0 / 0.7853 GB, free: 4.887 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.191e-05/0.9461, allocations: 3.984 kB / 0.7853 GB, free: 4.883 MB / 0.6042 GB 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 postOpt removeSimpleEquations (simulation): time 0.0075/0.9536, allocations: 2.157 MB / 0.7874 GB, free: 2.641 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.081e-05/0.9537, allocations: 4 kB / 0.7874 GB, free: 2.637 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001518/0.9552, allocations: 131.9 kB / 0.7875 GB, free: 2.508 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.3e-05/0.9552, allocations: 4 kB / 0.7875 GB, free: 2.504 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.091e-05/0.9553, allocations: 19.97 kB / 0.7875 GB, free: 2.484 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.401e-05/0.9554, allocations: 11.92 kB / 0.7875 GB, free: 2.473 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.9554, allocations: 0 / 0.7875 GB, free: 2.473 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004396/0.9598, allocations: 1.044 MB / 0.7885 GB, free: 1.379 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001032/0.9609, allocations: 311.2 kB / 0.7888 GB, free: 1.055 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003993/0.9613, allocations: 12 kB / 0.7889 GB, free: 1.043 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002055/0.9634, allocations: 131.8 kB / 0.789 GB, free: 0.9141 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001935/0.9636, allocations: 31.95 kB / 0.789 GB, free: 0.8828 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000143/0.9638, allocations: 27.97 kB / 0.789 GB, free: 0.8555 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.004049/0.9678, allocations: 0.9068 MB / 0.7899 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.408e-06/0.9679, allocations: 0 / 0.7899 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.006139/0.9741, allocations: 0.6977 MB / 0.7906 GB, free: 15.25 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,QCoo.a,QCoo.b,QCoo.last,QCoo.nextEvent,QCoo.nextEventScaled) * Number of discrete states: 6 (QCoo.nextEvent,QCoo.last,QCoo.nextEventScaled,QCoo.b,QCoo.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008761/0.9829, allocations: 2.066 MB / 0.7926 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.006253/0.9892, allocations: 1.459 MB / 0.794 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/0.9892, allocations: 0 / 0.794 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.002081/0.9913, allocations: 493.3 kB / 0.7945 GB, free: 11.17 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005108/0.9965, allocations: 0.6067 MB / 0.7951 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01182/1.008, allocations: 7.971 MB / 0.8029 GB, free: 2.41 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001188/1.01, allocations: 1.241 MB / 0.8041 GB, free: 1.133 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.002193/1.012, allocations: 287.7 kB / 0.8044 GB, free: 0.8594 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001253/1.013, allocations: 0.5344 MB / 0.8049 GB, free: 332 kB / 0.6198 GB Notification: Performance of SimCode: time 9.82e-07/1.013, allocations: 0 / 0.8049 GB, free: 332 kB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1421/1.155, allocations: 38.66 MB / 0.8427 GB, free: 10.17 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003556/1.156, allocations: 268.4 kB / 0.8429 GB, free: 9.812 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.331/5.487, allocations: 0 / 0.8429 GB, free: 9.812 MB / 0.6667 GB