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.755/1.755, allocations: 288.3 MB / 303.2 MB, free: 8.059 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.001213/0.001213, allocations: 177 kB / 371.9 MB, free: 10.26 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.935/1.935, allocations: 205.4 MB / 0.6306 GB, free: 10.02 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009723/0.0009724, allocations: 90.92 kB / 0.7439 GB, free: 5.953 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000455/0.000455, allocations: 15.19 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2483/0.2488, allocations: 115.3 MB / 0.9794 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.12/1.369, allocations: 443.2 MB / 1.412 GB, free: 2.258 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003333/1.369, allocations: 102.9 kB / 1.412 GB, free: 2.199 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.527/3.897, allocations: 0.6955 GB / 2.108 GB, free: 70.64 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.204e-06/3.897, allocations: 0 / 2.108 GB, free: 70.64 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001786/3.897, allocations: 43.92 kB / 2.108 GB, free: 70.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.005904/3.903, allocations: 2.134 MB / 2.11 GB, free: 68.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 7.21e-05/3.903, allocations: 12.03 kB / 2.11 GB, free: 68.39 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001484/3.904, allocations: 342.4 kB / 2.11 GB, free: 68.05 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01805/3.922, allocations: 8.608 MB / 2.119 GB, free: 59.32 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.613e-05/3.923, allocations: 66 kB / 2.119 GB, free: 59.25 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001268/3.923, allocations: 92 kB / 2.119 GB, free: 59.16 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001964/3.925, allocations: 1.039 MB / 2.12 GB, free: 58.07 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.281e-05/3.925, allocations: 4 kB / 2.12 GB, free: 58.07 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.684e-05/3.925, allocations: 36 kB / 2.12 GB, free: 58.03 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.683e-05/3.925, allocations: 20 kB / 2.12 GB, free: 58.01 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001595/3.926, allocations: 0.7767 MB / 2.121 GB, free: 57.23 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.006288/3.933, allocations: 4.735 MB / 2.125 GB, free: 52.23 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001277/3.934, allocations: 0.5224 MB / 2.126 GB, free: 51.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002265/3.936, allocations: 1.677 MB / 2.127 GB, free: 49.85 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007567/3.937, allocations: 445.3 kB / 2.128 GB, free: 49.39 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003438/3.937, allocations: 79.39 kB / 2.128 GB, free: 49.31 MB / 0.948 GB Notification: Performance of pre-optimization done (n=47): time 4.669e-06/3.937, allocations: 3.984 kB / 2.128 GB, free: 49.31 MB / 0.948 GB Notification: Performance of matching and sorting (n=47): time 0.002762/3.94, allocations: 1.314 MB / 2.129 GB, free: 47.92 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.499e-05/3.94, allocations: 118.8 kB / 2.129 GB, free: 47.78 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001324/3.942, allocations: 1.114 MB / 2.13 GB, free: 46.66 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.151e-05/3.942, allocations: 41.7 kB / 2.13 GB, free: 46.61 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000533/3.942, allocations: 0.6417 MB / 2.131 GB, free: 45.96 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000119/3.942, allocations: 161.7 kB / 2.131 GB, free: 45.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.875e-05/3.942, allocations: 15.98 kB / 2.131 GB, free: 45.79 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.884e-05/3.943, allocations: 330 kB / 2.132 GB, free: 45.46 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006018/3.943, allocations: 265.1 kB / 2.132 GB, free: 45.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007455/3.944, allocations: 0.5419 MB / 2.132 GB, free: 44.54 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006655/3.945, allocations: 361.5 kB / 2.133 GB, free: 44.18 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/3.945, allocations: 4 kB / 2.133 GB, free: 44.18 MB / 0.948 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001843/3.946, allocations: 1.019 MB / 2.134 GB, free: 43.14 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006898/3.947, allocations: 2.783 MB / 2.136 GB, free: 40.19 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.382e-05/3.947, allocations: 12 kB / 2.136 GB, free: 40.18 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000414/3.948, allocations: 81.67 kB / 2.136 GB, free: 40.09 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005956/3.948, allocations: 155.7 kB / 2.137 GB, free: 39.94 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005552/3.949, allocations: 1.128 MB / 2.138 GB, free: 38.76 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000961/3.95, allocations: 80.05 kB / 2.138 GB, free: 38.68 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.063e-05/3.95, allocations: 43.98 kB / 2.138 GB, free: 38.64 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/3.95, allocations: 13.5 kB / 2.138 GB, free: 38.62 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001596/3.951, allocations: 0.8735 MB / 2.139 GB, free: 37.74 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/3.952, allocations: 16.09 kB / 2.139 GB, free: 37.72 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002417/3.952, allocations: 81.67 kB / 2.139 GB, free: 37.64 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000505/3.952, allocations: 151.8 kB / 2.139 GB, free: 37.49 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000449/3.953, allocations: 1.129 MB / 2.14 GB, free: 36.31 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008192/3.954, allocations: 79.95 kB / 2.14 GB, free: 36.23 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.928e-05/3.954, allocations: 43.98 kB / 2.14 GB, free: 36.19 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.0009684/3.955, allocations: 494.6 kB / 2.141 GB, free: 35.69 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001565/3.955, allocations: 134.3 kB / 2.141 GB, free: 35.55 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002074/3.957, allocations: 1.018 MB / 2.142 GB, free: 34.51 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.308e-05/3.957, allocations: 4 kB / 2.142 GB, free: 34.51 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/3.957, allocations: 0 / 2.142 GB, free: 34.51 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.106e-06/3.957, allocations: 7.984 kB / 2.142 GB, free: 34.5 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.003355/3.96, allocations: 2.102 MB / 2.144 GB, free: 32.32 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/3.96, allocations: 3.984 kB / 2.144 GB, free: 32.31 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004488/3.961, allocations: 99.98 kB / 2.144 GB, free: 32.21 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002696/3.961, allocations: 89.66 kB / 2.144 GB, free: 32.12 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.269e-05/3.961, allocations: 15.98 kB / 2.144 GB, free: 32.11 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004637/3.962, allocations: 1.117 MB / 2.145 GB, free: 30.94 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/3.962, allocations: 3.984 kB / 2.145 GB, free: 30.93 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001752/3.963, allocations: 1.172 MB / 2.146 GB, free: 29.68 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005168/3.964, allocations: 303.1 kB / 2.147 GB, free: 29.36 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001417/3.964, allocations: 12.06 kB / 2.147 GB, free: 29.35 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007907/3.965, allocations: 83.92 kB / 2.147 GB, free: 29.27 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001189/3.965, allocations: 43.89 kB / 2.147 GB, free: 29.23 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.977e-05/3.965, allocations: 35.97 kB / 2.147 GB, free: 29.19 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001148/3.966, allocations: 0.8676 MB / 2.148 GB, free: 28.32 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.9e-07/3.966, allocations: 0 / 2.148 GB, free: 28.32 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00271/3.969, allocations: 0.772 MB / 2.148 GB, free: 27.55 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.001807/3.971, allocations: 1.018 MB / 2.149 GB, free: 26.54 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002515/3.973, allocations: 1.252 MB / 2.151 GB, free: 25.27 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/3.973, allocations: 4 kB / 2.151 GB, free: 25.27 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007498/3.974, allocations: 424.3 kB / 2.151 GB, free: 24.84 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002473/3.977, allocations: 0.6131 MB / 2.152 GB, free: 24.23 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00374/3.98, allocations: 2.662 MB / 2.154 GB, free: 21.52 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005958/3.981, allocations: 1.234 MB / 2.155 GB, free: 20.26 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001317/3.982, allocations: 302.8 kB / 2.156 GB, free: 19.96 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002076/3.982, allocations: 107.4 kB / 2.156 GB, free: 19.86 MB / 0.948 GB Notification: Performance of SimCode: time 1.853e-06/3.982, allocations: 0 / 2.156 GB, free: 19.86 MB / 0.948 GB Notification: Performance of Templates: time 0.6712/4.654, allocations: 31.14 MB / 2.186 GB, free: 151.6 MB / 0.948 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)