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: translateModel(Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation") translateModel(Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.673/1.673, allocations: 285.4 MB / 298 MB, free: 6.047 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.001085/0.001085, allocations: 180.8 kB / 366.4 MB, free: 2.113 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.652/1.652, allocations: 205.1 MB / 0.6248 GB, free: 7.758 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.000816/0.0008159, allocations: 96.44 kB / 0.738 GB, free: 40.3 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.17e-05/3.201e-05, allocations: 8 kB / 0.8583 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.747/0.747, allocations: 115.3 MB / 0.9709 GB, free: 77.77 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.187/1.934, allocations: 443.1 MB / 1.404 GB, free: 117.6 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003569/1.935, allocations: 92.05 kB / 1.404 GB, free: 117.5 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.1/5.035, allocations: 0.6933 GB / 2.097 GB, free: 176.8 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.174e-06/5.035, allocations: 0 / 2.097 GB, free: 176.8 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0001961/5.035, allocations: 39.59 kB / 2.097 GB, free: 176.8 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.004415/5.04, allocations: 1.724 MB / 2.099 GB, free: 175.9 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 6.142e-05/5.04, allocations: 11.25 kB / 2.099 GB, free: 175.9 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001645/5.041, allocations: 346.7 kB / 2.099 GB, free: 175.8 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0203/5.062, allocations: 8.544 MB / 2.107 GB, free: 175.2 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.461e-05/5.062, allocations: 69.78 kB / 2.107 GB, free: 175.2 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001434/5.062, allocations: 90.67 kB / 2.108 GB, free: 175.2 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001894/5.064, allocations: 0.9721 MB / 2.108 GB, free: 175 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.285e-05/5.064, allocations: 2.625 kB / 2.108 GB, free: 175 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.479e-05/5.064, allocations: 35.41 kB / 2.108 GB, free: 175 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.399e-05/5.064, allocations: 19.47 kB / 2.109 GB, free: 175 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001195/5.065, allocations: 0.6553 MB / 2.109 GB, free: 174.8 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.007286/5.072, allocations: 4.737 MB / 2.114 GB, free: 171.5 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008035/5.073, allocations: 430.8 kB / 2.114 GB, free: 171.4 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003627/5.074, allocations: 243.6 kB / 2.114 GB, free: 171.3 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002468/5.076, allocations: 1.675 MB / 2.116 GB, free: 169.9 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005531/5.077, allocations: 377.6 kB / 2.116 GB, free: 169.7 MB / 0.9323 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004406/5.077, allocations: 88.89 kB / 2.116 GB, free: 169.7 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=47): time 4.448e-06/5.077, allocations: 0 / 2.116 GB, free: 169.7 MB / 0.9323 GB Notification: Performance of matching and sorting (n=47): time 0.001382/5.079, allocations: 0.6801 MB / 2.117 GB, free: 169.4 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.267e-05/5.079, allocations: 113.3 kB / 2.117 GB, free: 169.2 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001687/5.08, allocations: 1.098 MB / 2.118 GB, free: 168.8 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 6.764e-05/5.08, allocations: 37.02 kB / 2.118 GB, free: 168.7 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006914/5.081, allocations: 0.6535 MB / 2.119 GB, free: 168.2 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.000146/5.081, allocations: 150.5 kB / 2.119 GB, free: 168.1 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.696e-05/5.081, allocations: 15.78 kB / 2.119 GB, free: 168.1 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001178/5.081, allocations: 334.4 kB / 2.119 GB, free: 167.8 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003432/5.082, allocations: 210.1 kB / 2.12 GB, free: 167.7 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006034/5.082, allocations: 490.7 kB / 2.12 GB, free: 167.3 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004819/5.083, allocations: 306.9 kB / 2.12 GB, free: 167.2 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/5.083, allocations: 0 / 2.12 GB, free: 167.2 MB / 0.9323 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001582/5.084, allocations: 0.8946 MB / 2.121 GB, free: 166.8 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.001067/5.086, allocations: 2.788 MB / 2.124 GB, free: 163.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.916e-05/5.086, allocations: 9.969 kB / 2.124 GB, free: 163.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004956/5.086, allocations: 85.89 kB / 2.124 GB, free: 163.9 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006487/5.087, allocations: 154 kB / 2.124 GB, free: 163.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000766/5.088, allocations: 1.127 MB / 2.125 GB, free: 162.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001205/5.089, allocations: 85.14 kB / 2.125 GB, free: 162.8 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001021/5.089, allocations: 42.45 kB / 2.126 GB, free: 162.8 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/5.089, allocations: 7.875 kB / 2.126 GB, free: 162.8 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001292/5.09, allocations: 0.771 MB / 2.126 GB, free: 162.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/5.09, allocations: 7.719 kB / 2.126 GB, free: 162.5 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002541/5.09, allocations: 83.05 kB / 2.126 GB, free: 162.5 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005218/5.091, allocations: 148.9 kB / 2.126 GB, free: 162.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005199/5.092, allocations: 1.12 MB / 2.128 GB, free: 161.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009552/5.092, allocations: 82.12 kB / 2.128 GB, free: 161.4 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.547e-05/5.093, allocations: 40.3 kB / 2.128 GB, free: 161.4 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.000277/5.093, allocations: 193.7 kB / 2.128 GB, free: 161.2 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001932/5.093, allocations: 136.4 kB / 2.128 GB, free: 161.2 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00197/5.095, allocations: 0.8886 MB / 2.129 GB, free: 160.8 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.605e-05/5.095, allocations: 7.875 kB / 2.129 GB, free: 160.8 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.866e-06/5.095, allocations: 7.016 kB / 2.129 GB, free: 160.8 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.123e-05/5.095, allocations: 6.703 kB / 2.129 GB, free: 160.8 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.003619/5.099, allocations: 1.985 MB / 2.131 GB, free: 159.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-05/5.099, allocations: 3.5 kB / 2.131 GB, free: 159.8 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00048/5.099, allocations: 101.3 kB / 2.131 GB, free: 159.8 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003661/5.1, allocations: 76.78 kB / 2.131 GB, free: 159.8 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.714e-05/5.1, allocations: 15.48 kB / 2.131 GB, free: 159.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006581/5.1, allocations: 1.121 MB / 2.132 GB, free: 158.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.728e-06/5.1, allocations: 3.938 kB / 2.132 GB, free: 158.7 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001637/5.102, allocations: 1.064 MB / 2.133 GB, free: 158 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007155/5.103, allocations: 302.2 kB / 2.133 GB, free: 157.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001602/5.103, allocations: 14.84 kB / 2.133 GB, free: 157.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008265/5.104, allocations: 72.89 kB / 2.134 GB, free: 157.8 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001524/5.104, allocations: 43.56 kB / 2.134 GB, free: 157.8 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.933e-05/5.104, allocations: 31.88 kB / 2.134 GB, free: 157.8 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001691/5.106, allocations: 0.8625 MB / 2.134 GB, free: 157.4 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.51e-07/5.106, allocations: 0 / 2.134 GB, free: 157.4 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.00333/5.109, allocations: 0.7719 MB / 2.135 GB, free: 157.2 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.002369/5.111, allocations: 1.015 MB / 2.136 GB, free: 156.9 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.002194/5.114, allocations: 1.118 MB / 2.137 GB, free: 156.5 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/5.114, allocations: 0 / 2.137 GB, free: 156.5 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0005382/5.114, allocations: 378.6 kB / 2.138 GB, free: 156.3 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002758/5.117, allocations: 0.6083 MB / 2.138 GB, free: 156.2 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004052/5.121, allocations: 1.653 MB / 2.14 GB, free: 155.4 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001108/5.122, allocations: 1.234 MB / 2.141 GB, free: 154.7 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.002288/5.124, allocations: 432 kB / 2.141 GB, free: 154.7 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002674/5.125, allocations: 81.09 kB / 2.142 GB, free: 154.6 MB / 0.9323 GB Notification: Performance of SimCode: time 1.814e-06/5.125, allocations: 3.188 kB / 2.142 GB, free: 154.6 MB / 0.9323 GB Notification: Performance of Templates: time 0.06737/5.192, allocations: 35.19 MB / 2.176 GB, free: 137.5 MB / 0.9323 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.makefile (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 & ./Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe 2>&1)