Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.464/2.464, allocations: 251 MB / 265.9 MB, free: 11.67 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001526/0.001526, allocations: 184.9 kB / 325.5 MB, free: 2.875 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.338/2.338, allocations: 205.4 MB / 0.5764 GB, free: 20.78 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001196/0.001196, allocations: 97.67 kB / 0.6809 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004633/0.0004634, allocations: 12 kB / 0.795 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2216/0.2221, allocations: 106.3 MB / 0.8988 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.305/1.527, allocations: 435.4 MB / 1.324 GB, free: 308 kB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005079/1.528, allocations: 97.95 kB / 1.324 GB, free: 252 kB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.604/5.132, allocations: 0.6765 GB / 2.001 GB, free: 93.11 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.715e-06/5.132, allocations: 0 / 2.001 GB, free: 93.11 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.000231/5.132, allocations: 47.86 kB / 2.001 GB, free: 93.07 MB / 0.8855 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.007579/5.139, allocations: 2.132 MB / 2.003 GB, free: 90.87 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.595e-05/5.14, allocations: 12.03 kB / 2.003 GB, free: 90.86 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006111/5.14, allocations: 135 kB / 2.003 GB, free: 90.71 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003085/5.143, allocations: 346.4 kB / 2.003 GB, free: 90.38 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0283/5.172, allocations: 8.445 MB / 2.011 GB, free: 81.81 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001034/5.172, allocations: 66 kB / 2.011 GB, free: 81.75 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002241/5.172, allocations: 91.94 kB / 2.012 GB, free: 81.66 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002963/5.175, allocations: 1.037 MB / 2.013 GB, free: 80.57 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.553e-05/5.175, allocations: 4 kB / 2.013 GB, free: 80.57 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000134/5.175, allocations: 36 kB / 2.013 GB, free: 80.53 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.765e-05/5.175, allocations: 23.94 kB / 2.013 GB, free: 80.51 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003022/5.178, allocations: 0.7806 MB / 2.013 GB, free: 79.73 MB / 0.8855 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.008774/5.187, allocations: 4.717 MB / 2.018 GB, free: 74.73 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002304/5.189, allocations: 0.5311 MB / 2.019 GB, free: 74.19 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003181/5.193, allocations: 1.673 MB / 2.02 GB, free: 72.34 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001392/5.194, allocations: 438.9 kB / 2.021 GB, free: 71.89 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006837/5.195, allocations: 79.41 kB / 2.021 GB, free: 71.82 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=47): time 3.115e-06/5.195, allocations: 0 / 2.021 GB, free: 71.82 MB / 0.8855 GB Notification: Performance of matching and sorting (n=47): time 0.005107/5.2, allocations: 1.332 MB / 2.022 GB, free: 70.41 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.518e-05/5.2, allocations: 114.8 kB / 2.022 GB, free: 70.27 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002279/5.202, allocations: 1.102 MB / 2.023 GB, free: 69.16 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002082/5.203, allocations: 41.7 kB / 2.023 GB, free: 69.12 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006756/5.203, allocations: 0.6532 MB / 2.024 GB, free: 68.46 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001859/5.203, allocations: 153.8 kB / 2.024 GB, free: 68.3 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.054e-05/5.204, allocations: 16 kB / 2.024 GB, free: 68.29 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 7.816e-05/5.204, allocations: 330 kB / 2.024 GB, free: 67.96 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001183/5.205, allocations: 265.1 kB / 2.025 GB, free: 67.7 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001304/5.206, allocations: 0.5442 MB / 2.025 GB, free: 67.03 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001237/5.207, allocations: 361.1 kB / 2.025 GB, free: 66.68 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.175e-06/5.207, allocations: 4 kB / 2.025 GB, free: 66.67 MB / 0.8855 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.003535/5.211, allocations: 1.012 MB / 2.026 GB, free: 65.64 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006321/5.212, allocations: 2.787 MB / 2.029 GB, free: 62.69 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.551e-05/5.212, allocations: 4 kB / 2.029 GB, free: 62.68 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005352/5.212, allocations: 97.62 kB / 2.029 GB, free: 62.58 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00118/5.213, allocations: 155.7 kB / 2.029 GB, free: 62.43 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007321/5.214, allocations: 1.124 MB / 2.031 GB, free: 61.25 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001649/5.216, allocations: 87.92 kB / 2.031 GB, free: 61.17 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001293/5.216, allocations: 39.98 kB / 2.031 GB, free: 61.13 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/5.216, allocations: 9.672 kB / 2.031 GB, free: 61.12 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002921/5.219, allocations: 0.8774 MB / 2.031 GB, free: 60.23 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/5.219, allocations: 4.656 kB / 2.031 GB, free: 60.23 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000427/5.219, allocations: 97.64 kB / 2.032 GB, free: 60.12 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001001/5.22, allocations: 147.7 kB / 2.032 GB, free: 59.98 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006312/5.221, allocations: 1.128 MB / 2.033 GB, free: 58.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001514/5.223, allocations: 80.05 kB / 2.033 GB, free: 58.72 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001137/5.223, allocations: 43.98 kB / 2.033 GB, free: 58.68 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (70): * Single equations (assignments): 66 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001102/5.224, allocations: 497.1 kB / 2.033 GB, free: 58.18 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003011/5.224, allocations: 142.3 kB / 2.034 GB, free: 58.04 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003676/5.228, allocations: 1.01 MB / 2.035 GB, free: 57 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.612e-05/5.228, allocations: 4 kB / 2.035 GB, free: 57 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.228e-06/5.228, allocations: 0 / 2.035 GB, free: 57 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.085e-05/5.228, allocations: 3.984 kB / 2.035 GB, free: 57 MB / 0.8855 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.005673/5.234, allocations: 2.121 MB / 2.037 GB, free: 54.79 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.816e-06/5.234, allocations: 7.938 kB / 2.037 GB, free: 54.78 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008672/5.235, allocations: 99.98 kB / 2.037 GB, free: 54.68 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004258/5.235, allocations: 77.67 kB / 2.037 GB, free: 54.6 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.431e-05/5.235, allocations: 15.98 kB / 2.037 GB, free: 54.59 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006408/5.236, allocations: 1.124 MB / 2.038 GB, free: 53.41 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.776e-06/5.236, allocations: 0 / 2.038 GB, free: 53.41 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003295/5.239, allocations: 1.179 MB / 2.039 GB, free: 52.15 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007133/5.24, allocations: 295.3 kB / 2.039 GB, free: 51.84 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002417/5.24, allocations: 8 kB / 2.039 GB, free: 51.84 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001409/5.241, allocations: 91.81 kB / 2.039 GB, free: 51.75 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001244/5.242, allocations: 31.95 kB / 2.039 GB, free: 51.71 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.996e-05/5.242, allocations: 35.97 kB / 2.04 GB, free: 51.68 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001696/5.243, allocations: 0.8715 MB / 2.04 GB, free: 50.81 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.51e-07/5.243, allocations: 0 / 2.04 GB, free: 50.81 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.003307/5.247, allocations: 0.7603 MB / 2.041 GB, free: 50.05 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (45): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.005587/5.252, allocations: 2.921 MB / 2.044 GB, free: 47.09 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.004242/5.257, allocations: 1.244 MB / 2.045 GB, free: 45.82 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 7.535e-06/5.257, allocations: 4 kB / 2.045 GB, free: 45.81 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001401/5.258, allocations: 434.1 kB / 2.046 GB, free: 45.38 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004665/5.263, allocations: 0.6132 MB / 2.046 GB, free: 44.77 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008681/5.272, allocations: 8.091 MB / 2.054 GB, free: 36.47 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008466/5.272, allocations: 1.23 MB / 2.055 GB, free: 35.2 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002227/5.275, allocations: 302.8 kB / 2.056 GB, free: 34.9 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001162/5.276, allocations: 0.5266 MB / 2.056 GB, free: 34.38 MB / 0.8855 GB Notification: Performance of SimCode: time 1.232e-06/5.276, allocations: 0 / 2.056 GB, free: 34.38 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8047/6.081, allocations: 45.14 MB / 2.1 GB, free: 151.7 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002441/6.081, allocations: 288 kB / 2.1 GB, free: 151.3 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.126/10.21, allocations: 0 / 2.1 GB, free: 151.3 MB / 0.8855 GB