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.55/1.55, allocations: 289.9 MB / 297.4 MB, free: 6.367 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.001013/0.001013, allocations: 172.5 kB / 366.7 MB, free: 1.641 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.324/1.324, allocations: 205.2 MB / 0.626 GB, free: 7.148 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.0007531/0.0007531, allocations: 81.91 kB / 0.74 GB, free: 39.53 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.505e-05/1.5e-05, allocations: 4 kB / 0.8597 GB, free: 13.04 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6235/0.6235, allocations: 116.3 MB / 0.9733 GB, free: 76.22 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.029/1.652, allocations: 443.4 MB / 1.406 GB, free: 113.9 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002652/1.653, allocations: 95 kB / 1.406 GB, free: 113.9 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.423/4.075, allocations: 0.6899 GB / 2.096 GB, free: 190.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.783e-06/4.075, allocations: 0 / 2.096 GB, free: 190.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0003/4.076, allocations: 45.14 kB / 2.096 GB, free: 190.6 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.004692/4.08, allocations: 1.713 MB / 2.098 GB, free: 189.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/4.08, allocations: 6.688 kB / 2.098 GB, free: 189.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00191/4.082, allocations: 342.1 kB / 2.098 GB, free: 189.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01743/4.1, allocations: 8.531 MB / 2.107 GB, free: 189.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.563e-05/4.1, allocations: 28.53 kB / 2.107 GB, free: 189.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002592/4.1, allocations: 52.88 kB / 2.107 GB, free: 189.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001378/4.101, allocations: 0.6156 MB / 2.107 GB, free: 189.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001581/4.103, allocations: 0.8553 MB / 2.108 GB, free: 188.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.192e-05/4.103, allocations: 3.938 kB / 2.108 GB, free: 188.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.338e-05/4.103, allocations: 3.25 kB / 2.108 GB, free: 188.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.515e-05/4.103, allocations: 23.09 kB / 2.108 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.006926/4.11, allocations: 4.56 MB / 2.113 GB, free: 186.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000811/4.111, allocations: 453.8 kB / 2.113 GB, free: 186.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003757/4.111, allocations: 240.7 kB / 2.113 GB, free: 186.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002674/4.114, allocations: 1.643 MB / 2.115 GB, free: 185.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005045/4.114, allocations: 367.8 kB / 2.115 GB, free: 185.5 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006055/4.115, allocations: 63.56 kB / 2.115 GB, free: 185.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=47): time 6.091e-06/4.115, allocations: 0 / 2.115 GB, free: 185.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=47): time 0.00209/4.117, allocations: 0.7164 MB / 2.116 GB, free: 185.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.384e-05/4.117, allocations: 116.9 kB / 2.116 GB, free: 185.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001467/4.119, allocations: 0.9631 MB / 2.117 GB, free: 185.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.308e-05/4.119, allocations: 29.42 kB / 2.117 GB, free: 185.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005025/4.119, allocations: 0.6534 MB / 2.118 GB, free: 184.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001351/4.119, allocations: 156.2 kB / 2.118 GB, free: 184.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.368e-05/4.12, allocations: 0 / 2.118 GB, free: 184.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.49e-05/4.12, allocations: 336 kB / 2.118 GB, free: 184.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002855/4.12, allocations: 204.8 kB / 2.118 GB, free: 184.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004068/4.12, allocations: 484.7 kB / 2.119 GB, free: 184.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009597/4.121, allocations: 346.1 kB / 2.119 GB, free: 184.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.783e-06/4.121, allocations: 3.875 kB / 2.119 GB, free: 184.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001801/4.123, allocations: 0.8814 MB / 2.12 GB, free: 184 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005747/4.124, allocations: 2.776 MB / 2.123 GB, free: 181.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.631e-05/4.124, allocations: 7.797 kB / 2.123 GB, free: 181.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002724/4.124, allocations: 84.53 kB / 2.123 GB, free: 181.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005783/4.125, allocations: 157.2 kB / 2.123 GB, free: 181.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005615/4.125, allocations: 1.136 MB / 2.124 GB, free: 180.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008684/4.126, allocations: 75.89 kB / 2.124 GB, free: 180.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.382e-05/4.126, allocations: 50.44 kB / 2.124 GB, free: 180.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.298e-06/4.126, allocations: 6.625 kB / 2.124 GB, free: 180.1 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001497/4.128, allocations: 0.7161 MB / 2.125 GB, free: 180 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/4.128, allocations: 12.72 kB / 2.125 GB, free: 180 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001745/4.128, allocations: 75.3 kB / 2.125 GB, free: 180 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005013/4.128, allocations: 154.1 kB / 2.125 GB, free: 180 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005229/4.129, allocations: 1.133 MB / 2.126 GB, free: 179 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007711/4.13, allocations: 64.78 kB / 2.126 GB, free: 179 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.543e-05/4.13, allocations: 41.73 kB / 2.126 GB, free: 179 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.000213/4.13, allocations: 168 kB / 2.126 GB, free: 178.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001776/4.13, allocations: 130 kB / 2.127 GB, free: 178.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001727/4.132, allocations: 0.8507 MB / 2.127 GB, free: 178.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.143e-05/4.132, allocations: 10.94 kB / 2.127 GB, free: 178.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/4.132, allocations: 0 / 2.127 GB, free: 178.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.775e-06/4.132, allocations: 3.656 kB / 2.127 GB, free: 178.7 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.002883/4.135, allocations: 1.847 MB / 2.129 GB, free: 178.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.111e-06/4.135, allocations: 9.891 kB / 2.129 GB, free: 178.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004361/4.135, allocations: 100 kB / 2.129 GB, free: 178.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001655/4.136, allocations: 73.25 kB / 2.129 GB, free: 178.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.176e-05/4.136, allocations: 13.17 kB / 2.129 GB, free: 178.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005252/4.136, allocations: 1.128 MB / 2.131 GB, free: 177.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/4.136, allocations: 3.125 kB / 2.131 GB, free: 177.2 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0014/4.138, allocations: 1.026 MB / 2.132 GB, free: 176.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004408/4.138, allocations: 297.6 kB / 2.132 GB, free: 176.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001893/4.138, allocations: 10.38 kB / 2.132 GB, free: 176.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007998/4.139, allocations: 72.3 kB / 2.132 GB, free: 176.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.057e-05/4.139, allocations: 36.52 kB / 2.132 GB, free: 176.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.503e-05/4.139, allocations: 36.06 kB / 2.132 GB, free: 176.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0009596/4.14, allocations: 0.737 MB / 2.133 GB, free: 176.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.41e-07/4.14, allocations: 3.062 kB / 2.133 GB, free: 176.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00245/4.143, allocations: 0.7532 MB / 2.133 GB, free: 176.4 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.001996/4.145, allocations: 0.9702 MB / 2.134 GB, free: 176.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001587/4.146, allocations: 1.079 MB / 2.135 GB, free: 176 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/4.146, allocations: 1.375 kB / 2.135 GB, free: 176 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005044/4.147, allocations: 364.3 kB / 2.136 GB, free: 175.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002244/4.149, allocations: 0.5403 MB / 2.136 GB, free: 175.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002988/4.152, allocations: 1.621 MB / 2.138 GB, free: 175.4 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007707/4.153, allocations: 1.239 MB / 2.139 GB, free: 174.7 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001777/4.155, allocations: 404.9 kB / 2.139 GB, free: 174.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001692/4.155, allocations: 79.88 kB / 2.14 GB, free: 174.7 MB / 0.948 GB Notification: Performance of SimCode: time 5.41e-07/4.155, allocations: 0 / 2.14 GB, free: 174.7 MB / 0.948 GB Notification: Performance of Templates: time 0.04813/4.203, allocations: 28.03 MB / 2.167 GB, free: 173.1 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)