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.29/2.29, allocations: 248.7 MB / 256.2 MB, free: 7.082 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001604/0.001604, allocations: 180.6 kB / 315.4 MB, free: 4.023 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.989/1.989, allocations: 205.3 MB / 0.5662 GB, free: 0.5938 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001138/0.001138, allocations: 88.92 kB / 0.6704 GB, free: 5.801 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.799e-05/2.824e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1941/0.1941, allocations: 106.3 MB / 0.8841 GB, free: 12.99 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.932/2.126, allocations: 435.5 MB / 1.309 GB, free: 260 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003142/2.127, allocations: 93.86 kB / 1.31 GB, free: 259.9 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.493/5.619, allocations: 0.6709 GB / 1.98 GB, free: 164.5 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.134e-06/5.619, allocations: 0 / 1.98 GB, free: 164.5 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0002256/5.62, allocations: 42.08 kB / 1.98 GB, free: 164.5 MB / 0.8698 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.004853/5.625, allocations: 1.712 MB / 1.982 GB, free: 163.7 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.065e-05/5.625, allocations: 11.69 kB / 1.982 GB, free: 163.7 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002842/5.627, allocations: 354.2 kB / 1.982 GB, free: 163.6 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02708/5.655, allocations: 8.342 MB / 1.991 GB, free: 163.1 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.516e-05/5.655, allocations: 29.75 kB / 1.991 GB, free: 163.1 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001939/5.655, allocations: 53.84 kB / 1.991 GB, free: 163.1 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00173/5.657, allocations: 0.6158 MB / 1.991 GB, free: 163.1 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001941/5.659, allocations: 0.8531 MB / 1.992 GB, free: 162.9 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.262e-05/5.659, allocations: 3.469 kB / 1.992 GB, free: 162.9 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001219/5.659, allocations: 3.938 kB / 1.992 GB, free: 162.9 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.295e-05/5.659, allocations: 21.97 kB / 1.992 GB, free: 162.9 MB / 0.8698 GB Warning: The model contains alias variables with conflicting start and/or 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.008869/5.668, allocations: 4.568 MB / 1.997 GB, free: 160.7 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001141/5.669, allocations: 461 kB / 1.997 GB, free: 160.7 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004883/5.669, allocations: 235.7 kB / 1.997 GB, free: 160.7 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003188/5.673, allocations: 1.637 MB / 1.999 GB, free: 159.6 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006815/5.673, allocations: 363.9 kB / 1.999 GB, free: 159.5 MB / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006442/5.674, allocations: 74.22 kB / 1.999 GB, free: 159.5 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=47): time 3.196e-06/5.674, allocations: 0 / 1.999 GB, free: 159.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=47): time 0.002633/5.677, allocations: 0.7124 MB / 2 GB, free: 159.4 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.225e-05/5.677, allocations: 113.9 kB / 2 GB, free: 159.2 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001774/5.679, allocations: 0.962 MB / 2.001 GB, free: 159.1 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001369/5.679, allocations: 29.48 kB / 2.001 GB, free: 159 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000713/5.679, allocations: 0.6635 MB / 2.002 GB, free: 158.8 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001769/5.68, allocations: 146.6 kB / 2.002 GB, free: 158.7 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.419e-05/5.68, allocations: 0.5625 kB / 2.002 GB, free: 158.7 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.256e-05/5.68, allocations: 337.8 kB / 2.002 GB, free: 158.4 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004909/5.68, allocations: 207.7 kB / 2.002 GB, free: 158.4 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006472/5.681, allocations: 489.1 kB / 2.003 GB, free: 158.1 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001501/5.683, allocations: 341.1 kB / 2.003 GB, free: 158.1 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.785e-06/5.683, allocations: 0 / 2.003 GB, free: 158.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.002907/5.685, allocations: 0.8986 MB / 2.004 GB, free: 157.9 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006091/5.686, allocations: 2.768 MB / 2.007 GB, free: 155.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.706e-05/5.686, allocations: 7.688 kB / 2.007 GB, free: 155.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003953/5.687, allocations: 80.36 kB / 2.007 GB, free: 155.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001167/5.688, allocations: 158.7 kB / 2.007 GB, free: 155.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008367/5.689, allocations: 1.129 MB / 2.008 GB, free: 154.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001609/5.69, allocations: 72.39 kB / 2.008 GB, free: 154 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001348/5.69, allocations: 43.34 kB / 2.008 GB, free: 154 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/5.69, allocations: 7.859 kB / 2.008 GB, free: 154 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002508/5.693, allocations: 0.7247 MB / 2.009 GB, free: 154 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/5.693, allocations: 3.875 kB / 2.009 GB, free: 154 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003001/5.693, allocations: 80.72 kB / 2.009 GB, free: 154 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009949/5.694, allocations: 153.9 kB / 2.009 GB, free: 154 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007775/5.695, allocations: 1.143 MB / 2.01 GB, free: 153 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001469/5.697, allocations: 68.39 kB / 2.01 GB, free: 153 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001121/5.697, allocations: 46.84 kB / 2.01 GB, free: 153 MB / 0.8698 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 () * 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.0003119/5.697, allocations: 158.9 kB / 2.011 GB, free: 152.8 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002436/5.699, allocations: 0.7033 MB / 2.011 GB, free: 152.7 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001928/5.7, allocations: 127.1 kB / 2.011 GB, free: 152.6 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002794/5.702, allocations: 0.8598 MB / 2.012 GB, free: 152.5 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.378e-05/5.702, allocations: 7.391 kB / 2.012 GB, free: 152.5 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.246e-06/5.703, allocations: 3.438 kB / 2.012 GB, free: 152.5 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.827e-06/5.703, allocations: 0 / 2.012 GB, free: 152.5 MB / 0.8698 GB Warning: The model contains alias variables with conflicting start and/or 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.004632/5.707, allocations: 1.842 MB / 2.014 GB, free: 152.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.917e-06/5.707, allocations: 0 / 2.014 GB, free: 152.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008668/5.708, allocations: 109.7 kB / 2.014 GB, free: 152.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003055/5.708, allocations: 62 kB / 2.014 GB, free: 152.1 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.346e-05/5.709, allocations: 24.05 kB / 2.014 GB, free: 152.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008335/5.709, allocations: 1.133 MB / 2.015 GB, free: 151.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/5.709, allocations: 0 / 2.015 GB, free: 151.1 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002399/5.712, allocations: 1.033 MB / 2.016 GB, free: 150.6 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007067/5.713, allocations: 289.8 kB / 2.017 GB, free: 150.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002219/5.713, allocations: 3.219 kB / 2.017 GB, free: 150.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001399/5.714, allocations: 79.41 kB / 2.017 GB, free: 150.5 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000126/5.714, allocations: 46.42 kB / 2.017 GB, free: 150.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001014/5.714, allocations: 42.25 kB / 2.017 GB, free: 150.4 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001374/5.716, allocations: 0.7361 MB / 2.017 GB, free: 150.3 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5.61e-07/5.716, allocations: 0 / 2.017 GB, free: 150.3 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003232/5.719, allocations: 0.7313 MB / 2.018 GB, free: 150.2 MB / 0.8698 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) * 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.004775/5.724, allocations: 2.759 MB / 2.021 GB, free: 148.8 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002551/5.726, allocations: 1.075 MB / 2.022 GB, free: 148.6 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.101e-06/5.727, allocations: 0 / 2.022 GB, free: 148.6 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008438/5.727, allocations: 369.6 kB / 2.022 GB, free: 148.6 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00451/5.732, allocations: 0.5357 MB / 2.023 GB, free: 148.6 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00682/5.739, allocations: 1.944 MB / 2.025 GB, free: 147.9 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000904/5.74, allocations: 1.237 MB / 2.026 GB, free: 147.2 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.003095/5.743, allocations: 405.1 kB / 2.026 GB, free: 147.2 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009864/5.744, allocations: 0.4996 MB / 2.027 GB, free: 147.2 MB / 0.8698 GB Notification: Performance of SimCode: time 1.382e-06/5.744, allocations: 0 / 2.027 GB, free: 147.2 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1459/5.89, allocations: 39.95 MB / 2.066 GB, free: 145.5 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002534/5.89, allocations: 214.1 kB / 2.066 GB, free: 145.2 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.106/9.997, allocations: 0 / 2.066 GB, free: 145.2 MB / 0.8698 GB