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.695/1.695, allocations: 288.4 MB / 303.4 MB, free: 8.09 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.0009649/0.0009651, allocations: 172.5 kB / 372 MB, free: 10.23 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.621/1.621, allocations: 205.4 MB / 0.6307 GB, free: 9.965 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.0008241/0.0008242, allocations: 90.31 kB / 0.7441 GB, free: 5.898 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004088/0.0004088, allocations: 14.81 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2468/0.2472, allocations: 115.3 MB / 0.9796 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation): time 0.04692/0.2942, allocations: 52.76 MB / 1.031 GB, free: 6.75 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.02686/0.3211, allocations: 16.37 MB / 1.047 GB, free: 6.359 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003016/0.3242, allocations: 63.56 kB / 1.047 GB, free: 6.297 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.002786/0.327, allocations: 0.6795 MB / 1.048 GB, free: 5.613 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.005757/0.3328, allocations: 1.704 MB / 1.049 GB, free: 3.902 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.004589/0.3374, allocations: 1.388 MB / 1.051 GB, free: 2.531 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.006582/0.344, allocations: 4.304 MB / 1.055 GB, free: 14.21 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001979/0.346, allocations: 1.014 MB / 1.056 GB, free: 13.17 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003009/0.349, allocations: 1.252 MB / 1.057 GB, free: 11.91 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001662/0.3507, allocations: 0.9798 MB / 1.058 GB, free: 10.93 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001638/0.3508, allocations: 52 kB / 1.058 GB, free: 10.88 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002982/0.3538, allocations: 1.057 MB / 1.059 GB, free: 9.82 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0003905/0.3542, allocations: 326.6 kB / 1.06 GB, free: 9.5 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0005874/0.3548, allocations: 360.8 kB / 1.06 GB, free: 9.141 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.002974/0.3578, allocations: 2.307 MB / 1.062 GB, free: 6.828 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 8.426e-06/0.3578, allocations: 3.984 kB / 1.062 GB, free: 6.824 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.887e-06/0.3579, allocations: 8 kB / 1.062 GB, free: 6.816 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.861e-05/0.3579, allocations: 0 / 1.062 GB, free: 6.816 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.003521/0.3614, allocations: 1.83 MB / 1.064 GB, free: 4.922 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/0.3615, allocations: 12.02 kB / 1.064 GB, free: 4.91 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001674/0.3632, allocations: 397.6 kB / 1.064 GB, free: 4.52 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003339/0.3665, allocations: 1.513 MB / 1.066 GB, free: 2.953 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006744/0.3672, allocations: 209.8 kB / 1.066 GB, free: 2.75 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001331/0.3673, allocations: 84 kB / 1.066 GB, free: 2.668 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002553/0.3699, allocations: 1.111 MB / 1.067 GB, free: 1.512 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.638e-05/0.3699, allocations: 15.89 kB / 1.067 GB, free: 1.496 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.332e-05/0.37, allocations: 32 kB / 1.067 GB, free: 1.465 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.071e-05/0.3701, allocations: 20 kB / 1.067 GB, free: 1.445 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0024/0.3725, allocations: 0.9485 MB / 1.068 GB, free: 0.4961 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.5058/0.8783, allocations: 4.986 MB / 1.073 GB, free: 87.84 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002242/0.8805, allocations: 0.7234 MB / 1.074 GB, free: 87.63 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00109/0.8816, allocations: 384.7 kB / 1.074 GB, free: 87.52 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002875/0.8845, allocations: 1.83 MB / 1.076 GB, free: 86.07 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001362/0.8859, allocations: 481.6 kB / 1.076 GB, free: 85.89 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004991/0.8864, allocations: 75.95 kB / 1.076 GB, free: 85.87 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=44): time 2.755e-06/0.8864, allocations: 0 / 1.076 GB, free: 85.87 MB / 0.6823 GB Notification: Performance of matching and sorting (n=44): time 0.003677/0.8901, allocations: 1.192 MB / 1.078 GB, free: 85.49 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.545e-05/0.8902, allocations: 91.95 kB / 1.078 GB, free: 85.39 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002226/0.8924, allocations: 1.29 MB / 1.079 GB, free: 84.87 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.59e-05/0.8925, allocations: 39.33 kB / 1.079 GB, free: 84.83 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006441/0.8932, allocations: 0.6582 MB / 1.08 GB, free: 84.35 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001499/0.8933, allocations: 147 kB / 1.08 GB, free: 84.24 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.981e-05/0.8934, allocations: 15 kB / 1.08 GB, free: 84.23 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.12e-05/0.8935, allocations: 328 kB / 1.08 GB, free: 83.92 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001128/0.8946, allocations: 368.1 kB / 1.08 GB, free: 83.82 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00133/0.896, allocations: 0.6218 MB / 1.081 GB, free: 83.41 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001246/0.8972, allocations: 439.3 kB / 1.082 GB, free: 83.25 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/0.8972, allocations: 2.188 kB / 1.082 GB, free: 83.25 MB / 0.6823 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.003114/0.9003, allocations: 1.143 MB / 1.083 GB, free: 82.84 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002018/0.9006, allocations: 327.7 kB / 1.083 GB, free: 82.44 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.93e-05/0.9006, allocations: 10.42 kB / 1.083 GB, free: 82.44 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.061e-05/0.9006, allocations: 12.34 kB / 1.083 GB, free: 82.44 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009436/0.9016, allocations: 195.9 kB / 1.083 GB, free: 82.42 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.351e-05/0.9016, allocations: 15.22 kB / 1.083 GB, free: 82.42 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001735/0.9034, allocations: 123.2 kB / 1.083 GB, free: 82.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001861/0.9036, allocations: 41.7 kB / 1.083 GB, free: 82.39 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.9036, allocations: 3.875 kB / 1.083 GB, free: 82.39 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003018/0.9066, allocations: 0.9692 MB / 1.084 GB, free: 82.05 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.074e-05/0.9067, allocations: 7.031 kB / 1.084 GB, free: 82.05 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.796e-05/0.9067, allocations: 15.16 kB / 1.084 GB, free: 82.05 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008515/0.9076, allocations: 184.3 kB / 1.084 GB, free: 82.04 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.019e-05/0.9076, allocations: 16.27 kB / 1.084 GB, free: 82.03 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001519/0.9091, allocations: 120.9 kB / 1.085 GB, free: 82 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001097/0.9093, allocations: 39 kB / 1.085 GB, free: 82 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.001329/0.9106, allocations: 0.4904 MB / 1.085 GB, free: 81.62 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003015/0.9109, allocations: 131 kB / 1.085 GB, free: 81.55 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003199/0.9141, allocations: 1.078 MB / 1.086 GB, free: 81.17 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.831e-05/0.9142, allocations: 5.906 kB / 1.086 GB, free: 81.17 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-05/0.9142, allocations: 5.594 kB / 1.086 GB, free: 81.17 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.037e-05/0.9142, allocations: 6.578 kB / 1.086 GB, free: 81.16 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.004895/0.9191, allocations: 2.222 MB / 1.088 GB, free: 80.12 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/0.9191, allocations: 1.25 kB / 1.088 GB, free: 80.12 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006756/0.9198, allocations: 138.3 kB / 1.089 GB, free: 80.11 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.859e-06/0.9198, allocations: 7.25 kB / 1.089 GB, free: 80.11 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.539e-05/0.9199, allocations: 23.81 kB / 1.089 GB, free: 80.09 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.852e-06/0.9199, allocations: 2.594 kB / 1.089 GB, free: 80.09 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.9199, allocations: 2.344 kB / 1.089 GB, free: 80.09 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00266/0.9226, allocations: 1.104 MB / 1.09 GB, free: 79.59 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006032/0.9232, allocations: 316.7 kB / 1.09 GB, free: 79.35 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001554/0.9233, allocations: 14.66 kB / 1.09 GB, free: 79.34 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009858/0.9243, allocations: 120.7 kB / 1.09 GB, free: 79.32 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001087/0.9245, allocations: 34 kB / 1.09 GB, free: 79.32 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.842e-05/0.9245, allocations: 31.3 kB / 1.09 GB, free: 79.32 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001615/0.9262, allocations: 0.8851 MB / 1.091 GB, free: 78.95 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.81e-07/0.9262, allocations: 4 kB / 1.091 GB, free: 78.94 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00245/0.9286, allocations: 0.6849 MB / 1.092 GB, free: 78.83 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.001094/0.9297, allocations: 446.4 kB / 1.092 GB, free: 78.7 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003816/0.9336, allocations: 1.494 MB / 1.094 GB, free: 78.14 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.9336, allocations: 0 / 1.094 GB, free: 78.14 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001151/0.9347, allocations: 0.4924 MB / 1.094 GB, free: 77.95 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003223/0.938, allocations: 0.6286 MB / 1.095 GB, free: 77.8 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005367/0.9434, allocations: 2.755 MB / 1.097 GB, free: 76.27 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009846/0.9444, allocations: 1.201 MB / 1.099 GB, free: 75.5 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001762/0.9461, allocations: 295.4 kB / 1.099 GB, free: 75.43 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003111/0.9465, allocations: 105.5 kB / 1.099 GB, free: 75.41 MB / 0.6823 GB Notification: Performance of SimCode: time 2.264e-06/0.9465, allocations: 0 / 1.099 GB, free: 75.41 MB / 0.6823 GB Notification: Performance of Templates: time 0.04954/0.996, allocations: 26.14 MB / 1.125 GB, free: 60.93 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)