Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation") translateModel(Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001004/0.001004, allocations: 99.7 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001002/0.001002, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.762/1.762, allocations: 205.4 MB / 222.1 MB, free: 5.508 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.638/1.638, allocations: 251.9 MB / 0.51 GB, free: 4.805 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005338/0.0005338, allocations: 12 kB / 0.6241 GB, free: 1.184 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6211/0.6216, allocations: 106.3 MB / 0.728 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation): time 0.05311/0.6748, allocations: 48.05 MB / 0.7749 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02687/0.7017, allocations: 15.37 MB / 0.7899 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003562/0.7053, allocations: 55.62 kB / 0.79 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.004509/0.7099, allocations: 0.8826 MB / 0.7908 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.01001/0.7199, allocations: 2.196 MB / 0.793 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.01145/0.7314, allocations: 2.742 MB / 0.7956 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.006697/0.7381, allocations: 2.268 MB / 0.7979 GB, free: 3.742 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002202/0.7403, allocations: 1.022 MB / 0.7989 GB, free: 2.695 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003581/0.7439, allocations: 1.078 MB / 0.7999 GB, free: 1.613 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001683/0.7456, allocations: 0.7038 MB / 0.8006 GB, free: 0.9062 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.000167/0.7458, allocations: 59.94 kB / 0.8007 GB, free: 0.8477 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002834/0.7486, allocations: 1.053 MB / 0.8017 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004117/0.7491, allocations: 306.8 kB / 0.802 GB, free: 15.49 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0005989/0.7497, allocations: 356.9 kB / 0.8023 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003544/0.7532, allocations: 2.276 MB / 0.8045 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.7532, allocations: 0 / 0.8045 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.725e-06/0.7533, allocations: 0 / 0.8045 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.977e-05/0.7533, allocations: 4 kB / 0.8045 GB, free: 12.85 MB / 0.6231 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.003859/0.7572, allocations: 1.819 MB / 0.8063 GB, free: 10.97 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/0.7572, allocations: 12.03 kB / 0.8063 GB, free: 10.96 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001696/0.7589, allocations: 401.7 kB / 0.8067 GB, free: 10.56 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002943/0.7619, allocations: 1.45 MB / 0.8081 GB, free: 9.059 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006928/0.7626, allocations: 201.9 kB / 0.8083 GB, free: 8.863 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001477/0.7627, allocations: 91.95 kB / 0.8084 GB, free: 8.773 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002414/0.7652, allocations: 1.103 MB / 0.8095 GB, free: 7.625 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.908e-05/0.7652, allocations: 4 kB / 0.8095 GB, free: 7.621 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.995e-05/0.7653, allocations: 32 kB / 0.8095 GB, free: 7.59 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.103e-05/0.7653, allocations: 20 kB / 0.8095 GB, free: 7.57 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002496/0.7678, allocations: 0.9407 MB / 0.8105 GB, free: 6.629 MB / 0.6231 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.00815/0.776, allocations: 5.135 MB / 0.8155 GB, free: 1.191 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00196/0.778, allocations: 0.7001 MB / 0.8162 GB, free: 496 kB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002659/0.7806, allocations: 1.825 MB / 0.8179 GB, free: 14.48 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001162/0.7818, allocations: 477.5 kB / 0.8184 GB, free: 14 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004609/0.7823, allocations: 75.41 kB / 0.8185 GB, free: 13.93 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=44): time 2.124e-06/0.7823, allocations: 0 / 0.8185 GB, free: 13.93 MB / 0.6387 GB Notification: Performance of matching and sorting (n=44): time 0.003247/0.7856, allocations: 1.248 MB / 0.8197 GB, free: 12.64 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.774e-05/0.7856, allocations: 89.09 kB / 0.8198 GB, free: 12.54 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001899/0.7875, allocations: 1.328 MB / 0.8211 GB, free: 11.2 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 7.401e-05/0.7876, allocations: 37.7 kB / 0.8211 GB, free: 11.16 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.000605/0.7882, allocations: 0.6531 MB / 0.8217 GB, free: 10.5 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001597/0.7884, allocations: 149.9 kB / 0.8219 GB, free: 10.35 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.78e-05/0.7885, allocations: 15.94 kB / 0.8219 GB, free: 10.33 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001513/0.7886, allocations: 330 kB / 0.8222 GB, free: 10 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009899/0.7896, allocations: 361.1 kB / 0.8226 GB, free: 9.652 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001212/0.7908, allocations: 0.6078 MB / 0.8231 GB, free: 8.93 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0011/0.7919, allocations: 442.1 kB / 0.8236 GB, free: 8.488 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.662e-06/0.792, allocations: 4 kB / 0.8236 GB, free: 8.484 MB / 0.6387 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002779/0.7947, allocations: 1.12 MB / 0.8247 GB, free: 7.355 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.001242/0.796, allocations: 2.705 MB / 0.8273 GB, free: 4.488 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.759e-05/0.796, allocations: 4 kB / 0.8273 GB, free: 4.484 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.789e-05/0.7961, allocations: 19.95 kB / 0.8273 GB, free: 4.465 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008376/0.7969, allocations: 207.7 kB / 0.8275 GB, free: 4.262 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.903e-05/0.7969, allocations: 15.94 kB / 0.8275 GB, free: 4.246 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001283/0.7982, allocations: 120.5 kB / 0.8277 GB, free: 4.129 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.232e-05/0.7983, allocations: 39.98 kB / 0.8277 GB, free: 4.09 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 9.708e-06/0.7983, allocations: 4 kB / 0.8277 GB, free: 4.086 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002126/0.8005, allocations: 0.9465 MB / 0.8286 GB, free: 3.129 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/0.8005, allocations: 8 kB / 0.8286 GB, free: 3.121 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.8005, allocations: 15.98 kB / 0.8286 GB, free: 3.105 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00067/0.8012, allocations: 183.9 kB / 0.8288 GB, free: 2.926 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.481e-05/0.8012, allocations: 15.92 kB / 0.8288 GB, free: 2.91 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001121/0.8024, allocations: 116.5 kB / 0.8289 GB, free: 2.797 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.625e-05/0.8024, allocations: 35.98 kB / 0.829 GB, free: 2.762 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (75): * Single equations (assignments): 73 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009459/0.8034, allocations: 492.3 kB / 0.8295 GB, free: 2.266 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000198/0.8036, allocations: 134.4 kB / 0.8296 GB, free: 2.133 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002676/0.8063, allocations: 1.072 MB / 0.8306 GB, free: 1.062 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.767e-05/0.8063, allocations: 8 kB / 0.8306 GB, free: 1.055 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.8063, allocations: 3.938 kB / 0.8306 GB, free: 1.051 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.017e-06/0.8063, allocations: 3.984 kB / 0.8306 GB, free: 1.047 MB / 0.6387 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.004522/0.8109, allocations: 2.263 MB / 0.8329 GB, free: 14.69 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.8109, allocations: 0 / 0.8329 GB, free: 14.69 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006173/0.8115, allocations: 136 kB / 0.833 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.284e-06/0.8115, allocations: 4 kB / 0.833 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.324e-05/0.8116, allocations: 15.98 kB / 0.833 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.667e-06/0.8116, allocations: 11.94 kB / 0.833 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.8116, allocations: 4 kB / 0.833 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002488/0.8141, allocations: 1.146 MB / 0.8341 GB, free: 13.31 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008596/0.815, allocations: 331.2 kB / 0.8345 GB, free: 12.97 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001606/0.8151, allocations: 12 kB / 0.8345 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009418/0.8161, allocations: 119.9 kB / 0.8346 GB, free: 12.84 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001411/0.8162, allocations: 31.95 kB / 0.8346 GB, free: 12.81 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.822e-05/0.8163, allocations: 35.92 kB / 0.8346 GB, free: 12.77 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.00155/0.8179, allocations: 0.9184 MB / 0.8355 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.2e-07/0.8179, allocations: 0 / 0.8355 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.00223/0.8201, allocations: 0.6861 MB / 0.8362 GB, free: 11.17 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (46): * Single equations (assignments): 41 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001212/0.8214, allocations: 464.2 kB / 0.8367 GB, free: 10.71 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.003708/0.8251, allocations: 1.47 MB / 0.8381 GB, free: 9.219 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/0.8251, allocations: 0 / 0.8381 GB, free: 9.219 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001205/0.8263, allocations: 492.2 kB / 0.8386 GB, free: 8.727 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002722/0.829, allocations: 0.6154 MB / 0.8392 GB, free: 8.121 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005366/0.8344, allocations: 2.777 MB / 0.8419 GB, free: 5.301 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008868/0.8353, allocations: 1.241 MB / 0.8431 GB, free: 4.031 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001414/0.8367, allocations: 298.1 kB / 0.8434 GB, free: 3.746 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002739/0.837, allocations: 107.4 kB / 0.8435 GB, free: 3.641 MB / 0.6544 GB Notification: Performance of SimCode: time 1.623e-06/0.837, allocations: 0 / 0.8435 GB, free: 3.641 MB / 0.6544 GB Notification: Performance of Templates: time 0.04845/0.8855, allocations: 26.66 MB / 0.8695 GB, free: 9.391 MB / 0.6856 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.sim & ./Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe 2>&1) Environment - environmentSimulation: