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.678/1.678, allocations: 249.3 MB / 261.8 MB, free: 5.82 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.001142/0.001142, allocations: 180.6 kB / 321.3 MB, free: 14.66 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.723/1.723, allocations: 205.2 MB / 0.572 GB, free: 10.64 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.0009013/0.0009015, allocations: 96.7 kB / 0.6764 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.03e-05/3.034e-05, allocations: 0 / 0.788 GB, free: 97.02 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2177/0.2177, allocations: 106.3 MB / 0.8919 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.457/1.675, allocations: 435.5 MB / 1.317 GB, free: 303.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002785/1.675, allocations: 92.31 kB / 1.317 GB, free: 303.7 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.301/3.976, allocations: 0.6743 GB / 1.992 GB, free: 161.4 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.106e-06/3.976, allocations: 1.641 kB / 1.992 GB, free: 161.4 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001799/3.976, allocations: 42.86 kB / 1.992 GB, free: 161.4 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.003698/3.98, allocations: 1.721 MB / 1.993 GB, free: 160.6 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.889e-05/3.98, allocations: 7.312 kB / 1.993 GB, free: 160.6 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001562/3.98, allocations: 126.5 kB / 1.993 GB, free: 160.6 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001456/3.981, allocations: 352 kB / 1.994 GB, free: 160.5 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01721/3.999, allocations: 8.374 MB / 2.002 GB, free: 159.9 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.276e-05/3.999, allocations: 68.12 kB / 2.002 GB, free: 159.9 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001503/3.999, allocations: 87.62 kB / 2.002 GB, free: 159.9 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001613/4.001, allocations: 0.9702 MB / 2.003 GB, free: 159.7 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.162e-05/4.001, allocations: 3.812 kB / 2.003 GB, free: 159.7 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.218e-05/4.001, allocations: 34.72 kB / 2.003 GB, free: 159.7 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.521e-05/4.001, allocations: 23.16 kB / 2.003 GB, free: 159.7 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001014/4.002, allocations: 0.6483 MB / 2.004 GB, free: 159.7 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.00626/4.008, allocations: 4.745 MB / 2.008 GB, free: 157.4 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007431/4.009, allocations: 442.8 kB / 2.009 GB, free: 157.4 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003241/4.009, allocations: 247.9 kB / 2.009 GB, free: 157.4 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002281/4.011, allocations: 1.665 MB / 2.011 GB, free: 156.4 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005401/4.012, allocations: 379.6 kB / 2.011 GB, free: 156.3 MB / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003933/4.012, allocations: 87.33 kB / 2.011 GB, free: 156.2 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=47): time 2.956e-06/4.012, allocations: 0 / 2.011 GB, free: 156.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=47): time 0.001184/4.014, allocations: 0.6705 MB / 2.012 GB, free: 156.1 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.784e-05/4.014, allocations: 123.4 kB / 2.012 GB, free: 155.9 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001322/4.015, allocations: 1.095 MB / 2.013 GB, free: 155.8 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 6.097e-05/4.015, allocations: 39.3 kB / 2.013 GB, free: 155.7 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004606/4.016, allocations: 0.6482 MB / 2.014 GB, free: 155.5 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001112/4.016, allocations: 157.4 kB / 2.014 GB, free: 155.4 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.354e-05/4.016, allocations: 14.75 kB / 2.014 GB, free: 155.4 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.13e-05/4.016, allocations: 334 kB / 2.014 GB, free: 155.1 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003192/4.016, allocations: 208.2 kB / 2.014 GB, free: 155.1 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004335/4.017, allocations: 484.6 kB / 2.015 GB, free: 154.8 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003809/4.017, allocations: 306.5 kB / 2.015 GB, free: 154.8 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/4.017, allocations: 3.938 kB / 2.015 GB, free: 154.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001265/4.018, allocations: 0.9003 MB / 2.016 GB, free: 154.6 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006193/4.019, allocations: 2.781 MB / 2.019 GB, free: 151.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/4.019, allocations: 7.219 kB / 2.019 GB, free: 151.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003885/4.019, allocations: 86.75 kB / 2.019 GB, free: 151.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000608/4.02, allocations: 155.9 kB / 2.019 GB, free: 151.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005183/4.02, allocations: 1.123 MB / 2.02 GB, free: 150.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009827/4.021, allocations: 85.89 kB / 2.02 GB, free: 150.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.117e-05/4.022, allocations: 44.11 kB / 2.02 GB, free: 150.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/4.022, allocations: 7.094 kB / 2.02 GB, free: 150.7 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001199/4.023, allocations: 0.7547 MB / 2.021 GB, free: 150.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/4.023, allocations: 14.03 kB / 2.021 GB, free: 150.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002455/4.023, allocations: 86.45 kB / 2.021 GB, free: 150.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005097/4.024, allocations: 150.5 kB / 2.021 GB, free: 150.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000471/4.024, allocations: 1.133 MB / 2.022 GB, free: 149.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008356/4.025, allocations: 81.69 kB / 2.022 GB, free: 149.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.163e-05/4.025, allocations: 38.16 kB / 2.022 GB, free: 149.6 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.0002421/4.025, allocations: 193.7 kB / 2.022 GB, free: 149.4 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001782/4.025, allocations: 139.8 kB / 2.023 GB, free: 149.4 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001702/4.027, allocations: 0.8904 MB / 2.023 GB, free: 149.2 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.279e-05/4.027, allocations: 10.94 kB / 2.023 GB, free: 149.2 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/4.027, allocations: 0 / 2.023 GB, free: 149.2 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/4.027, allocations: 3.375 kB / 2.023 GB, free: 149.2 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.002876/4.03, allocations: 1.987 MB / 2.025 GB, free: 148.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/4.03, allocations: 2.094 kB / 2.025 GB, free: 148.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004559/4.031, allocations: 103.8 kB / 2.026 GB, free: 148.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002621/4.031, allocations: 80 kB / 2.026 GB, free: 148.7 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.397e-05/4.031, allocations: 21.47 kB / 2.026 GB, free: 148.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004463/4.031, allocations: 1.107 MB / 2.027 GB, free: 147.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/4.031, allocations: 9.391 kB / 2.027 GB, free: 147.7 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001157/4.032, allocations: 1.051 MB / 2.028 GB, free: 147.2 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004938/4.033, allocations: 299.4 kB / 2.028 GB, free: 147.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001464/4.033, allocations: 10.81 kB / 2.028 GB, free: 147.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000778/4.034, allocations: 89.75 kB / 2.028 GB, free: 147.1 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001038/4.034, allocations: 45.38 kB / 2.028 GB, free: 147.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.49e-05/4.034, allocations: 33.83 kB / 2.028 GB, free: 147.1 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001158/4.035, allocations: 0.8567 MB / 2.029 GB, free: 146.9 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.693e-06/4.035, allocations: 0 / 2.029 GB, free: 146.9 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002412/4.038, allocations: 0.7641 MB / 2.03 GB, free: 146.8 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.003159/4.041, allocations: 2.802 MB / 2.033 GB, free: 145.3 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001744/4.043, allocations: 1.121 MB / 2.034 GB, free: 145.2 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/4.043, allocations: 0 / 2.034 GB, free: 145.2 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004642/4.043, allocations: 376.2 kB / 2.034 GB, free: 145.1 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002724/4.046, allocations: 0.6224 MB / 2.035 GB, free: 145.1 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004255/4.05, allocations: 2.014 MB / 2.037 GB, free: 144.5 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006681/4.051, allocations: 1.233 MB / 2.038 GB, free: 143.8 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001834/4.053, allocations: 428.4 kB / 2.038 GB, free: 143.8 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006001/4.053, allocations: 0.5115 MB / 2.039 GB, free: 143.8 MB / 0.8698 GB Notification: Performance of SimCode: time 1.042e-06/4.053, allocations: 0 / 2.039 GB, free: 143.8 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07893/4.132, allocations: 48.96 MB / 2.086 GB, free: 141.6 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001911/4.132, allocations: 268.4 kB / 2.087 GB, free: 141.3 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.783/7.915, allocations: 3.75 kB / 2.087 GB, free: 141.3 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)