Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.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.CoolingSubstation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation") translateModel(Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.625/1.625, allocations: 288.4 MB / 303.7 MB, free: 8.168 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.00106/0.00106, allocations: 176.5 kB / 372.3 MB, free: 10.16 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.463/1.463, allocations: 205.4 MB / 0.631 GB, free: 9.922 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.0007914/0.0007914, allocations: 94.3 kB / 0.7444 GB, free: 5.824 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005471/0.0005472, allocations: 19.3 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1981/0.1987, allocations: 115.3 MB / 0.9801 GB, free: 27.4 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation): time 0.04163/0.2404, allocations: 52.76 MB / 1.032 GB, free: 6.488 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.02095/0.2614, allocations: 16.38 MB / 1.048 GB, free: 6.086 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001854/0.2633, allocations: 59.62 kB / 1.048 GB, free: 6.027 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.002703/0.266, allocations: 0.7575 MB / 1.048 GB, free: 5.266 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.005096/0.2711, allocations: 1.823 MB / 1.05 GB, free: 3.438 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.003669/0.2748, allocations: 1.395 MB / 1.052 GB, free: 2.059 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.004703/0.2795, allocations: 4.367 MB / 1.056 GB, free: 13.68 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001442/0.281, allocations: 1.14 MB / 1.057 GB, free: 12.5 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002114/0.2831, allocations: 1.307 MB / 1.058 GB, free: 11.19 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001064/0.2842, allocations: 0.9721 MB / 1.059 GB, free: 10.21 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001255/0.2843, allocations: 52 kB / 1.059 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002312/0.2866, allocations: 1.29 MB / 1.06 GB, free: 8.871 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0003126/0.287, allocations: 322.6 kB / 1.061 GB, free: 8.555 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0007274/0.2877, allocations: 0.748 MB / 1.062 GB, free: 7.797 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.002473/0.2902, allocations: 2.373 MB / 1.064 GB, free: 5.418 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.2902, allocations: 4 kB / 1.064 GB, free: 5.414 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.623e-06/0.2902, allocations: 0 / 1.064 GB, free: 5.414 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.741e-05/0.2902, allocations: 0 / 1.064 GB, free: 5.414 MB / 0.6823 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.002752/0.293, allocations: 1.811 MB / 1.066 GB, free: 3.539 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.299e-05/0.293, allocations: 8.031 kB / 1.066 GB, free: 3.531 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001428/0.2945, allocations: 398.5 kB / 1.066 GB, free: 3.141 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002524/0.297, allocations: 1.567 MB / 1.068 GB, free: 1.52 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006115/0.2976, allocations: 205.9 kB / 1.068 GB, free: 1.32 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001257/0.2978, allocations: 88 kB / 1.068 GB, free: 1.234 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002143/0.2999, allocations: 1.111 MB / 1.069 GB, free: 80 kB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.922e-05/0.3, allocations: 7.938 kB / 1.069 GB, free: 72 kB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.854e-05/0.3, allocations: 32 kB / 1.069 GB, free: 40 kB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.467e-05/0.3001, allocations: 23.98 kB / 1.069 GB, free: 16 kB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3573/0.6574, allocations: 0.9416 MB / 1.07 GB, free: 90.9 MB / 0.6823 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.007116/0.6646, allocations: 5.01 MB / 1.075 GB, free: 87.75 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002288/0.6669, allocations: 0.7247 MB / 1.075 GB, free: 87.54 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001059/0.668, allocations: 381.5 kB / 1.076 GB, free: 87.43 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00259/0.6706, allocations: 1.832 MB / 1.078 GB, free: 85.99 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001182/0.6718, allocations: 481.5 kB / 1.078 GB, free: 85.81 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003416/0.6721, allocations: 73.17 kB / 1.078 GB, free: 85.8 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=44): time 2.575e-06/0.6721, allocations: 0 / 1.078 GB, free: 85.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=44): time 0.003213/0.6754, allocations: 1.195 MB / 1.079 GB, free: 85.42 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.578e-05/0.6754, allocations: 88.42 kB / 1.079 GB, free: 85.32 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001876/0.6773, allocations: 1.285 MB / 1.081 GB, free: 84.8 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.465e-05/0.6774, allocations: 42.55 kB / 1.081 GB, free: 84.77 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004891/0.6779, allocations: 0.66 MB / 1.081 GB, free: 84.26 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000122/0.678, allocations: 145.9 kB / 1.082 GB, free: 84.15 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.497e-05/0.678, allocations: 10.88 kB / 1.082 GB, free: 84.14 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.27e-05/0.6781, allocations: 332.6 kB / 1.082 GB, free: 83.83 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001092/0.6792, allocations: 367 kB / 1.082 GB, free: 83.74 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001192/0.6804, allocations: 0.6193 MB / 1.083 GB, free: 83.32 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002108/0.6826, allocations: 0.9735 MB / 1.084 GB, free: 82.76 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.085e-06/0.6826, allocations: 6.656 kB / 1.084 GB, free: 82.76 MB / 0.6823 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002804/0.6854, allocations: 1.147 MB / 1.085 GB, free: 82.32 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001408/0.6855, allocations: 326.8 kB / 1.085 GB, free: 81.93 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.875e-05/0.6856, allocations: 6.797 kB / 1.085 GB, free: 81.93 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.251e-05/0.6856, allocations: 10.38 kB / 1.085 GB, free: 81.93 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009002/0.6865, allocations: 205.2 kB / 1.085 GB, free: 81.91 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.397e-05/0.6866, allocations: 11.56 kB / 1.085 GB, free: 81.91 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001195/0.6878, allocations: 119 kB / 1.086 GB, free: 81.89 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.897e-05/0.6879, allocations: 41.33 kB / 1.086 GB, free: 81.88 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.077e-05/0.6879, allocations: 12.12 kB / 1.086 GB, free: 81.88 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002256/0.6901, allocations: 0.968 MB / 1.087 GB, free: 81.54 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.674e-05/0.6902, allocations: 7.234 kB / 1.087 GB, free: 81.54 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/0.6902, allocations: 10 kB / 1.087 GB, free: 81.54 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007409/0.6909, allocations: 188 kB / 1.087 GB, free: 81.52 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.848e-05/0.691, allocations: 16.33 kB / 1.087 GB, free: 81.51 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001063/0.692, allocations: 111.6 kB / 1.087 GB, free: 81.49 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.742e-05/0.6921, allocations: 42.22 kB / 1.087 GB, free: 81.48 MB / 0.6823 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 (76): * Single equations (assignments): 74 * 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.0007998/0.6929, allocations: 489.3 kB / 1.087 GB, free: 81.12 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001965/0.6931, allocations: 147 kB / 1.087 GB, free: 81.04 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002754/0.6959, allocations: 1.076 MB / 1.089 GB, free: 80.66 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.775e-05/0.6959, allocations: 10.19 kB / 1.089 GB, free: 80.66 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.696, allocations: 0 / 1.089 GB, free: 80.66 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.316e-06/0.696, allocations: 6.516 kB / 1.089 GB, free: 80.66 MB / 0.6823 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.004623/0.7006, allocations: 2.224 MB / 1.091 GB, free: 79.62 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.705e-06/0.7006, allocations: 2.094 kB / 1.091 GB, free: 79.62 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006488/0.7013, allocations: 137 kB / 1.091 GB, free: 79.61 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.277e-06/0.7013, allocations: 2.906 kB / 1.091 GB, free: 79.61 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.801e-05/0.7014, allocations: 15.8 kB / 1.091 GB, free: 79.61 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.462e-06/0.7014, allocations: 3.812 kB / 1.091 GB, free: 79.61 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.7014, allocations: 1 kB / 1.091 GB, free: 79.61 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002501/0.7039, allocations: 1.116 MB / 1.092 GB, free: 79.09 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006326/0.7045, allocations: 308.8 kB / 1.092 GB, free: 78.86 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001643/0.7047, allocations: 10.67 kB / 1.092 GB, free: 78.86 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009348/0.7057, allocations: 132.3 kB / 1.092 GB, free: 78.83 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001163/0.7058, allocations: 36.14 kB / 1.092 GB, free: 78.82 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.86e-05/0.7059, allocations: 30 kB / 1.092 GB, free: 78.82 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001417/0.7073, allocations: 0.8848 MB / 1.093 GB, free: 78.45 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7073, allocations: 0 / 1.093 GB, free: 78.45 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002114/0.7094, allocations: 0.6898 MB / 1.094 GB, free: 78.34 MB / 0.6823 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.001105/0.7105, allocations: 461.9 kB / 1.094 GB, free: 78.2 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003524/0.7141, allocations: 1.495 MB / 1.096 GB, free: 77.64 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.7141, allocations: 0 / 1.096 GB, free: 77.64 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001139/0.7152, allocations: 0.4922 MB / 1.096 GB, free: 77.44 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003294/0.7186, allocations: 0.6097 MB / 1.097 GB, free: 77.31 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004528/0.7231, allocations: 2.749 MB / 1.1 GB, free: 75.78 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007623/0.7239, allocations: 1.214 MB / 1.101 GB, free: 75 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001444/0.7253, allocations: 299.8 kB / 1.101 GB, free: 74.92 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002388/0.7256, allocations: 100.9 kB / 1.101 GB, free: 74.91 MB / 0.6823 GB Notification: Performance of SimCode: time 7.02e-07/0.7256, allocations: 0 / 1.101 GB, free: 74.91 MB / 0.6823 GB Notification: Performance of Templates: time 0.04028/0.7659, allocations: 26.56 MB / 1.127 GB, free: 59.02 MB / 0.6823 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.makefile (rm -f Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.sim & ./Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe 2>&1)