Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.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.HeatingSubstation,fileNamePrefix="Buildings_7_0_0_Buildings_Experimental_DistrictHeatingCooling_SubStations_Validation_HeatingSubstation",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.127/2.127, allocations: 251 MB / 265.9 MB, free: 11.68 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.001594/0.001594, allocations: 176.3 kB / 325.5 MB, free: 2.883 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.442/2.442, 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.001145/0.001145, allocations: 87.36 kB / 0.6809 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006811/0.0006812, allocations: 13.5 kB / 0.795 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2076/0.2083, allocations: 106.3 MB / 0.8988 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.276/1.485, allocations: 435.4 MB / 1.324 GB, free: 200 kB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003296/1.485, allocations: 98.7 kB / 1.324 GB, free: 144 kB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.524/5.009, allocations: 0.6765 GB / 2.001 GB, free: 93.11 MB / 0.8855 GB Notification: Performance of FrontEnd: time 4.028e-06/5.009, allocations: 0 / 2.001 GB, free: 93.11 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002406/5.01, allocations: 39.94 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.007459/5.017, allocations: 2.136 MB / 2.003 GB, free: 90.87 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/5.017, allocations: 8.031 kB / 2.003 GB, free: 90.86 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005269/5.018, allocations: 131.1 kB / 2.003 GB, free: 90.73 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00278/5.02, allocations: 346.4 kB / 2.003 GB, free: 90.39 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02726/5.048, allocations: 8.447 MB / 2.011 GB, free: 81.82 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000119/5.048, allocations: 70 kB / 2.011 GB, free: 81.76 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000338/5.048, allocations: 88 kB / 2.012 GB, free: 81.67 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003353/5.052, allocations: 1.039 MB / 2.013 GB, free: 80.58 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.767e-05/5.052, allocations: 0 / 2.013 GB, free: 80.58 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001491/5.052, allocations: 43.94 kB / 2.013 GB, free: 80.54 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.139e-05/5.052, allocations: 20 kB / 2.013 GB, free: 80.52 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003414/5.055, allocations: 0.7767 MB / 2.013 GB, free: 79.74 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.00979/5.065, allocations: 4.729 MB / 2.018 GB, free: 74.73 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002471/5.068, allocations: 0.5277 MB / 2.019 GB, free: 74.2 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003507/5.071, allocations: 1.677 MB / 2.02 GB, free: 72.34 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001459/5.073, allocations: 430.9 kB / 2.021 GB, free: 71.9 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008541/5.074, allocations: 79.39 kB / 2.021 GB, free: 71.82 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=47): time 3.928e-06/5.074, allocations: 4 kB / 2.021 GB, free: 71.82 MB / 0.8855 GB Notification: Performance of matching and sorting (n=47): time 0.005246/5.079, allocations: 1.312 MB / 2.022 GB, free: 70.43 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.364e-05/5.079, allocations: 118.8 kB / 2.022 GB, free: 70.29 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002442/5.082, allocations: 1.114 MB / 2.023 GB, free: 69.17 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.000226/5.082, allocations: 45.69 kB / 2.023 GB, free: 69.12 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.000757/5.083, allocations: 0.6416 MB / 2.024 GB, free: 68.47 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002454/5.083, allocations: 157.8 kB / 2.024 GB, free: 68.32 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.264e-05/5.083, allocations: 12 kB / 2.024 GB, free: 68.3 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 8.302e-05/5.083, allocations: 330 kB / 2.024 GB, free: 67.98 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001235/5.084, allocations: 269.1 kB / 2.025 GB, free: 67.71 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001391/5.086, allocations: 0.5403 MB / 2.025 GB, free: 67.05 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00132/5.087, allocations: 361.2 kB / 2.025 GB, free: 66.69 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.079e-05/5.087, allocations: 4 kB / 2.025 GB, free: 66.69 MB / 0.8855 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.003738/5.091, allocations: 1.02 MB / 2.026 GB, free: 65.65 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.000565/5.091, allocations: 2.787 MB / 2.029 GB, free: 62.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.739e-05/5.092, allocations: 12.23 kB / 2.029 GB, free: 62.68 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005516/5.092, allocations: 85.66 kB / 2.029 GB, free: 62.59 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001239/5.093, allocations: 155.8 kB / 2.029 GB, free: 62.44 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007448/5.094, allocations: 1.136 MB / 2.03 GB, free: 61.25 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001707/5.096, allocations: 79.98 kB / 2.031 GB, free: 61.18 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001741/5.096, allocations: 47.98 kB / 2.031 GB, free: 61.13 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/5.096, allocations: 1.875 kB / 2.031 GB, free: 61.13 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003058/5.099, allocations: 0.8811 MB / 2.031 GB, free: 60.23 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.595e-05/5.099, allocations: 8 kB / 2.031 GB, free: 60.23 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004282/5.1, allocations: 85.67 kB / 2.032 GB, free: 60.14 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001059/5.101, allocations: 152.3 kB / 2.032 GB, free: 59.99 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006955/5.101, allocations: 1.124 MB / 2.033 GB, free: 58.81 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001594/5.103, allocations: 80.05 kB / 2.033 GB, free: 58.73 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001461/5.103, allocations: 43.98 kB / 2.033 GB, free: 58.69 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,QHea.a,QHea.b,QHea.last,$PRE.QHea.nextEvent,QHea.nextEvent,QHea.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.001145/5.104, allocations: 491.7 kB / 2.033 GB, free: 58.2 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004231/5.105, allocations: 134.3 kB / 2.034 GB, free: 58.06 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003906/5.109, allocations: 1.026 MB / 2.035 GB, free: 57.01 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-05/5.109, allocations: 8 kB / 2.035 GB, free: 57 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.498e-06/5.109, allocations: 0 / 2.035 GB, free: 57 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.129e-05/5.109, 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.006226/5.115, allocations: 2.101 MB / 2.037 GB, free: 54.81 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.568e-06/5.115, allocations: 4.125 kB / 2.037 GB, free: 54.81 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000863/5.116, allocations: 99.92 kB / 2.037 GB, free: 54.71 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004351/5.117, allocations: 85.62 kB / 2.037 GB, free: 54.62 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.851e-05/5.117, allocations: 19.98 kB / 2.037 GB, free: 54.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006668/5.117, allocations: 1.112 MB / 2.038 GB, free: 53.44 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/5.117, allocations: 7.984 kB / 2.038 GB, free: 53.43 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003415/5.121, allocations: 1.176 MB / 2.039 GB, free: 52.18 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008901/5.122, allocations: 291.3 kB / 2.039 GB, free: 51.87 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002915/5.122, allocations: 23.94 kB / 2.039 GB, free: 51.85 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00152/5.124, allocations: 83.77 kB / 2.039 GB, free: 51.77 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001515/5.124, allocations: 39.95 kB / 2.039 GB, free: 51.73 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001113/5.124, allocations: 31.97 kB / 2.039 GB, free: 51.7 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001908/5.126, allocations: 0.8754 MB / 2.04 GB, free: 50.82 MB / 0.8855 GB Notification: Performance of sort global known variables: time 7.32e-07/5.126, allocations: 0 / 2.04 GB, free: 50.82 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.003706/5.13, allocations: 0.7486 MB / 2.041 GB, free: 50.07 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,QHea.a,QHea.b,QHea.last,QHea.nextEvent,QHea.nextEventScaled) * Number of discrete states: 6 (QHea.nextEvent,QHea.last,QHea.nextEventScaled,QHea.b,QHea.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.006067/5.136, allocations: 2.933 MB / 2.044 GB, free: 47.1 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.004553/5.14, allocations: 1.236 MB / 2.045 GB, free: 45.84 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 9.859e-06/5.14, allocations: 4.125 kB / 2.045 GB, free: 45.83 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001511/5.142, allocations: 433.5 kB / 2.046 GB, free: 45.4 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00499/5.147, allocations: 0.6088 MB / 2.046 GB, free: 44.79 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009431/5.156, allocations: 8.089 MB / 2.054 GB, free: 36.5 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008718/5.157, allocations: 1.23 MB / 2.055 GB, free: 35.23 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002273/5.16, allocations: 302.8 kB / 2.056 GB, free: 34.93 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001128/5.161, allocations: 0.5266 MB / 2.056 GB, free: 34.4 MB / 0.8855 GB Notification: Performance of SimCode: time 9.21e-07/5.161, allocations: 4 kB / 2.056 GB, free: 34.4 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7837/5.944, allocations: 45.14 MB / 2.1 GB, free: 152.1 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002983/5.945, allocations: 288.7 kB / 2.1 GB, free: 151.8 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.305/10.25, allocations: 2.25 kB / 2.1 GB, free: 151.8 MB / 0.8855 GB