Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation,fileNamePrefix="Buildings_7_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.3/package.mo): time 0.01461/0.01461, allocations: 88.36 kB / 15.04 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001788/0.001788, allocations: 174.3 kB / 15.92 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.584/2.584, allocations: 205.5 MB / 222.2 MB, free: 13.74 MB / 186.8 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.461/2.461, allocations: 252.8 MB / 0.511 GB, free: 8.379 MB / 426.8 MB Notification: Performance of FrontEnd - loaded program: time 0.0006692/0.0006693, allocations: 10.88 kB / 0.6243 GB, free: 28.29 MB / 0.4949 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2353/0.236, allocations: 106.2 MB / 0.7281 GB, free: 10.16 MB / 0.5574 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation): time 0.09242/0.3285, allocations: 48.06 MB / 0.775 GB, free: 9.977 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.03748/0.366, allocations: 15.36 MB / 0.79 GB, free: 10.59 MB / 0.6199 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002552/0.3686, allocations: 55.62 kB / 0.79 GB, free: 10.54 MB / 0.6199 GB Notification: Performance of NFTyping.typeComponents: time 0.004455/0.3731, allocations: 0.8904 MB / 0.7909 GB, free: 9.645 MB / 0.6199 GB Notification: Performance of NFTyping.typeBindings: time 0.009624/0.3828, allocations: 2.205 MB / 0.7931 GB, free: 7.434 MB / 0.6199 GB Notification: Performance of NFTyping.typeClassSections: time 0.01551/0.3983, allocations: 2.729 MB / 0.7957 GB, free: 4.703 MB / 0.6199 GB Notification: Performance of NFFlatten.flatten: time 0.00817/0.4065, allocations: 2.276 MB / 0.798 GB, free: 2.426 MB / 0.6199 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003087/0.4096, allocations: 1.014 MB / 0.7989 GB, free: 1.387 MB / 0.6199 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004287/0.414, allocations: 1.082 MB / 0.8 GB, free: 308 kB / 0.6199 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002375/0.4164, allocations: 0.7 MB / 0.8007 GB, free: 15.59 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0003721/0.4168, allocations: 52 kB / 0.8007 GB, free: 15.54 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004778/0.4216, allocations: 1.061 MB / 0.8018 GB, free: 14.48 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0007563/0.4224, allocations: 302.8 kB / 0.8021 GB, free: 14.19 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0009018/0.4233, allocations: 364.8 kB / 0.8024 GB, free: 13.82 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.006429/0.4298, allocations: 2.272 MB / 0.8046 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.4298, allocations: 0 / 0.8046 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.996e-06/0.4298, allocations: 0 / 0.8046 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.991e-05/0.4299, allocations: 0 / 0.8046 GB, free: 11.55 MB / 0.6355 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.006958/0.4369, allocations: 1.823 MB / 0.8064 GB, free: 9.66 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.673e-05/0.4369, allocations: 12.03 kB / 0.8064 GB, free: 9.648 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003995/0.4374, allocations: 131.1 kB / 0.8065 GB, free: 9.512 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003932/0.4413, allocations: 393.7 kB / 0.8069 GB, free: 9.125 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005589/0.4469, allocations: 1.465 MB / 0.8084 GB, free: 7.605 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001695/0.4487, allocations: 197.8 kB / 0.8085 GB, free: 7.414 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003269/0.449, allocations: 88 kB / 0.8086 GB, free: 7.328 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005319/0.4543, allocations: 1.099 MB / 0.8097 GB, free: 6.184 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.255e-05/0.4544, allocations: 7.938 kB / 0.8097 GB, free: 6.176 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002025/0.4546, allocations: 32 kB / 0.8097 GB, free: 6.145 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.915e-05/0.4547, allocations: 20 kB / 0.8098 GB, free: 6.125 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00619/0.4609, allocations: 0.9329 MB / 0.8107 GB, free: 5.195 MB / 0.6355 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.01243/0.4734, allocations: 5.144 MB / 0.8157 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003793/0.4772, allocations: 0.6979 MB / 0.8164 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004107/0.4813, allocations: 1.828 MB / 0.8182 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002066/0.4834, allocations: 473.5 kB / 0.8186 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006516/0.4841, allocations: 75.41 kB / 0.8187 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=44): time 3.798e-06/0.4841, allocations: 0 / 0.8187 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of matching and sorting (n=44): time 0.005908/0.4901, allocations: 1.253 MB / 0.8199 GB, free: 11.2 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.721e-05/0.4902, allocations: 89 kB / 0.82 GB, free: 11.09 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002874/0.4931, allocations: 1.336 MB / 0.8213 GB, free: 9.742 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.000162/0.4933, allocations: 41.7 kB / 0.8213 GB, free: 9.695 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.000866/0.4941, allocations: 0.6532 MB / 0.822 GB, free: 9.035 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002286/0.4944, allocations: 145.9 kB / 0.8221 GB, free: 8.891 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.196e-05/0.4944, allocations: 8 kB / 0.8221 GB, free: 8.883 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001624/0.4946, allocations: 337.9 kB / 0.8224 GB, free: 8.547 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001839/0.4965, allocations: 361.1 kB / 0.8228 GB, free: 8.195 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002084/0.4986, allocations: 0.6117 MB / 0.8234 GB, free: 7.469 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001937/0.5005, allocations: 434.2 kB / 0.8238 GB, free: 7.039 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.333e-06/0.5006, allocations: 0 / 0.8238 GB, free: 7.039 MB / 0.6511 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.004735/0.5053, allocations: 1.132 MB / 0.8249 GB, free: 5.895 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.00128/0.5066, allocations: 2.705 MB / 0.8275 GB, free: 3.027 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.798e-05/0.5067, allocations: 4 kB / 0.8275 GB, free: 3.023 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.429e-05/0.5067, allocations: 12 kB / 0.8276 GB, free: 3.012 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001603/0.5083, allocations: 199.7 kB / 0.8277 GB, free: 2.816 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.065e-05/0.5084, allocations: 15.92 kB / 0.8278 GB, free: 2.801 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001896/0.5103, allocations: 128.6 kB / 0.8279 GB, free: 2.676 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001317/0.5104, allocations: 39.97 kB / 0.8279 GB, free: 2.637 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 9.648e-06/0.5104, allocations: 4 kB / 0.8279 GB, free: 2.633 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003706/0.5142, allocations: 0.9504 MB / 0.8289 GB, free: 1.672 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.337e-05/0.5142, allocations: 12.09 kB / 0.8289 GB, free: 1.66 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.5142, allocations: 12 kB / 0.8289 GB, free: 1.648 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001292/0.5155, allocations: 183.8 kB / 0.8291 GB, free: 1.469 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.394e-05/0.5156, allocations: 11.94 kB / 0.8291 GB, free: 1.457 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00164/0.5172, allocations: 108.5 kB / 0.8292 GB, free: 1.352 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001101/0.5173, allocations: 39.98 kB / 0.8292 GB, free: 1.312 MB / 0.6511 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 (75): * Single equations (assignments): 73 * 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.001094/0.5184, allocations: 0.4907 MB / 0.8297 GB, free: 0.8047 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003176/0.5188, allocations: 134.3 kB / 0.8298 GB, free: 0.6719 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004688/0.5235, allocations: 1.072 MB / 0.8309 GB, free: 15.6 MB / 0.6668 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.829e-05/0.5235, allocations: 12 kB / 0.8309 GB, free: 15.59 MB / 0.6668 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.5235, allocations: 0 / 0.8309 GB, free: 15.59 MB / 0.6668 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.061e-05/0.5236, allocations: 3.984 kB / 0.8309 GB, free: 15.58 MB / 0.6668 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.007188/0.5308, allocations: 2.259 MB / 0.8331 GB, free: 13.23 MB / 0.6668 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.083e-06/0.5308, allocations: 3.938 kB / 0.8331 GB, free: 13.23 MB / 0.6668 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001217/0.532, allocations: 135.9 kB / 0.8332 GB, free: 13.09 MB / 0.6668 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-05/0.5321, allocations: 7.953 kB / 0.8332 GB, free: 13.09 MB / 0.6668 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-05/0.5322, allocations: 23.97 kB / 0.8332 GB, free: 13.06 MB / 0.6668 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-05/0.5322, allocations: 7.938 kB / 0.8333 GB, free: 13.05 MB / 0.6668 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.5322, allocations: 0 / 0.8333 GB, free: 13.05 MB / 0.6668 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004358/0.5366, allocations: 1.142 MB / 0.8344 GB, free: 11.85 MB / 0.6668 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008146/0.5374, allocations: 319.2 kB / 0.8347 GB, free: 11.52 MB / 0.6668 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002538/0.5377, allocations: 16 kB / 0.8347 GB, free: 11.5 MB / 0.6668 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001775/0.5395, allocations: 119.9 kB / 0.8348 GB, free: 11.39 MB / 0.6668 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001589/0.5396, allocations: 43.84 kB / 0.8348 GB, free: 11.34 MB / 0.6668 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001112/0.5398, allocations: 27.97 kB / 0.8349 GB, free: 11.32 MB / 0.6668 GB Notification: Performance of sorting global known variables: time 0.00219/0.542, allocations: 0.9145 MB / 0.8358 GB, free: 10.4 MB / 0.6668 GB Notification: Performance of sort global known variables: time 5.81e-07/0.542, allocations: 4 kB / 0.8358 GB, free: 10.4 MB / 0.6668 GB Notification: Performance of remove unused functions: time 0.003195/0.5452, allocations: 0.6899 MB / 0.8364 GB, free: 9.707 MB / 0.6668 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (46): * Single equations (assignments): 41 * 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.006317/0.5516, allocations: 2.316 MB / 0.8387 GB, free: 7.336 MB / 0.6668 GB Notification: Performance of simCode: created initialization part: time 0.006086/0.5577, allocations: 1.465 MB / 0.8401 GB, free: 5.844 MB / 0.6668 GB Notification: Performance of simCode: created event and clocks part: time 6.361e-06/0.5577, allocations: 0 / 0.8401 GB, free: 5.844 MB / 0.6668 GB Notification: Performance of simCode: created simulation system equations: time 0.002007/0.5597, allocations: 496.3 kB / 0.8406 GB, free: 5.348 MB / 0.6668 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004672/0.5644, allocations: 0.61 MB / 0.8412 GB, free: 4.742 MB / 0.6668 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6044/1.169, allocations: 7.995 MB / 0.849 GB, free: 111.3 MB / 0.6668 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002776/1.172, allocations: 1.229 MB / 0.8502 GB, free: 110.6 MB / 0.6668 GB Notification: Performance of simCode: alias equations: time 0.00318/1.175, allocations: 300.6 kB / 0.8505 GB, free: 110.6 MB / 0.6668 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00153/1.177, allocations: 0.5381 MB / 0.851 GB, free: 110.6 MB / 0.6668 GB Notification: Performance of SimCode: time 1.352e-06/1.177, allocations: 0.9375 kB / 0.851 GB, free: 110.6 MB / 0.6668 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.127/1.304, allocations: 38.81 MB / 0.8889 GB, free: 94.12 MB / 0.6668 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002717/1.304, allocations: 276.8 kB / 0.8892 GB, free: 93.76 MB / 0.6668 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.14/5.444, allocations: 7.547 kB / 0.8892 GB, free: 93.75 MB / 0.6668 GB