Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation") translateModel(Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.724/1.724, allocations: 292.6 MB / 307.5 MB, free: 5.238 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.001294/0.001295, allocations: 189 kB / 377.1 MB, free: 1.523 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.889/1.889, allocations: 205.4 MB / 0.6367 GB, free: 8.629 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.001004/0.001004, allocations: 90.34 kB / 0.751 GB, free: 63.1 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003484/0.0003484, allocations: 12 kB / 0.8748 GB, free: 11.21 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3047/0.3051, allocations: 116.3 MB / 0.9884 GB, free: 6.754 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.66/1.965, allocations: 444.1 MB / 1.422 GB, free: 243.8 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003272/1.965, allocations: 98.61 kB / 1.422 GB, free: 243.8 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.419/4.385, allocations: 0.6955 GB / 2.118 GB, free: 146.9 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.747e-06/4.385, allocations: 0 / 2.118 GB, free: 146.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.000267/4.385, allocations: 38.88 kB / 2.118 GB, free: 146.9 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.008183/4.393, allocations: 2.135 MB / 2.12 GB, free: 146.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.334e-05/4.393, allocations: 8.625 kB / 2.12 GB, free: 146.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001907/4.395, allocations: 349.3 kB / 2.12 GB, free: 146.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02007/4.415, allocations: 8.619 MB / 2.129 GB, free: 145.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001049/4.415, allocations: 70.66 kB / 2.129 GB, free: 145.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001591/4.416, allocations: 87.78 kB / 2.129 GB, free: 145.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001983/4.418, allocations: 1.037 MB / 2.13 GB, free: 145.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.232e-05/4.418, allocations: 0 / 2.13 GB, free: 145.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.909e-05/4.418, allocations: 34.5 kB / 2.13 GB, free: 145.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.951e-05/4.418, allocations: 22.38 kB / 2.13 GB, free: 145.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001622/4.419, allocations: 0.7808 MB / 2.13 GB, free: 145.3 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.006203/4.426, allocations: 4.733 MB / 2.135 GB, free: 143.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001254/4.427, allocations: 0.5248 MB / 2.136 GB, free: 143.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002233/4.429, allocations: 1.672 MB / 2.137 GB, free: 142 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007946/4.43, allocations: 434.9 kB / 2.138 GB, free: 141.9 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004435/4.43, allocations: 83.94 kB / 2.138 GB, free: 141.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=47): time 2.785e-06/4.43, allocations: 0 / 2.138 GB, free: 141.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=47): time 0.002716/4.433, allocations: 1.326 MB / 2.139 GB, free: 141.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.911e-05/4.433, allocations: 111.8 kB / 2.139 GB, free: 141.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001638/4.435, allocations: 1.111 MB / 2.14 GB, free: 141.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.371e-05/4.435, allocations: 42.02 kB / 2.14 GB, free: 141.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006192/4.436, allocations: 0.6524 MB / 2.141 GB, free: 141 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001149/4.436, allocations: 146.3 kB / 2.141 GB, free: 140.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.571e-05/4.436, allocations: 17.09 kB / 2.141 GB, free: 140.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.853e-05/4.436, allocations: 335.1 kB / 2.141 GB, free: 140.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006166/4.436, allocations: 269.6 kB / 2.142 GB, free: 140.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007069/4.437, allocations: 0.5363 MB / 2.142 GB, free: 140.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006734/4.438, allocations: 357.5 kB / 2.143 GB, free: 140.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/4.438, allocations: 0 / 2.143 GB, free: 140.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.002039/4.44, allocations: 1.022 MB / 2.144 GB, free: 140.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006008/4.441, allocations: 2.792 MB / 2.146 GB, free: 137.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.611e-05/4.441, allocations: 9.281 kB / 2.146 GB, free: 137.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003778/4.441, allocations: 86.22 kB / 2.146 GB, free: 137.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006162/4.442, allocations: 158 kB / 2.146 GB, free: 137.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005631/4.442, allocations: 1.123 MB / 2.148 GB, free: 136.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001151/4.443, allocations: 88.06 kB / 2.148 GB, free: 136.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001021/4.443, allocations: 44.23 kB / 2.148 GB, free: 136.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.047e-05/4.443, allocations: 5.406 kB / 2.148 GB, free: 136.2 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001717/4.445, allocations: 0.8737 MB / 2.149 GB, free: 136.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/4.445, allocations: 6.156 kB / 2.149 GB, free: 136.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000274/4.445, allocations: 87.11 kB / 2.149 GB, free: 136.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005223/4.446, allocations: 149.3 kB / 2.149 GB, free: 136.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004546/4.446, allocations: 1.127 MB / 2.15 GB, free: 135 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00108/4.448, allocations: 81.72 kB / 2.15 GB, free: 135 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.682e-05/4.448, allocations: 44.69 kB / 2.15 GB, free: 135 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.001079/4.449, allocations: 496.4 kB / 2.15 GB, free: 134.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002626/4.449, allocations: 137.1 kB / 2.151 GB, free: 134.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002514/4.452, allocations: 1.012 MB / 2.152 GB, free: 134.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.679e-05/4.452, allocations: 9.188 kB / 2.152 GB, free: 134.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/4.452, allocations: 0 / 2.152 GB, free: 134.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.125e-06/4.452, allocations: 3.281 kB / 2.152 GB, free: 134.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.004029/4.456, allocations: 2.108 MB / 2.154 GB, free: 134.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.874e-06/4.456, allocations: 3.906 kB / 2.154 GB, free: 134.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004785/4.456, allocations: 96.55 kB / 2.154 GB, free: 134.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003291/4.457, allocations: 85.08 kB / 2.154 GB, free: 134.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.277e-05/4.457, allocations: 23.41 kB / 2.154 GB, free: 134.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005114/4.457, allocations: 1.114 MB / 2.155 GB, free: 133.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/4.457, allocations: 4.969 kB / 2.155 GB, free: 133.1 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002073/4.459, allocations: 1.171 MB / 2.156 GB, free: 132.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000723/4.46, allocations: 294.7 kB / 2.156 GB, free: 132.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001644/4.46, allocations: 17.22 kB / 2.156 GB, free: 132.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008139/4.461, allocations: 89.3 kB / 2.157 GB, free: 132.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001099/4.461, allocations: 45.84 kB / 2.157 GB, free: 132.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.675e-05/4.461, allocations: 34.45 kB / 2.157 GB, free: 132.4 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001285/4.462, allocations: 0.8721 MB / 2.157 GB, free: 132.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.2e-07/4.462, allocations: 2.125 kB / 2.157 GB, free: 132.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002784/4.465, allocations: 0.7675 MB / 2.158 GB, free: 132.2 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.001961/4.467, allocations: 1.025 MB / 2.159 GB, free: 132 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002725/4.47, allocations: 1.236 MB / 2.16 GB, free: 131.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.089e-06/4.47, allocations: 0 / 2.16 GB, free: 131.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008065/4.471, allocations: 436.4 kB / 2.161 GB, free: 131.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002937/4.474, allocations: 0.6204 MB / 2.161 GB, free: 131.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004083/4.478, allocations: 2.656 MB / 2.164 GB, free: 130.5 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006668/4.479, allocations: 1.229 MB / 2.165 GB, free: 129.8 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001588/4.48, allocations: 305.2 kB / 2.165 GB, free: 129.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002154/4.48, allocations: 103.5 kB / 2.166 GB, free: 129.8 MB / 0.948 GB Notification: Performance of SimCode: time 7.32e-07/4.48, allocations: 0 / 2.166 GB, free: 129.8 MB / 0.948 GB Notification: Performance of Templates: time 0.04747/4.528, allocations: 31.17 MB / 2.196 GB, free: 128.6 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.makefile (rm -f Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe ; mkfifo Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe ; head -c 1048576 < Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe >> ../files/Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.sim & ./Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe 2>&1)