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.653/1.653, allocations: 285.4 MB / 298 MB, free: 6 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.0011/0.0011, allocations: 180.8 kB / 366.4 MB, free: 2.082 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.756/1.756, allocations: 205.1 MB / 0.6248 GB, free: 7.738 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.0008966/0.0008964, allocations: 96.09 kB / 0.738 GB, free: 40.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.146e-05/4.195e-05, allocations: 0 / 0.8584 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8682/0.8682, allocations: 115.3 MB / 0.971 GB, free: 77.75 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.382/2.25, allocations: 443.1 MB / 1.404 GB, free: 117.6 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003354/2.25, allocations: 97.2 kB / 1.404 GB, free: 117.5 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.22/5.47, allocations: 0.6932 GB / 2.097 GB, free: 190.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.713e-06/5.47, allocations: 0 / 2.097 GB, free: 190.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0003744/5.471, allocations: 34.31 kB / 2.097 GB, free: 190.7 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.005868/5.477, allocations: 1.726 MB / 2.099 GB, free: 189.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.11e-05/5.477, allocations: 12.94 kB / 2.099 GB, free: 189.8 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004719/5.477, allocations: 132.7 kB / 2.099 GB, free: 189.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002094/5.479, allocations: 341.2 kB / 2.099 GB, free: 189.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02053/5.5, allocations: 8.555 MB / 2.108 GB, free: 189.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001385/5.5, allocations: 69.06 kB / 2.108 GB, free: 189.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004596/5.5, allocations: 84.44 kB / 2.108 GB, free: 189.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002569/5.503, allocations: 0.9632 MB / 2.109 GB, free: 188.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.714e-05/5.503, allocations: 3.75 kB / 2.109 GB, free: 188.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001369/5.503, allocations: 40.98 kB / 2.109 GB, free: 188.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.163e-05/5.503, allocations: 21.47 kB / 2.109 GB, free: 188.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001461/5.505, allocations: 0.6541 MB / 2.109 GB, free: 188.9 MB / 0.948 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.008135/5.513, allocations: 4.74 MB / 2.114 GB, free: 186.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007963/5.514, allocations: 439.9 kB / 2.114 GB, free: 186.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003684/5.514, allocations: 231.4 kB / 2.115 GB, free: 186.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002754/5.517, allocations: 1.676 MB / 2.116 GB, free: 185.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005884/5.517, allocations: 381.4 kB / 2.117 GB, free: 185.4 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007507/5.518, allocations: 93.48 kB / 2.117 GB, free: 185.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=47): time 4.638e-06/5.518, allocations: 0 / 2.117 GB, free: 185.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=47): time 0.001532/5.52, allocations: 0.6753 MB / 2.117 GB, free: 185.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.552e-05/5.52, allocations: 106.7 kB / 2.117 GB, free: 185.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00217/5.522, allocations: 1.098 MB / 2.118 GB, free: 185 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.505e-05/5.522, allocations: 47.67 kB / 2.119 GB, free: 184.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000677/5.523, allocations: 0.6449 MB / 2.119 GB, free: 184.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001599/5.523, allocations: 157.2 kB / 2.119 GB, free: 184.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.837e-05/5.523, allocations: 9.562 kB / 2.119 GB, free: 184.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.476e-05/5.523, allocations: 333.9 kB / 2.12 GB, free: 184.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003507/5.523, allocations: 209.1 kB / 2.12 GB, free: 184.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005008/5.524, allocations: 497.3 kB / 2.12 GB, free: 184 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004537/5.524, allocations: 306.1 kB / 2.121 GB, free: 183.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.374e-06/5.524, allocations: 6.844 kB / 2.121 GB, free: 183.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.00162/5.526, allocations: 0.8856 MB / 2.121 GB, free: 183.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007098/5.527, allocations: 2.796 MB / 2.124 GB, free: 181 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.237e-05/5.527, allocations: 6.844 kB / 2.124 GB, free: 181 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004102/5.527, allocations: 80.39 kB / 2.124 GB, free: 180.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006139/5.528, allocations: 157.2 kB / 2.124 GB, free: 180.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006121/5.529, allocations: 1.128 MB / 2.126 GB, free: 179.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001171/5.53, allocations: 82.14 kB / 2.126 GB, free: 179.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001158/5.53, allocations: 41.8 kB / 2.126 GB, free: 179.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/5.53, allocations: 3.594 kB / 2.126 GB, free: 179.9 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001313/5.531, allocations: 0.7546 MB / 2.126 GB, free: 179.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.57e-05/5.531, allocations: 9.781 kB / 2.126 GB, free: 179.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002657/5.531, allocations: 86.7 kB / 2.126 GB, free: 179.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000533/5.532, allocations: 148.3 kB / 2.127 GB, free: 179.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005363/5.533, allocations: 1.138 MB / 2.128 GB, free: 178.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001058/5.534, allocations: 83.19 kB / 2.128 GB, free: 178.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.326e-05/5.534, allocations: 42.14 kB / 2.128 GB, free: 178.8 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 () * 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.0003042/5.534, allocations: 189.2 kB / 2.128 GB, free: 178.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002743/5.534, allocations: 133.1 kB / 2.128 GB, free: 178.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001871/5.536, allocations: 0.8933 MB / 2.129 GB, free: 178.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-05/5.536, allocations: 3.969 kB / 2.129 GB, free: 178.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.023e-05/5.536, allocations: 10.75 kB / 2.129 GB, free: 178.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.628e-06/5.536, allocations: 3.516 kB / 2.129 GB, free: 178.4 MB / 0.948 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.003762/5.54, allocations: 1.985 MB / 2.131 GB, free: 178 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.732e-06/5.54, allocations: 2.844 kB / 2.131 GB, free: 178 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004554/5.541, allocations: 103.6 kB / 2.131 GB, free: 178 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002907/5.541, allocations: 74.5 kB / 2.131 GB, free: 177.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.378e-05/5.541, allocations: 21.94 kB / 2.131 GB, free: 177.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000537/5.541, allocations: 1.119 MB / 2.132 GB, free: 176.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/5.541, allocations: 3.609 kB / 2.132 GB, free: 176.9 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001428/5.543, allocations: 1.062 MB / 2.133 GB, free: 176.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007192/5.544, allocations: 306.7 kB / 2.134 GB, free: 176.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003278/5.544, allocations: 11.62 kB / 2.134 GB, free: 176.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001067/5.545, allocations: 80.67 kB / 2.134 GB, free: 176.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/5.545, allocations: 35.25 kB / 2.134 GB, free: 176.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.225e-05/5.545, allocations: 39.11 kB / 2.134 GB, free: 176.2 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001571/5.547, allocations: 0.8564 MB / 2.135 GB, free: 176.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.71e-07/5.547, allocations: 0 / 2.135 GB, free: 176.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003549/5.55, allocations: 0.7681 MB / 2.135 GB, free: 176 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) * 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.00418/5.555, allocations: 2.83 MB / 2.138 GB, free: 174.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002041/5.557, allocations: 1.123 MB / 2.139 GB, free: 174.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/5.557, allocations: 0 / 2.139 GB, free: 174.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005284/5.557, allocations: 370.1 kB / 2.14 GB, free: 174.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003186/5.56, allocations: 0.6225 MB / 2.14 GB, free: 174.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005895/5.566, allocations: 2.01 MB / 2.142 GB, free: 173.7 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00103/5.567, allocations: 1.232 MB / 2.143 GB, free: 173 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002395/5.57, allocations: 424.8 kB / 2.144 GB, free: 173 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007482/5.571, allocations: 0.5099 MB / 2.144 GB, free: 173 MB / 0.948 GB Notification: Performance of SimCode: time 1.413e-06/5.571, allocations: 0 / 2.144 GB, free: 173 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09694/5.667, allocations: 49.11 MB / 2.192 GB, free: 163.5 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002188/5.668, allocations: 257.1 kB / 2.192 GB, free: 163.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.009/9.677, allocations: 0 / 2.192 GB, free: 163.2 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)