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: translateModel(Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009356/0.009361, allocations: 108.5 kB / 15.06 MB, free: 5.562 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.001159/0.001159, allocations: 180.2 kB / 15.95 MB, free: 5.523 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.097/2.097, allocations: 194.6 MB / 211.3 MB, free: 11.28 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.229/2.229, allocations: 236.2 MB / 492.6 MB, free: 11.31 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008048/0.0008049, allocations: 16 kB / 0.5869 GB, free: 2.191 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5505/0.5513, allocations: 98.71 MB / 0.6833 GB, free: 16.72 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation): time 0.06474/0.6161, allocations: 47.52 MB / 0.7297 GB, free: 13.51 MB / 0.5574 GB Notification: Performance of NFInst.instExpressions: time 0.02911/0.6452, allocations: 15.3 MB / 0.7447 GB, free: 15.47 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002658/0.6479, allocations: 51.62 kB / 0.7447 GB, free: 15.42 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.003557/0.6515, allocations: 0.8943 MB / 0.7456 GB, free: 14.52 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.008237/0.6598, allocations: 2.189 MB / 0.7477 GB, free: 12.32 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.01003/0.6699, allocations: 2.668 MB / 0.7504 GB, free: 9.66 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.005363/0.6752, allocations: 2.292 MB / 0.7526 GB, free: 7.363 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002027/0.6773, allocations: 1.014 MB / 0.7536 GB, free: 6.324 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002644/0.68, allocations: 1.074 MB / 0.7546 GB, free: 5.246 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001309/0.6813, allocations: 0.7 MB / 0.7553 GB, free: 4.543 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.000202/0.6815, allocations: 55.94 kB / 0.7554 GB, free: 4.488 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003026/0.6846, allocations: 1.053 MB / 0.7564 GB, free: 3.434 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0004694/0.6851, allocations: 306.8 kB / 0.7567 GB, free: 3.133 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0005618/0.6856, allocations: 360.9 kB / 0.757 GB, free: 2.773 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.003552/0.6892, allocations: 2.26 MB / 0.7592 GB, free: 0.5078 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 2.938e-06/0.6892, allocations: 0 / 0.7592 GB, free: 0.5078 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.193e-06/0.6892, allocations: 0 / 0.7592 GB, free: 0.5078 MB / 0.573 GB Notification: Performance of Transformations before backend: time 2.644e-05/0.6893, allocations: 0 / 0.7592 GB, free: 0.5078 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.003952/0.6932, allocations: 1.823 MB / 0.761 GB, free: 14.62 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.6933, allocations: 11.97 kB / 0.761 GB, free: 14.61 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00196/0.6953, allocations: 397.7 kB / 0.7614 GB, free: 14.22 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003254/0.6985, allocations: 1.469 MB / 0.7628 GB, free: 12.7 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007613/0.6993, allocations: 201.9 kB / 0.763 GB, free: 12.5 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001996/0.6996, allocations: 91.98 kB / 0.7631 GB, free: 12.41 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002993/0.7026, allocations: 1.099 MB / 0.7642 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.436e-05/0.7026, allocations: 0 / 0.7642 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001355/0.7028, allocations: 32 kB / 0.7642 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.613e-05/0.7028, allocations: 20 kB / 0.7642 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003446/0.7062, allocations: 0.9329 MB / 0.7652 GB, free: 10.29 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.009636/0.7159, allocations: 5.101 MB / 0.7701 GB, free: 4.879 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002631/0.7186, allocations: 0.7109 MB / 0.7708 GB, free: 4.16 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003329/0.7219, allocations: 1.801 MB / 0.7726 GB, free: 2.184 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001525/0.7235, allocations: 464.6 kB / 0.773 GB, free: 1.711 MB / 0.5886 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004584/0.724, allocations: 71.34 kB / 0.7731 GB, free: 1.641 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=42): time 3.507e-06/0.724, allocations: 4 kB / 0.7731 GB, free: 1.637 MB / 0.5886 GB Notification: Performance of matching and sorting (n=42): time 0.004049/0.728, allocations: 1.182 MB / 0.7743 GB, free: 432 kB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.096e-05/0.7281, allocations: 85.11 kB / 0.7743 GB, free: 328 kB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00247/0.7306, allocations: 1.324 MB / 0.7756 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001257/0.7308, allocations: 41.64 kB / 0.7757 GB, free: 14.94 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008169/0.7316, allocations: 0.6687 MB / 0.7763 GB, free: 14.26 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001894/0.7318, allocations: 149.9 kB / 0.7765 GB, free: 14.11 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.143e-05/0.7319, allocations: 8 kB / 0.7765 GB, free: 14.11 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001743/0.7321, allocations: 334 kB / 0.7768 GB, free: 13.77 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001312/0.7334, allocations: 345.1 kB / 0.7771 GB, free: 13.43 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001529/0.7349, allocations: 0.6039 MB / 0.7777 GB, free: 12.72 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001387/0.7363, allocations: 434.2 kB / 0.7781 GB, free: 12.29 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.679e-06/0.7364, allocations: 4 kB / 0.7781 GB, free: 12.29 MB / 0.6042 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.00346/0.7398, allocations: 1.081 MB / 0.7792 GB, free: 11.19 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.001392/0.7413, allocations: 2.703 MB / 0.7818 GB, free: 8.328 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.846e-05/0.7413, allocations: 8 kB / 0.7818 GB, free: 8.32 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.024e-05/0.7413, allocations: 12 kB / 0.7818 GB, free: 8.309 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001095/0.7424, allocations: 195.7 kB / 0.782 GB, free: 8.117 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.35e-05/0.7425, allocations: 15.92 kB / 0.7821 GB, free: 8.102 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001448/0.7439, allocations: 113.4 kB / 0.7822 GB, free: 7.992 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001266/0.7441, allocations: 47.97 kB / 0.7822 GB, free: 7.945 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.7441, allocations: 4 kB / 0.7822 GB, free: 7.941 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002735/0.7469, allocations: 0.8952 MB / 0.7831 GB, free: 7.039 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.632e-05/0.7469, allocations: 8 kB / 0.7831 GB, free: 7.031 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.7469, allocations: 8 kB / 0.7831 GB, free: 7.023 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009424/0.7479, allocations: 188.3 kB / 0.7833 GB, free: 6.84 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.121e-05/0.7479, allocations: 19.88 kB / 0.7833 GB, free: 6.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001303/0.7492, allocations: 112.5 kB / 0.7834 GB, free: 6.711 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000107/0.7494, allocations: 39.98 kB / 0.7834 GB, free: 6.672 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.0009799/0.7503, allocations: 490.6 kB / 0.7839 GB, free: 6.176 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002612/0.7506, allocations: 134.3 kB / 0.784 GB, free: 6.043 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003351/0.754, allocations: 1.017 MB / 0.785 GB, free: 5.023 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-05/0.754, allocations: 11.94 kB / 0.785 GB, free: 5.012 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.681e-06/0.754, allocations: 4 kB / 0.785 GB, free: 5.008 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.924e-06/0.7541, allocations: 0 / 0.785 GB, free: 5.008 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.005445/0.7595, allocations: 2.153 MB / 0.7871 GB, free: 2.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.501e-06/0.7595, allocations: 4 kB / 0.7872 GB, free: 2.766 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008137/0.7604, allocations: 131.9 kB / 0.7873 GB, free: 2.637 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.009e-05/0.7604, allocations: 8 kB / 0.7873 GB, free: 2.629 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.994e-05/0.7605, allocations: 15.98 kB / 0.7873 GB, free: 2.613 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.797e-06/0.7605, allocations: 4 kB / 0.7873 GB, free: 2.609 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.638e-06/0.7605, allocations: 0 / 0.7873 GB, free: 2.609 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003101/0.7636, allocations: 1.048 MB / 0.7883 GB, free: 1.512 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006843/0.7643, allocations: 319.2 kB / 0.7886 GB, free: 1.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002019/0.7645, allocations: 8 kB / 0.7886 GB, free: 1.172 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001215/0.7658, allocations: 115.9 kB / 0.7888 GB, free: 1.059 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001228/0.7659, allocations: 39.89 kB / 0.7888 GB, free: 1.02 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.938e-05/0.766, allocations: 23.98 kB / 0.7888 GB, free: 0.9961 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.00179/0.7678, allocations: 0.9106 MB / 0.7897 GB, free: 88 kB / 0.6042 GB Notification: Performance of sort global known variables: time 7.9e-07/0.7678, allocations: 4 kB / 0.7897 GB, free: 84 kB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002421/0.7703, allocations: 0.6977 MB / 0.7904 GB, free: 15.38 MB / 0.6199 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.001133/0.7714, allocations: 461.1 kB / 0.7908 GB, free: 14.93 MB / 0.6199 GB Notification: Performance of simCode: created initialization part: time 0.004412/0.7758, allocations: 1.455 MB / 0.7922 GB, free: 13.46 MB / 0.6199 GB Notification: Performance of simCode: created event and clocks part: time 4.946e-06/0.7759, allocations: 0 / 0.7922 GB, free: 13.46 MB / 0.6199 GB Notification: Performance of simCode: created simulation system equations: time 0.00142/0.7773, allocations: 489.5 kB / 0.7927 GB, free: 12.97 MB / 0.6199 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00319/0.7805, allocations: 0.6094 MB / 0.7933 GB, free: 12.37 MB / 0.6199 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005931/0.7865, allocations: 2.755 MB / 0.796 GB, free: 9.574 MB / 0.6199 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001171/0.7877, allocations: 1.233 MB / 0.7972 GB, free: 8.305 MB / 0.6199 GB Notification: Performance of simCode: alias equations: time 0.001826/0.7895, allocations: 298.9 kB / 0.7975 GB, free: 8.023 MB / 0.6199 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003966/0.7899, allocations: 107.4 kB / 0.7976 GB, free: 7.918 MB / 0.6199 GB Notification: Performance of SimCode: time 1.675e-06/0.7899, allocations: 0 / 0.7976 GB, free: 7.918 MB / 0.6199 GB Notification: Performance of Templates: time 0.06404/0.854, allocations: 26.42 MB / 0.8234 GB, free: 13.88 MB / 0.6511 GB