Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Experimental_DistrictHeatingCooling_SubStations_Validation_HeatingSubstation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation,fileNamePrefix="Buildings_maint_7_0_x_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.3-maint.7.0.x/package.mo): time 1.427/1.427, allocations: 249.5 MB / 257 MB, free: 6.832 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.001176/0.001176, allocations: 187.4 kB / 316.3 MB, free: 3.242 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.482/1.482, allocations: 205.3 MB / 0.5671 GB, free: 15.9 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.0009225/0.0009225, allocations: 96.17 kB / 0.6714 GB, free: 5.023 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.952e-05/1.941e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1826/0.1826, allocations: 106.3 MB / 0.8853 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.283/1.466, allocations: 435.8 MB / 1.311 GB, free: 257.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002337/1.466, allocations: 89.73 kB / 1.311 GB, free: 257.7 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.995/3.46, allocations: 0.6709 GB / 1.982 GB, free: 163.1 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.673e-06/3.461, allocations: 2.625 kB / 1.982 GB, free: 163.1 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001585/3.461, allocations: 36.12 kB / 1.982 GB, free: 163.1 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.002889/3.464, allocations: 1.713 MB / 1.984 GB, free: 162.3 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/3.464, allocations: 6.719 kB / 1.984 GB, free: 162.3 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001342/3.465, allocations: 355.8 kB / 1.984 GB, free: 162.2 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01667/3.482, allocations: 8.363 MB / 1.992 GB, free: 161.6 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.809e-05/3.482, allocations: 29.19 kB / 1.992 GB, free: 161.6 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001204/3.482, allocations: 55.72 kB / 1.992 GB, free: 161.6 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001114/3.483, allocations: 0.6175 MB / 1.993 GB, free: 161.6 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001239/3.484, allocations: 0.8504 MB / 1.994 GB, free: 161.4 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.972e-05/3.484, allocations: 0 / 1.994 GB, free: 161.4 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.497e-05/3.484, allocations: 6.094 kB / 1.994 GB, free: 161.4 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.998e-05/3.484, allocations: 22.12 kB / 1.994 GB, free: 161.4 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.005197/3.49, allocations: 4.568 MB / 1.998 GB, free: 159.2 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000616/3.49, allocations: 453.9 kB / 1.998 GB, free: 159.2 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002581/3.491, allocations: 231.8 kB / 1.999 GB, free: 159.2 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001833/3.492, allocations: 1.647 MB / 2 GB, free: 158.1 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004149/3.493, allocations: 357.5 kB / 2.001 GB, free: 158 MB / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003043/3.493, allocations: 68.11 kB / 2.001 GB, free: 158 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=47): time 2.615e-06/3.493, allocations: 0 / 2.001 GB, free: 158 MB / 0.8698 GB Notification: Performance of matching and sorting (n=47): time 0.001607/3.495, allocations: 0.7209 MB / 2.001 GB, free: 157.9 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/3.495, allocations: 120.4 kB / 2.002 GB, free: 157.7 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001026/3.496, allocations: 0.9574 MB / 2.002 GB, free: 157.6 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.332e-05/3.496, allocations: 31.27 kB / 2.003 GB, free: 157.6 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000433/3.496, allocations: 0.6658 MB / 2.003 GB, free: 157.3 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 9.44e-05/3.496, allocations: 143.4 kB / 2.003 GB, free: 157.2 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.467e-05/3.496, allocations: 2.219 kB / 2.003 GB, free: 157.2 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 5.918e-05/3.497, allocations: 335.4 kB / 2.004 GB, free: 156.9 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002611/3.497, allocations: 203.4 kB / 2.004 GB, free: 156.9 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003514/3.497, allocations: 484.8 kB / 2.004 GB, free: 156.6 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008508/3.498, allocations: 342.6 kB / 2.005 GB, free: 156.6 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.09e-06/3.498, allocations: 6.906 kB / 2.005 GB, free: 156.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001558/3.5, allocations: 0.8927 MB / 2.005 GB, free: 156.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004756/3.5, allocations: 2.772 MB / 2.008 GB, free: 153.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-05/3.5, allocations: 9.812 kB / 2.008 GB, free: 153.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002443/3.5, allocations: 79.41 kB / 2.008 GB, free: 153.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005668/3.501, allocations: 150.9 kB / 2.008 GB, free: 153.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005251/3.501, allocations: 1.135 MB / 2.01 GB, free: 152.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007933/3.502, allocations: 69.97 kB / 2.01 GB, free: 152.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.213e-05/3.502, allocations: 48.95 kB / 2.01 GB, free: 152.6 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 7.784e-06/3.502, allocations: 3.969 kB / 2.01 GB, free: 152.6 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001464/3.504, allocations: 0.7231 MB / 2.01 GB, free: 152.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/3.504, allocations: 7.094 kB / 2.01 GB, free: 152.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001718/3.504, allocations: 76.05 kB / 2.01 GB, free: 152.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004979/3.505, allocations: 151 kB / 2.011 GB, free: 152.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004967/3.505, allocations: 1.146 MB / 2.012 GB, free: 151.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007013/3.506, allocations: 70.62 kB / 2.012 GB, free: 151.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.686e-05/3.506, allocations: 44.34 kB / 2.012 GB, free: 151.5 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,QHea.a,QHea.b,QHea.last,$PRE.QHea.nextEvent,QHea.nextEvent,QHea.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.0002088/3.506, allocations: 156.7 kB / 2.012 GB, free: 151.3 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001329/3.507, allocations: 0.6984 MB / 2.013 GB, free: 151.2 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001199/3.508, allocations: 128 kB / 2.013 GB, free: 151.1 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001706/3.509, allocations: 0.859 MB / 2.014 GB, free: 151.1 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.119e-05/3.509, allocations: 7.922 kB / 2.014 GB, free: 151.1 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/3.509, allocations: 3.625 kB / 2.014 GB, free: 151.1 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/3.509, allocations: 0 / 2.014 GB, free: 151.1 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.002879/3.512, allocations: 1.84 MB / 2.015 GB, free: 150.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.531e-06/3.512, allocations: 6.188 kB / 2.015 GB, free: 150.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004433/3.513, allocations: 103.9 kB / 2.016 GB, free: 150.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001789/3.513, allocations: 60.11 kB / 2.016 GB, free: 150.6 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.875e-05/3.513, allocations: 17.53 kB / 2.016 GB, free: 150.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005013/3.513, allocations: 1.13 MB / 2.017 GB, free: 149.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/3.513, allocations: 3.625 kB / 2.017 GB, free: 149.6 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001366/3.515, allocations: 1.029 MB / 2.018 GB, free: 149.1 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004773/3.515, allocations: 288.2 kB / 2.018 GB, free: 149 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001542/3.515, allocations: 11.45 kB / 2.018 GB, free: 149 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007535/3.516, allocations: 76.78 kB / 2.018 GB, free: 149 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.779e-05/3.516, allocations: 40.86 kB / 2.018 GB, free: 149 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.607e-05/3.516, allocations: 38.25 kB / 2.018 GB, free: 149 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.000998/3.517, allocations: 0.7355 MB / 2.019 GB, free: 148.9 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.71e-07/3.517, allocations: 0 / 2.019 GB, free: 148.9 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002332/3.52, allocations: 0.737 MB / 2.02 GB, free: 148.7 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,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) * 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.003038/3.523, allocations: 2.75 MB / 2.022 GB, free: 147.3 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001498/3.524, allocations: 1.071 MB / 2.023 GB, free: 147.2 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.654e-06/3.524, allocations: 1.969 kB / 2.023 GB, free: 147.2 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004403/3.525, allocations: 370.8 kB / 2.024 GB, free: 147.1 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002174/3.527, allocations: 0.549 MB / 2.024 GB, free: 147.1 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003495/3.53, allocations: 1.941 MB / 2.026 GB, free: 146.5 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005613/3.531, allocations: 1.237 MB / 2.027 GB, free: 145.8 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001596/3.533, allocations: 401.7 kB / 2.028 GB, free: 145.7 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005068/3.533, allocations: 0.5016 MB / 2.028 GB, free: 145.7 MB / 0.8698 GB Notification: Performance of SimCode: time 5.91e-07/3.533, allocations: 1.812 kB / 2.028 GB, free: 145.7 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08117/3.614, allocations: 39.95 MB / 2.067 GB, free: 144 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001461/3.615, allocations: 219.3 kB / 2.067 GB, free: 143.7 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.207/6.822, allocations: 3.75 kB / 2.067 GB, free: 143.7 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Experimental_DistrictHeatingCooling_SubStations_Validation_HeatingSubstation_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Experimental_DistrictHeatingCooling_SubStations_Validation_HeatingSubstation.fmu > Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe 2>&1)