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.632/1.632, allocations: 285.6 MB / 293.1 MB, free: 10.23 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.001148/0.001148, allocations: 172.8 kB / 361.4 MB, free: 6.805 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.785/1.785, allocations: 205.2 MB / 0.62 GB, free: 11.64 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009106/0.0009105, allocations: 99.3 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.67e-05/2.69e-05, allocations: 4 kB / 0.8518 GB, free: 2.641 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8086/0.8086, allocations: 115.3 MB / 0.9644 GB, free: 78.79 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.324/2.132, allocations: 442.4 MB / 1.396 GB, free: 125.4 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004543/2.133, allocations: 95 kB / 1.397 GB, free: 125.4 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.998/5.13, allocations: 0.6898 GB / 2.086 GB, free: 182 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.735e-06/5.13, allocations: 0 / 2.086 GB, free: 182 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0003718/5.131, allocations: 39.97 kB / 2.086 GB, free: 182 MB / 0.9323 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.006511/5.137, allocations: 1.719 MB / 2.088 GB, free: 181.1 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 6.691e-05/5.137, allocations: 10.16 kB / 2.088 GB, free: 181.1 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002542/5.14, allocations: 346.2 kB / 2.088 GB, free: 181 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02289/5.163, allocations: 8.52 MB / 2.097 GB, free: 180.4 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001156/5.163, allocations: 28.56 kB / 2.097 GB, free: 180.4 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004462/5.164, allocations: 60.05 kB / 2.097 GB, free: 180.4 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001974/5.165, allocations: 0.6132 MB / 2.097 GB, free: 180.4 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002258/5.168, allocations: 0.8538 MB / 2.098 GB, free: 180.2 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.322e-05/5.168, allocations: 3.844 kB / 2.098 GB, free: 180.2 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001614/5.168, allocations: 3.656 kB / 2.098 GB, free: 180.2 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.169e-05/5.168, allocations: 18.62 kB / 2.098 GB, free: 180.2 MB / 0.9323 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.008364/5.176, allocations: 4.564 MB / 2.103 GB, free: 178 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008207/5.177, allocations: 445.5 kB / 2.103 GB, free: 177.9 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003698/5.178, allocations: 242.4 kB / 2.103 GB, free: 177.9 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002837/5.181, allocations: 1.648 MB / 2.105 GB, free: 176.9 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005541/5.181, allocations: 364.2 kB / 2.105 GB, free: 176.8 MB / 0.9323 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007339/5.182, allocations: 67.59 kB / 2.105 GB, free: 176.8 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=47): time 4.298e-06/5.182, allocations: 0 / 2.105 GB, free: 176.8 MB / 0.9323 GB Notification: Performance of matching and sorting (n=47): time 0.002225/5.184, allocations: 0.705 MB / 2.106 GB, free: 176.6 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.5e-05/5.184, allocations: 113.2 kB / 2.106 GB, free: 176.5 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002188/5.186, allocations: 0.9644 MB / 2.107 GB, free: 176.2 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 9.985e-05/5.186, allocations: 29.61 kB / 2.107 GB, free: 176.2 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007493/5.187, allocations: 0.658 MB / 2.108 GB, free: 175.6 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001692/5.187, allocations: 154.8 kB / 2.108 GB, free: 175.5 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.011e-05/5.187, allocations: 3.094 kB / 2.108 GB, free: 175.5 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 9.72e-05/5.188, allocations: 336.1 kB / 2.108 GB, free: 175.2 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003217/5.188, allocations: 207.3 kB / 2.108 GB, free: 175.1 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000487/5.188, allocations: 486.4 kB / 2.109 GB, free: 174.7 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001114/5.19, allocations: 350.9 kB / 2.109 GB, free: 174.6 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-05/5.19, allocations: 8.938 kB / 2.109 GB, free: 174.6 MB / 0.9323 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.002244/5.192, allocations: 0.8855 MB / 2.11 GB, free: 174.3 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.000875/5.193, allocations: 2.775 MB / 2.113 GB, free: 171.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.332e-05/5.193, allocations: 6.188 kB / 2.113 GB, free: 171.4 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003448/5.193, allocations: 74.28 kB / 2.113 GB, free: 171.4 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000668/5.194, allocations: 162.9 kB / 2.113 GB, free: 171.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007276/5.194, allocations: 1.135 MB / 2.114 GB, free: 170.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001173/5.196, allocations: 68.67 kB / 2.114 GB, free: 170.3 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001215/5.196, allocations: 43.89 kB / 2.114 GB, free: 170.3 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/5.196, allocations: 3.875 kB / 2.114 GB, free: 170.3 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00187/5.198, allocations: 0.7174 MB / 2.115 GB, free: 170.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.936e-05/5.198, allocations: 8.5 kB / 2.115 GB, free: 170.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001999/5.198, allocations: 83.23 kB / 2.115 GB, free: 170.1 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005406/5.199, allocations: 148.6 kB / 2.115 GB, free: 170.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006563/5.199, allocations: 1.137 MB / 2.116 GB, free: 169 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001159/5.2, allocations: 69.16 kB / 2.116 GB, free: 169 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001191/5.2, allocations: 42.23 kB / 2.116 GB, free: 169 MB / 0.9323 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.0003222/5.201, allocations: 166.9 kB / 2.117 GB, free: 168.8 MB / 0.9323 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001806/5.203, allocations: 0.702 MB / 2.117 GB, free: 168.6 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003524/5.203, allocations: 130 kB / 2.117 GB, free: 168.5 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00218/5.205, allocations: 0.8469 MB / 2.118 GB, free: 168.2 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.245e-05/5.205, allocations: 13.03 kB / 2.118 GB, free: 168.2 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.896e-06/5.205, allocations: 0 / 2.118 GB, free: 168.2 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.086e-06/5.205, allocations: 6.859 kB / 2.118 GB, free: 168.2 MB / 0.9323 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.00397/5.209, allocations: 1.85 MB / 2.12 GB, free: 167.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/5.209, allocations: 2.531 kB / 2.12 GB, free: 167.3 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004839/5.21, allocations: 102 kB / 2.12 GB, free: 167.3 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002149/5.21, allocations: 68.81 kB / 2.12 GB, free: 167.3 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.052e-05/5.21, allocations: 13.52 kB / 2.12 GB, free: 167.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006424/5.211, allocations: 1.132 MB / 2.121 GB, free: 166.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.081e-06/5.211, allocations: 3.188 kB / 2.121 GB, free: 166.2 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001745/5.212, allocations: 1.03 MB / 2.122 GB, free: 165.5 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007536/5.213, allocations: 286.4 kB / 2.123 GB, free: 165.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003716/5.214, allocations: 7.875 kB / 2.123 GB, free: 165.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001057/5.215, allocations: 76.64 kB / 2.123 GB, free: 165.3 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001151/5.215, allocations: 40.06 kB / 2.123 GB, free: 165.3 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.015e-05/5.215, allocations: 32.56 kB / 2.123 GB, free: 165.3 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001557/5.216, allocations: 0.7388 MB / 2.124 GB, free: 165 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.6e-07/5.216, allocations: 0 / 2.124 GB, free: 165 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.003622/5.22, allocations: 0.7568 MB / 2.124 GB, free: 164.8 MB / 0.9323 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.004799/5.225, allocations: 2.759 MB / 2.127 GB, free: 163.2 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.002132/5.227, allocations: 1.077 MB / 2.128 GB, free: 162.7 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/5.227, allocations: 0 / 2.128 GB, free: 162.7 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0005629/5.228, allocations: 367.1 kB / 2.128 GB, free: 162.5 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003128/5.231, allocations: 0.5346 MB / 2.129 GB, free: 162.5 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006374/5.237, allocations: 1.955 MB / 2.131 GB, free: 161.6 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001178/5.238, allocations: 1.239 MB / 2.132 GB, free: 160.8 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.002432/5.241, allocations: 401.3 kB / 2.132 GB, free: 160.8 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007796/5.242, allocations: 0.5061 MB / 2.133 GB, free: 160.4 MB / 0.9323 GB Notification: Performance of SimCode: time 1.393e-06/5.242, allocations: 0 / 2.133 GB, free: 160.4 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08874/5.33, allocations: 40.08 MB / 2.172 GB, free: 146.9 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002251/5.331, allocations: 218.8 kB / 2.172 GB, free: 146.7 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.757/9.088, allocations: 2.953 kB / 2.172 GB, free: 146.7 MB / 0.9323 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)