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.175/2.175, allocations: 248.5 MB / 261.1 MB, free: 6.016 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.001443/0.001443, allocations: 175.3 kB / 320.4 MB, free: 15.34 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.912/1.912, allocations: 205.2 MB / 0.571 GB, free: 11.82 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.001529/0.001529, allocations: 97.5 kB / 0.6754 GB, free: 0.9023 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.15e-05/4.157e-05, allocations: 0 / 0.7869 GB, free: 97.81 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.194/0.1941, allocations: 106.2 MB / 0.8907 GB, free: 7.473 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.875/2.069, allocations: 435.3 MB / 1.316 GB, free: 254.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002867/2.069, allocations: 94.67 kB / 1.316 GB, free: 254.1 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.62/5.689, allocations: 0.6743 GB / 1.99 GB, free: 162.2 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.003e-06/5.689, allocations: 0 / 1.99 GB, free: 162.2 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0002436/5.69, allocations: 41.17 kB / 1.99 GB, free: 162.2 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.004971/5.695, allocations: 1.718 MB / 1.992 GB, free: 161.4 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.103e-05/5.695, allocations: 14.44 kB / 1.992 GB, free: 161.4 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003436/5.695, allocations: 127.4 kB / 1.992 GB, free: 161.3 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002815/5.698, allocations: 343.4 kB / 1.992 GB, free: 161.3 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02799/5.726, allocations: 8.384 MB / 2.001 GB, free: 160.6 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001294/5.726, allocations: 70.17 kB / 2.001 GB, free: 160.6 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003221/5.727, allocations: 91.31 kB / 2.001 GB, free: 160.6 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002523/5.729, allocations: 0.9594 MB / 2.002 GB, free: 160.5 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.808e-05/5.729, allocations: 2.438 kB / 2.002 GB, free: 160.5 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001491/5.729, allocations: 35.62 kB / 2.002 GB, free: 160.5 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.194e-05/5.729, allocations: 19.12 kB / 2.002 GB, free: 160.5 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001966/5.731, allocations: 0.6575 MB / 2.002 GB, free: 160.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 preOpt removeSimpleEquations (simulation): time 0.01062/5.742, allocations: 4.739 MB / 2.007 GB, free: 158.2 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001283/5.743, allocations: 434 kB / 2.007 GB, free: 158.1 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006163/5.744, allocations: 234 kB / 2.008 GB, free: 158.1 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003673/5.748, allocations: 1.681 MB / 2.009 GB, free: 157.1 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008527/5.749, allocations: 383.9 kB / 2.01 GB, free: 157 MB / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008832/5.75, allocations: 86.61 kB / 2.01 GB, free: 157 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=47): time 4.869e-06/5.75, allocations: 0 / 2.01 GB, free: 157 MB / 0.8698 GB Notification: Performance of matching and sorting (n=47): time 0.00232/5.752, allocations: 0.6779 MB / 2.01 GB, free: 156.8 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.544e-05/5.752, allocations: 113.5 kB / 2.01 GB, free: 156.7 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002551/5.755, allocations: 1.093 MB / 2.012 GB, free: 156.5 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002582/5.755, allocations: 42.86 kB / 2.012 GB, free: 156.5 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007755/5.756, allocations: 0.6493 MB / 2.012 GB, free: 156.3 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002856/5.756, allocations: 151.2 kB / 2.012 GB, free: 156.2 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.099e-05/5.756, allocations: 17.38 kB / 2.012 GB, free: 156.2 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.598e-05/5.756, allocations: 335 kB / 2.013 GB, free: 155.9 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005785/5.757, allocations: 207.3 kB / 2.013 GB, free: 155.9 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000733/5.758, allocations: 488 kB / 2.013 GB, free: 155.5 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007032/5.758, allocations: 308.4 kB / 2.014 GB, free: 155.5 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.368e-06/5.758, allocations: 0 / 2.014 GB, free: 155.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.002585/5.761, allocations: 0.8971 MB / 2.015 GB, free: 155.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006581/5.762, allocations: 2.789 MB / 2.017 GB, free: 152.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.25e-05/5.762, allocations: 7.312 kB / 2.017 GB, free: 152.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006164/5.762, allocations: 86.83 kB / 2.017 GB, free: 152.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001249/5.764, allocations: 160.5 kB / 2.017 GB, free: 152.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008047/5.764, allocations: 1.119 MB / 2.019 GB, free: 151.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001846/5.766, allocations: 92.05 kB / 2.019 GB, free: 151.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002225/5.767, allocations: 44.83 kB / 2.019 GB, free: 151.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/5.767, allocations: 3.75 kB / 2.019 GB, free: 151.4 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002149/5.769, allocations: 0.7553 MB / 2.019 GB, free: 151.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.644e-05/5.769, allocations: 7 kB / 2.019 GB, free: 151.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004513/5.769, allocations: 89.31 kB / 2.02 GB, free: 151.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001082/5.77, allocations: 150.2 kB / 2.02 GB, free: 151.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007579/5.771, allocations: 1.132 MB / 2.021 GB, free: 150.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00172/5.773, allocations: 77.28 kB / 2.021 GB, free: 150.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001973/5.773, allocations: 39.28 kB / 2.021 GB, free: 150.3 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.0003773/5.774, allocations: 190.1 kB / 2.021 GB, free: 150.2 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003812/5.774, allocations: 138.2 kB / 2.021 GB, free: 150.1 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002767/5.777, allocations: 0.8918 MB / 2.022 GB, free: 150 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.192e-05/5.777, allocations: 11.12 kB / 2.022 GB, free: 150 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/5.777, allocations: 0 / 2.022 GB, free: 150 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.118e-05/5.777, allocations: 5.438 kB / 2.022 GB, free: 150 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.005235/5.782, allocations: 1.993 MB / 2.024 GB, free: 149.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.054e-05/5.782, allocations: 0 / 2.024 GB, free: 149.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009113/5.783, allocations: 106 kB / 2.024 GB, free: 149.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004563/5.784, allocations: 76.06 kB / 2.024 GB, free: 149.5 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001163/5.784, allocations: 21.59 kB / 2.024 GB, free: 149.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007069/5.784, allocations: 1.111 MB / 2.025 GB, free: 148.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/5.784, allocations: 2.906 kB / 2.025 GB, free: 148.4 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002343/5.787, allocations: 1.068 MB / 2.026 GB, free: 148 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009774/5.788, allocations: 295.2 kB / 2.027 GB, free: 147.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003657/5.788, allocations: 14 kB / 2.027 GB, free: 147.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001729/5.79, allocations: 79.97 kB / 2.027 GB, free: 147.8 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001812/5.79, allocations: 43.62 kB / 2.027 GB, free: 147.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001345/5.79, allocations: 29.75 kB / 2.027 GB, free: 147.8 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.00204/5.792, allocations: 0.8567 MB / 2.028 GB, free: 147.7 MB / 0.8698 GB Notification: Performance of sort global known variables: time 7.72e-07/5.792, allocations: 0.9375 kB / 2.028 GB, free: 147.7 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.004231/5.797, allocations: 0.7575 MB / 2.028 GB, free: 147.6 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.005174/5.802, allocations: 2.816 MB / 2.031 GB, free: 146.1 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002933/5.805, allocations: 1.117 MB / 2.032 GB, free: 146 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.016e-05/5.805, allocations: 1.781 kB / 2.032 GB, free: 146 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008377/5.806, allocations: 375.8 kB / 2.033 GB, free: 145.9 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00509/5.811, allocations: 0.6219 MB / 2.033 GB, free: 145.9 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006793/5.818, allocations: 2.02 MB / 2.035 GB, free: 145.2 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008868/5.819, allocations: 1.234 MB / 2.036 GB, free: 144.5 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.003338/5.822, allocations: 427.4 kB / 2.037 GB, free: 144.5 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001073/5.823, allocations: 0.5076 MB / 2.037 GB, free: 144.5 MB / 0.8698 GB Notification: Performance of SimCode: time 1.764e-06/5.823, allocations: 0 / 2.037 GB, free: 144.5 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1591/5.982, allocations: 48.96 MB / 2.085 GB, free: 142.3 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002871/5.983, allocations: 256.8 kB / 2.085 GB, free: 141.9 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.806/10.79, allocations: 7.938 kB / 2.085 GB, free: 141.9 MB / 0.8698 GB