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.000697/0.0006971, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.004176/0.004176, allocations: 168.9 kB / 16.26 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.154/1.154, allocations: 205.4 MB / 222.4 MB, free: 5.559 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.306/1.306, allocations: 252 MB / 0.5105 GB, free: 4.68 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.0004567/0.0004568, allocations: 16 kB / 0.6249 GB, free: 0.7188 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3608/0.3613, allocations: 106.3 MB / 0.7287 GB, free: 11.27 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation): time 0.04453/0.4058, allocations: 55.82 MB / 0.7832 GB, free: 3.262 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01964/0.4255, allocations: 17.65 MB / 0.8005 GB, free: 1.57 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001469/0.427, allocations: 55.62 kB / 0.8005 GB, free: 1.516 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.00194/0.429, allocations: 0.8942 MB / 0.8014 GB, free: 0.6172 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.003787/0.4328, allocations: 2.045 MB / 0.8034 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003289/0.4361, allocations: 1.73 MB / 0.8051 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004353/0.4404, allocations: 5.011 MB / 0.81 GB, free: 7.836 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001282/0.4417, allocations: 1.152 MB / 0.8111 GB, free: 6.648 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001717/0.4435, allocations: 1.287 MB / 0.8123 GB, free: 5.355 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001023/0.4445, allocations: 1.046 MB / 0.8134 GB, free: 4.305 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001147/0.4446, allocations: 56 kB / 0.8134 GB, free: 4.25 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002018/0.4466, allocations: 1.29 MB / 0.8147 GB, free: 2.957 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002846/0.4469, allocations: 342.5 kB / 0.815 GB, free: 2.621 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0006187/0.4476, allocations: 0.7866 MB / 0.8158 GB, free: 1.824 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002433/0.45, allocations: 2.928 MB / 0.8186 GB, free: 14.89 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.45, allocations: 4 kB / 0.8186 GB, free: 14.88 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.483e-06/0.45, allocations: 0 / 0.8186 GB, free: 14.88 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.644e-05/0.4501, allocations: 0 / 0.8186 GB, free: 14.88 MB / 0.6387 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.002645/0.4527, allocations: 1.807 MB / 0.8204 GB, free: 13.01 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.267e-05/0.4527, allocations: 12.03 kB / 0.8204 GB, free: 13 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001399/0.4541, allocations: 402.6 kB / 0.8208 GB, free: 12.61 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002208/0.4564, allocations: 1.565 MB / 0.8223 GB, free: 10.99 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000601/0.457, allocations: 197.9 kB / 0.8225 GB, free: 10.8 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001213/0.4571, allocations: 95.94 kB / 0.8226 GB, free: 10.7 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001958/0.4591, allocations: 1.122 MB / 0.8237 GB, free: 9.535 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.485e-05/0.4591, allocations: 7.984 kB / 0.8237 GB, free: 9.527 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.992e-05/0.4592, allocations: 35.94 kB / 0.8237 GB, free: 9.492 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.74e-05/0.4592, allocations: 20 kB / 0.8238 GB, free: 9.473 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002167/0.4614, allocations: 0.9563 MB / 0.8247 GB, free: 8.516 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 preOpt removeSimpleEquations (simulation): time 0.005355/0.4668, allocations: 5.088 MB / 0.8297 GB, free: 3.129 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001843/0.4686, allocations: 0.7331 MB / 0.8304 GB, free: 2.387 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008682/0.4695, allocations: 384.6 kB / 0.8308 GB, free: 2.008 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001833/0.4713, allocations: 1.825 MB / 0.8325 GB, free: 8 kB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001034/0.4724, allocations: 485.4 kB / 0.833 GB, free: 15.52 MB / 0.6544 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002359/0.4726, allocations: 71.5 kB / 0.8331 GB, free: 15.45 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=44): time 1.603e-06/0.4726, allocations: 0 / 0.8331 GB, free: 15.45 MB / 0.6544 GB Notification: Performance of matching and sorting (n=44): time 0.002863/0.4755, allocations: 1.204 MB / 0.8342 GB, free: 14.23 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.056e-05/0.4756, allocations: 85.11 kB / 0.8343 GB, free: 14.12 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001405/0.477, allocations: 1.297 MB / 0.8356 GB, free: 12.82 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.703e-05/0.477, allocations: 41.64 kB / 0.8356 GB, free: 12.77 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004681/0.4775, allocations: 0.661 MB / 0.8363 GB, free: 12.1 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001069/0.4776, allocations: 141.9 kB / 0.8364 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.643e-05/0.4777, allocations: 65.67 kB / 0.8365 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.091e-05/0.4778, allocations: 334 kB / 0.8368 GB, free: 11.56 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009402/0.4788, allocations: 377.1 kB / 0.8371 GB, free: 11.19 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001085/0.4799, allocations: 0.6469 MB / 0.8378 GB, free: 10.43 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001923/0.4818, allocations: 1 MB / 0.8388 GB, free: 9.324 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.4818, allocations: 7.984 kB / 0.8388 GB, free: 9.316 MB / 0.6544 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002334/0.4841, allocations: 1.185 MB / 0.8399 GB, free: 8.121 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001602/0.4843, allocations: 322.1 kB / 0.8402 GB, free: 7.703 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/0.4843, allocations: 12 kB / 0.8402 GB, free: 7.691 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/0.4844, allocations: 15.94 kB / 0.8403 GB, free: 7.676 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007394/0.4851, allocations: 195.7 kB / 0.8404 GB, free: 7.484 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.667e-05/0.4851, allocations: 15.94 kB / 0.8405 GB, free: 7.469 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000859/0.486, allocations: 120.5 kB / 0.8406 GB, free: 7.352 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.513e-05/0.4861, allocations: 39.98 kB / 0.8406 GB, free: 7.312 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.598e-06/0.4861, allocations: 0 / 0.8406 GB, free: 7.312 MB / 0.6544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001915/0.488, allocations: 0.9733 MB / 0.8416 GB, free: 6.332 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.488, allocations: 8.625 kB / 0.8416 GB, free: 6.324 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.465e-06/0.488, allocations: 16 kB / 0.8416 GB, free: 6.309 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006161/0.4887, allocations: 179.7 kB / 0.8418 GB, free: 6.133 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.159e-05/0.4887, allocations: 19.92 kB / 0.8418 GB, free: 6.113 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007376/0.4894, allocations: 115.8 kB / 0.8419 GB, free: 6.004 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.738e-05/0.4895, allocations: 35.98 kB / 0.8419 GB, free: 5.969 MB / 0.6544 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 (QCoo.nextEventScaled,QCoo.nextEvent,$PRE.QCoo.nextEvent,QCoo.last,QCoo.b,QCoo.a,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004847/0.49, allocations: 494.5 kB / 0.8424 GB, free: 5.469 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001364/0.4901, allocations: 134.3 kB / 0.8425 GB, free: 5.336 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002382/0.4925, allocations: 1.08 MB / 0.8436 GB, free: 4.254 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.104e-05/0.4925, allocations: 11.94 kB / 0.8436 GB, free: 4.242 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.4925, allocations: 3.938 kB / 0.8436 GB, free: 4.238 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.573e-06/0.4926, allocations: 3.984 kB / 0.8436 GB, free: 4.234 MB / 0.6544 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.003438/0.496, allocations: 2.22 MB / 0.8458 GB, free: 1.934 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.496, allocations: 0 / 0.8458 GB, free: 1.934 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005732/0.4966, allocations: 140 kB / 0.8459 GB, free: 1.797 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.4966, allocations: 4 kB / 0.8459 GB, free: 1.793 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.858e-05/0.4966, allocations: 19.97 kB / 0.8459 GB, free: 1.773 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.4967, allocations: 7.938 kB / 0.8459 GB, free: 1.766 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.4967, allocations: 0 / 0.8459 GB, free: 1.766 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002108/0.4988, allocations: 1.113 MB / 0.847 GB, free: 0.6172 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003391/0.4991, allocations: 307.3 kB / 0.8473 GB, free: 304 kB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001308/0.4993, allocations: 19.98 kB / 0.8473 GB, free: 284 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008501/0.5001, allocations: 123.7 kB / 0.8474 GB, free: 160 kB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.751e-05/0.5002, allocations: 31.95 kB / 0.8475 GB, free: 128 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.382e-05/0.5003, allocations: 31.97 kB / 0.8475 GB, free: 96 kB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0009968/0.5013, allocations: 0.895 MB / 0.8484 GB, free: 15.2 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5013, allocations: 0 / 0.8484 GB, free: 15.2 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001461/0.5027, allocations: 0.6744 MB / 0.849 GB, free: 14.52 MB / 0.67 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007502/0.5035, allocations: 435.2 kB / 0.8495 GB, free: 14.1 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002985/0.5065, allocations: 1.503 MB / 0.8509 GB, free: 12.58 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.5065, allocations: 8.5 kB / 0.8509 GB, free: 12.57 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0009906/0.5075, allocations: 499.7 kB / 0.8514 GB, free: 12.07 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002511/0.51, allocations: 0.6187 MB / 0.852 GB, free: 11.46 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003551/0.5136, allocations: 2.776 MB / 0.8547 GB, free: 8.645 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006392/0.5142, allocations: 1.206 MB / 0.8559 GB, free: 7.41 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0009792/0.5152, allocations: 295.8 kB / 0.8562 GB, free: 7.125 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002259/0.5155, allocations: 103.4 kB / 0.8563 GB, free: 7.023 MB / 0.67 GB Notification: Performance of SimCode: time 2.51e-07/0.5155, allocations: 0 / 0.8563 GB, free: 7.023 MB / 0.67 GB Notification: Performance of Templates: time 0.03472/0.5502, allocations: 26.58 MB / 0.8822 GB, free: 12.85 MB / 0.7012 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: