Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.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.CoolingSubstation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation") translateModel(Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001243/0.001243, allocations: 99.55 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.001368/0.001369, 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.884/1.884, allocations: 205.4 MB / 222.1 MB, free: 5.52 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.619/1.619, allocations: 251.9 MB / 0.51 GB, free: 4.828 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.000575/0.0005751, allocations: 12 kB / 0.6241 GB, free: 1.195 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6719/0.6725, allocations: 106.3 MB / 0.728 GB, free: 11.45 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation): time 0.05469/0.7273, allocations: 48.05 MB / 0.7749 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02683/0.7542, allocations: 15.38 MB / 0.7899 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003211/0.7574, allocations: 55.62 kB / 0.79 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.003969/0.7614, allocations: 0.8865 MB / 0.7908 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.009434/0.7709, allocations: 2.206 MB / 0.793 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.01119/0.7821, allocations: 2.717 MB / 0.7956 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.007238/0.7894, allocations: 2.28 MB / 0.7979 GB, free: 3.75 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002375/0.7918, allocations: 1.022 MB / 0.7989 GB, free: 2.703 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003154/0.795, allocations: 1.07 MB / 0.7999 GB, free: 1.629 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001668/0.7967, allocations: 0.7077 MB / 0.8006 GB, free: 0.918 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001835/0.7969, allocations: 56 kB / 0.8006 GB, free: 0.8633 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003175/0.8001, allocations: 1.049 MB / 0.8017 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0005087/0.8006, allocations: 314.8 kB / 0.802 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0006385/0.8012, allocations: 360.9 kB / 0.8023 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003614/0.8049, allocations: 2.272 MB / 0.8045 GB, free: 12.87 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.8049, allocations: 0 / 0.8045 GB, free: 12.87 MB / 0.6231 GB Notification: Performance of FrontEnd: time 3.186e-06/0.8049, allocations: 0 / 0.8045 GB, free: 12.87 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 3.286e-05/0.8049, allocations: 0 / 0.8045 GB, free: 12.87 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.00385/0.8088, allocations: 1.826 MB / 0.8063 GB, free: 10.98 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.162e-05/0.8088, allocations: 8.031 kB / 0.8063 GB, free: 10.97 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001709/0.8106, allocations: 397.7 kB / 0.8067 GB, free: 10.58 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002762/0.8133, allocations: 1.45 MB / 0.8081 GB, free: 9.074 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006373/0.814, allocations: 209.8 kB / 0.8083 GB, free: 8.871 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001404/0.8141, allocations: 87.95 kB / 0.8084 GB, free: 8.785 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002269/0.8164, allocations: 1.099 MB / 0.8095 GB, free: 7.641 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.967e-05/0.8165, allocations: 4 kB / 0.8095 GB, free: 7.637 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.292e-05/0.8166, allocations: 36 kB / 0.8095 GB, free: 7.602 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.936e-05/0.8166, allocations: 20 kB / 0.8095 GB, free: 7.582 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002341/0.8189, allocations: 0.9368 MB / 0.8105 GB, free: 6.645 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.007934/0.8269, allocations: 5.148 MB / 0.8155 GB, free: 1.191 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001967/0.8289, allocations: 0.6941 MB / 0.8162 GB, free: 500 kB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002692/0.8316, allocations: 1.832 MB / 0.8179 GB, free: 14.48 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001154/0.8328, allocations: 473.4 kB / 0.8184 GB, free: 14 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004548/0.8332, allocations: 71.41 kB / 0.8185 GB, free: 13.93 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=44): time 3.417e-06/0.8332, allocations: 4 kB / 0.8185 GB, free: 13.93 MB / 0.6387 GB Notification: Performance of matching and sorting (n=44): time 0.003279/0.8365, allocations: 1.248 MB / 0.8197 GB, free: 12.64 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.788e-05/0.8366, allocations: 85.11 kB / 0.8198 GB, free: 12.54 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001861/0.8385, allocations: 1.328 MB / 0.8211 GB, free: 11.2 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 7.383e-05/0.8386, allocations: 33.7 kB / 0.8211 GB, free: 11.16 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006372/0.8392, allocations: 0.6686 MB / 0.8218 GB, free: 10.49 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001373/0.8394, allocations: 145.9 kB / 0.8219 GB, free: 10.34 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.23e-05/0.8394, allocations: 16 kB / 0.8219 GB, free: 10.33 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.8396, allocations: 330 kB / 0.8222 GB, free: 10 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009583/0.8405, allocations: 357.1 kB / 0.8226 GB, free: 9.652 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001147/0.8417, allocations: 0.6156 MB / 0.8232 GB, free: 8.922 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001024/0.8427, allocations: 426.2 kB / 0.8236 GB, free: 8.496 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.784e-06/0.8427, allocations: 8 kB / 0.8236 GB, free: 8.488 MB / 0.6387 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002867/0.8456, allocations: 1.132 MB / 0.8247 GB, free: 7.348 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.001229/0.8469, allocations: 2.693 MB / 0.8273 GB, free: 4.492 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.599e-05/0.8469, allocations: 8 kB / 0.8273 GB, free: 4.484 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.014e-05/0.8469, allocations: 15.95 kB / 0.8273 GB, free: 4.469 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000802/0.8477, allocations: 203.7 kB / 0.8275 GB, free: 4.27 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.612e-05/0.8478, allocations: 8 kB / 0.8275 GB, free: 4.262 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00128/0.8491, allocations: 130.5 kB / 0.8277 GB, free: 4.137 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.698e-05/0.8492, allocations: 47.91 kB / 0.8277 GB, free: 4.09 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.8492, allocations: 6.5 kB / 0.8277 GB, free: 4.086 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002024/0.8512, allocations: 0.9461 MB / 0.8286 GB, free: 3.129 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.8512, allocations: 4 kB / 0.8286 GB, free: 3.125 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.8512, allocations: 12 kB / 0.8287 GB, free: 3.113 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006411/0.8519, allocations: 188.3 kB / 0.8288 GB, free: 2.93 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.693e-05/0.8519, allocations: 15.94 kB / 0.8288 GB, free: 2.914 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001166/0.8531, allocations: 112.5 kB / 0.829 GB, free: 2.805 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.7e-05/0.8532, allocations: 39.98 kB / 0.829 GB, free: 2.766 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,QCoo.a,QCoo.b,QCoo.last,$PRE.QCoo.nextEvent,QCoo.nextEvent,QCoo.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.001107/0.8543, allocations: 498.5 kB / 0.8295 GB, free: 2.262 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003667/0.8547, allocations: 130.4 kB / 0.8296 GB, free: 2.133 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002932/0.8576, allocations: 1.07 MB / 0.8306 GB, free: 1.062 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.318e-05/0.8577, allocations: 8 kB / 0.8306 GB, free: 1.055 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.718e-06/0.8577, allocations: 0 / 0.8306 GB, free: 1.055 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/0.8577, allocations: 7.938 kB / 0.8307 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.004953/0.8627, allocations: 2.251 MB / 0.8328 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/0.8627, allocations: 0 / 0.8328 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006041/0.8633, allocations: 147.9 kB / 0.833 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.259e-05/0.8633, allocations: 7.984 kB / 0.833 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.978e-05/0.8634, allocations: 27.92 kB / 0.833 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.135e-06/0.8634, allocations: 3.953 kB / 0.833 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.592e-06/0.8634, allocations: 4 kB / 0.833 GB, free: 14.51 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002564/0.866, allocations: 1.142 MB / 0.8341 GB, free: 13.31 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007435/0.8667, allocations: 327.2 kB / 0.8345 GB, free: 12.97 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002888/0.867, allocations: 8 kB / 0.8345 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001184/0.8682, allocations: 123.9 kB / 0.8346 GB, free: 12.84 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001187/0.8684, allocations: 31.95 kB / 0.8346 GB, free: 12.81 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.307e-05/0.8685, allocations: 35.92 kB / 0.8347 GB, free: 12.77 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001613/0.8701, allocations: 0.9145 MB / 0.8355 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8701, allocations: 0 / 0.8355 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.00281/0.8729, 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,QCoo.a,QCoo.b,QCoo.last,QCoo.nextEvent,QCoo.nextEventScaled) * Number of discrete states: 6 (QCoo.nextEvent,QCoo.last,QCoo.nextEventScaled,QCoo.b,QCoo.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.001261/0.8742, allocations: 468.9 kB / 0.8367 GB, free: 10.71 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.00374/0.8779, allocations: 1.462 MB / 0.8381 GB, free: 9.227 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/0.878, allocations: 4.188 kB / 0.8381 GB, free: 9.223 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001125/0.8791, allocations: 491.7 kB / 0.8386 GB, free: 8.73 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003005/0.8821, allocations: 0.6132 MB / 0.8392 GB, free: 8.129 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005951/0.8881, allocations: 2.781 MB / 0.8419 GB, free: 5.305 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001338/0.8894, allocations: 1.233 MB / 0.8431 GB, free: 4.043 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001994/0.8915, allocations: 302.6 kB / 0.8434 GB, free: 3.754 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004648/0.8919, allocations: 111.4 kB / 0.8435 GB, free: 3.645 MB / 0.6544 GB Notification: Performance of SimCode: time 1.503e-06/0.892, allocations: 4 kB / 0.8435 GB, free: 3.641 MB / 0.6544 GB Notification: Performance of Templates: time 0.05493/0.9469, 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.CoolingSubstation.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.sim & ./Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe 2>&1) Environment - environmentSimulation: