Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Obsolete_DistrictHeatingCooling_SubStations_Validation_HeatingSubstation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Obsolete_DistrictHeatingCooling_SubStations_Validation_HeatingSubstation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.692/1.692, allocations: 288.2 MB / 303.2 MB, free: 8.113 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001232/0.001232, allocations: 177 kB / 371.8 MB, free: 10.28 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.863/1.863, allocations: 205.4 MB / 0.6305 GB, free: 10.01 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001189/0.001189, allocations: 102.6 kB / 0.7439 GB, free: 5.926 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004188/0.0004188, allocations: 19.88 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2707/0.2712, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.178/1.449, allocations: 443.2 MB / 1.412 GB, free: 2.375 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003028/1.45, allocations: 101.6 kB / 1.412 GB, free: 2.316 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.665/4.114, allocations: 0.6954 GB / 2.108 GB, free: 70.88 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.967e-06/4.114, allocations: 4 kB / 2.108 GB, free: 70.88 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001725/4.115, allocations: 35.92 kB / 2.108 GB, free: 70.84 MB / 0.948 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.004898/4.119, allocations: 2.149 MB / 2.11 GB, free: 68.62 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 7.897e-05/4.12, allocations: 8.031 kB / 2.11 GB, free: 68.62 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002254/4.12, allocations: 127.1 kB / 2.11 GB, free: 68.48 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001527/4.121, allocations: 350.3 kB / 2.11 GB, free: 68.14 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01767/4.139, allocations: 8.612 MB / 2.119 GB, free: 59.41 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.4e-05/4.139, allocations: 70 kB / 2.119 GB, free: 59.34 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001301/4.139, allocations: 88 kB / 2.119 GB, free: 59.25 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001901/4.141, allocations: 1.031 MB / 2.12 GB, free: 58.17 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.054e-05/4.141, allocations: 3.938 kB / 2.12 GB, free: 58.16 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.567e-05/4.141, allocations: 36 kB / 2.12 GB, free: 58.13 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.838e-05/4.141, allocations: 20 kB / 2.12 GB, free: 58.11 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001592/4.143, allocations: 0.7845 MB / 2.121 GB, free: 57.32 MB / 0.948 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.006199/4.149, allocations: 4.735 MB / 2.125 GB, free: 52.32 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001255/4.15, allocations: 0.5291 MB / 2.126 GB, free: 51.79 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002223/4.153, allocations: 1.665 MB / 2.127 GB, free: 49.95 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007905/4.153, allocations: 441.3 kB / 2.128 GB, free: 49.49 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000412/4.154, allocations: 83.39 kB / 2.128 GB, free: 49.41 MB / 0.948 GB Notification: Performance of pre-optimization done (n=47): time 2.495e-06/4.154, allocations: 0 / 2.128 GB, free: 49.41 MB / 0.948 GB Notification: Performance of matching and sorting (n=47): time 0.002717/4.157, allocations: 1.321 MB / 2.129 GB, free: 48.01 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.34e-05/4.157, allocations: 106.8 kB / 2.129 GB, free: 47.88 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001452/4.158, allocations: 1.114 MB / 2.13 GB, free: 46.76 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.362e-05/4.158, allocations: 37.7 kB / 2.131 GB, free: 46.72 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004958/4.159, allocations: 0.6494 MB / 2.131 GB, free: 46.06 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001202/4.159, allocations: 153.8 kB / 2.131 GB, free: 45.91 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.508e-05/4.159, allocations: 16 kB / 2.131 GB, free: 45.89 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.697e-05/4.159, allocations: 337.9 kB / 2.132 GB, free: 45.56 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000616/4.16, allocations: 265.1 kB / 2.132 GB, free: 45.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00072/4.16, allocations: 0.5419 MB / 2.132 GB, free: 44.63 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006826/4.161, allocations: 357.5 kB / 2.133 GB, free: 44.28 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/4.161, allocations: 0 / 2.133 GB, free: 44.28 MB / 0.948 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001917/4.163, allocations: 1.023 MB / 2.134 GB, free: 43.24 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006249/4.164, allocations: 2.78 MB / 2.136 GB, free: 40.29 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.443e-05/4.164, allocations: 8 kB / 2.136 GB, free: 40.29 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003862/4.164, allocations: 93.61 kB / 2.137 GB, free: 40.19 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005987/4.165, allocations: 155.8 kB / 2.137 GB, free: 40.04 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005276/4.165, allocations: 1.128 MB / 2.138 GB, free: 38.86 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001012/4.166, allocations: 87.98 kB / 2.138 GB, free: 38.77 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.929e-05/4.166, allocations: 43.92 kB / 2.138 GB, free: 38.73 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.397e-06/4.166, allocations: 7.938 kB / 2.138 GB, free: 38.72 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001635/4.168, allocations: 0.873 MB / 2.139 GB, free: 37.83 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/4.168, allocations: 8.656 kB / 2.139 GB, free: 37.82 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002536/4.168, allocations: 89.98 kB / 2.139 GB, free: 37.73 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00051/4.169, allocations: 147.8 kB / 2.139 GB, free: 37.59 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004432/4.169, allocations: 1.128 MB / 2.14 GB, free: 36.41 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008539/4.17, allocations: 79.97 kB / 2.14 GB, free: 36.33 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.256e-05/4.17, allocations: 43.98 kB / 2.14 GB, free: 36.29 MB / 0.948 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.0009471/4.171, allocations: 498.5 kB / 2.141 GB, free: 35.78 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001883/4.171, allocations: 134.3 kB / 2.141 GB, free: 35.65 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002341/4.174, allocations: 1.014 MB / 2.142 GB, free: 34.61 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.941e-05/4.174, allocations: 4 kB / 2.142 GB, free: 34.61 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.174e-05/4.174, allocations: 4 kB / 2.142 GB, free: 34.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/4.174, allocations: 0 / 2.142 GB, free: 34.6 MB / 0.948 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.004394/4.178, allocations: 2.106 MB / 2.144 GB, free: 32.41 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.935e-06/4.178, allocations: 0 / 2.144 GB, free: 32.41 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004699/4.179, allocations: 107.8 kB / 2.144 GB, free: 32.31 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003765/4.179, allocations: 77.77 kB / 2.144 GB, free: 32.23 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.116e-05/4.179, allocations: 27.91 kB / 2.144 GB, free: 32.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005923/4.18, allocations: 1.113 MB / 2.145 GB, free: 31.04 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/4.18, allocations: 3.953 kB / 2.145 GB, free: 31.03 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002241/4.182, allocations: 1.172 MB / 2.146 GB, free: 29.78 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007573/4.183, allocations: 307.1 kB / 2.147 GB, free: 29.46 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001503/4.183, allocations: 12 kB / 2.147 GB, free: 29.45 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008253/4.184, allocations: 87.88 kB / 2.147 GB, free: 29.36 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001029/4.184, allocations: 35.94 kB / 2.147 GB, free: 29.32 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.039e-05/4.184, allocations: 27.98 kB / 2.147 GB, free: 29.3 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001436/4.185, allocations: 0.8793 MB / 2.148 GB, free: 28.42 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.81e-07/4.185, allocations: 0 / 2.148 GB, free: 28.42 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003183/4.189, allocations: 0.7721 MB / 2.148 GB, free: 27.64 MB / 0.948 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.003875/4.192, allocations: 2.944 MB / 2.151 GB, free: 24.64 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002565/4.195, allocations: 1.245 MB / 2.153 GB, free: 23.38 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/4.195, allocations: 0 / 2.153 GB, free: 23.38 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008132/4.196, allocations: 428.2 kB / 2.153 GB, free: 22.95 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003112/4.199, allocations: 0.6239 MB / 2.154 GB, free: 22.33 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0062/4.205, allocations: 8.082 MB / 2.161 GB, free: 14.04 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006151/4.206, allocations: 1.234 MB / 2.163 GB, free: 12.77 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001435/4.207, allocations: 305.3 kB / 2.163 GB, free: 12.47 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006537/4.208, allocations: 0.5266 MB / 2.163 GB, free: 11.95 MB / 0.948 GB Notification: Performance of SimCode: time 1.513e-06/4.208, allocations: 0 / 2.163 GB, free: 11.95 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6426/4.851, allocations: 45.3 MB / 2.208 GB, free: 154.3 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002332/4.851, allocations: 290 kB / 2.208 GB, free: 154 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.588/8.439, allocations: 0 / 2.208 GB, free: 154 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Obsolete_DistrictHeatingCooling_SubStations_Validation_HeatingSubstation_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Obsolete_DistrictHeatingCooling_SubStations_Validation_HeatingSubstation.fmu > Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe 2>&1)