Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.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.Plants.Validation.Plant_T_ClosedLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop") translateModel(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.718/1.718, allocations: 288.4 MB / 303.4 MB, free: 8.191 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.0009959/0.000996, allocations: 184.5 kB / 372 MB, free: 10.27 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.545/1.545, allocations: 205.4 MB / 0.6307 GB, free: 10.01 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.0007389/0.000739, allocations: 90.34 kB / 0.7441 GB, free: 5.926 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003912/0.0003913, allocations: 11.66 kB / 0.867 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2138/0.2142, allocations: 115.3 MB / 0.9796 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop): time 0.05003/0.2643, allocations: 57.9 MB / 1.036 GB, free: 1.625 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.02754/0.2919, allocations: 18.03 MB / 1.054 GB, free: 15.57 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003635/0.2956, allocations: 79.44 kB / 1.054 GB, free: 15.49 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.003936/0.2996, allocations: 0.8308 MB / 1.055 GB, free: 14.65 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.00891/0.3085, allocations: 2.172 MB / 1.057 GB, free: 12.47 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.009147/0.3177, allocations: 2.712 MB / 1.059 GB, free: 9.781 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.009328/0.327, allocations: 5.717 MB / 1.065 GB, free: 4.047 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003896/0.331, allocations: 1.318 MB / 1.066 GB, free: 2.699 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005217/0.3362, allocations: 1.723 MB / 1.068 GB, free: 0.9688 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.5334/0.8696, allocations: 1.35 MB / 1.069 GB, free: 15.38 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0007814/0.8705, allocations: 75.25 kB / 1.069 GB, free: 15.38 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005758/0.8763, allocations: 1.587 MB / 1.071 GB, free: 15.38 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0007965/0.8771, allocations: 419.6 kB / 1.071 GB, free: 15.38 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.001097/0.8782, allocations: 450 kB / 1.072 GB, free: 15.35 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.005956/0.8842, allocations: 2.779 MB / 1.074 GB, free: 15.25 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.8842, allocations: 0.7188 kB / 1.074 GB, free: 15.25 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.446e-06/0.8842, allocations: 0.6875 kB / 1.074 GB, free: 15.25 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001157/0.8843, allocations: 3.344 kB / 1.074 GB, free: 15.25 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: 301 * Number of variables: 301 Notification: Performance of Generate backend data structure: time 0.007356/0.8917, allocations: 2.277 MB / 1.077 GB, free: 14 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 7.182e-05/0.8918, allocations: 9.438 kB / 1.077 GB, free: 14 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005083/0.8969, allocations: 0.7699 MB / 1.077 GB, free: 13.88 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005027/0.9019, allocations: 1.75 MB / 1.079 GB, free: 13.47 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005006/0.9025, allocations: 163.1 kB / 1.079 GB, free: 13.46 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003601/0.9028, allocations: 132.5 kB / 1.079 GB, free: 13.46 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004778/0.9076, allocations: 1.672 MB / 1.081 GB, free: 13.12 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.987e-05/0.9077, allocations: 4.344 kB / 1.081 GB, free: 13.12 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001481/0.9078, allocations: 52.41 kB / 1.081 GB, free: 13.12 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.485e-05/0.9079, allocations: 31.39 kB / 1.081 GB, free: 13.12 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004631/0.9125, allocations: 1.501 MB / 1.083 GB, free: 13.07 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.01534/0.9279, allocations: 8.866 MB / 1.091 GB, free: 23.96 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005758/0.9337, allocations: 1.47 MB / 1.093 GB, free: 23.89 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001835/0.9356, allocations: 0.6109 MB / 1.093 GB, free: 23.86 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007093/0.9427, allocations: 2.869 MB / 1.096 GB, free: 22.29 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002023/0.9448, allocations: 0.6569 MB / 1.097 GB, free: 22.23 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001754/0.9465, allocations: 183.5 kB / 1.097 GB, free: 22.17 MB / 0.698 GB Notification: Performance of pre-optimization done (n=66): time 1.192e-05/0.9466, allocations: 0 / 1.097 GB, free: 22.17 MB / 0.698 GB Notification: Performance of matching and sorting (n=66): time 0.006384/0.953, allocations: 1.669 MB / 1.099 GB, free: 21.99 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001079/0.9531, allocations: 140.3 kB / 1.099 GB, free: 21.83 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004996/0.9581, allocations: 1.575 MB / 1.1 GB, free: 21.6 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001836/0.9583, allocations: 42.95 kB / 1.1 GB, free: 21.57 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001138/0.9595, allocations: 0.8975 MB / 1.101 GB, free: 21.26 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002744/0.9598, allocations: 241.4 kB / 1.101 GB, free: 21.11 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.943e-05/0.9599, allocations: 19.81 kB / 1.101 GB, free: 21.11 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001572/0.96, allocations: 348.7 kB / 1.102 GB, free: 20.8 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001723/0.9618, allocations: 0.5651 MB / 1.102 GB, free: 20.79 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002181/0.964, allocations: 1.037 MB / 1.103 GB, free: 20.21 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001968/0.9659, allocations: 0.6598 MB / 1.104 GB, free: 20.15 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.121e-05/0.966, allocations: 3.281 kB / 1.104 GB, free: 20.15 MB / 0.698 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.005325/0.9713, allocations: 1.716 MB / 1.106 GB, free: 19.95 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004278/0.9718, allocations: 484.6 kB / 1.106 GB, free: 19.38 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.432e-05/0.9718, allocations: 13.34 kB / 1.106 GB, free: 19.38 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.652e-05/0.9719, allocations: 22.69 kB / 1.106 GB, free: 19.38 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001446/0.9733, allocations: 332.7 kB / 1.106 GB, free: 19.37 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.534e-05/0.9734, allocations: 23.22 kB / 1.106 GB, free: 19.37 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002604/0.976, allocations: 205.7 kB / 1.107 GB, free: 19.34 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001796/0.9762, allocations: 63.02 kB / 1.107 GB, free: 19.34 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.9762, allocations: 3 kB / 1.107 GB, free: 19.34 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003866/0.9801, allocations: 1.533 MB / 1.108 GB, free: 19.27 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.287e-05/0.9801, allocations: 13.72 kB / 1.108 GB, free: 19.27 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.551e-05/0.9802, allocations: 18.06 kB / 1.108 GB, free: 19.27 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001368/0.9815, allocations: 331.5 kB / 1.109 GB, free: 19.27 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.073e-05/0.9816, allocations: 29.27 kB / 1.109 GB, free: 19.27 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002371/0.984, allocations: 203.2 kB / 1.109 GB, free: 19.25 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001614/0.9841, allocations: 60.94 kB / 1.109 GB, free: 19.25 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,EHea.local_reset,ECoo.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (132): * Single equations (assignments): 128 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * 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.001354/0.9855, allocations: 0.4942 MB / 1.109 GB, free: 19.05 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005818/0.9861, allocations: 178.5 kB / 1.109 GB, free: 18.96 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004416/0.9905, allocations: 1.515 MB / 1.111 GB, free: 18.85 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.813e-05/0.9906, allocations: 10.16 kB / 1.111 GB, free: 18.85 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.308e-06/0.9906, allocations: 7.469 kB / 1.111 GB, free: 18.84 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003118/0.9937, allocations: 1.387 MB / 1.112 GB, free: 18.47 MB / 0.698 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.009357/1.003, allocations: 3.116 MB / 1.115 GB, free: 18 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.224e-06/1.003, allocations: 0 / 1.115 GB, free: 18 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001217/1.004, allocations: 225.1 kB / 1.116 GB, free: 17.99 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-05/1.004, allocations: 6.938 kB / 1.116 GB, free: 17.99 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.353e-05/1.004, allocations: 25.97 kB / 1.116 GB, free: 17.99 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.059e-05/1.004, allocations: 6.953 kB / 1.116 GB, free: 17.98 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/1.004, allocations: 0 / 1.116 GB, free: 17.98 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006286/1.011, allocations: 2.175 MB / 1.118 GB, free: 17.68 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001438/1.012, allocations: 384.7 kB / 1.118 GB, free: 17.48 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007654/1.013, allocations: 18.97 kB / 1.118 GB, free: 17.48 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002202/1.015, allocations: 168.8 kB / 1.118 GB, free: 17.47 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001722/1.015, allocations: 60.97 kB / 1.118 GB, free: 17.46 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001223/1.016, allocations: 35.36 kB / 1.118 GB, free: 17.46 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.003156/1.019, allocations: 1.047 MB / 1.119 GB, free: 17.32 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.565e-06/1.019, allocations: 5.125 kB / 1.119 GB, free: 17.32 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.006708/1.025, allocations: 0.9858 MB / 1.12 GB, free: 17.18 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 7 (pla.coo.outCon.T,pla.hea.outCon.T,vol.dynBal.U,pum.filter.x[1],pum.filter.x[2],ECoo.y,EHea.y) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * When equations: 2 * 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.002376/1.028, allocations: 0.5296 MB / 1.121 GB, free: 17.01 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.006972/1.035, allocations: 2.309 MB / 1.123 GB, free: 16.75 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.056e-06/1.035, allocations: 2.844 kB / 1.123 GB, free: 16.75 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001996/1.037, allocations: 0.6361 MB / 1.124 GB, free: 16.73 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006707/1.044, allocations: 0.7923 MB / 1.125 GB, free: 16.67 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01399/1.058, allocations: 4.56 MB / 1.129 GB, free: 14.7 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002519/1.06, allocations: 1.381 MB / 1.13 GB, free: 13.79 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.00425/1.064, allocations: 460.4 kB / 1.131 GB, free: 13.57 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009953/1.065, allocations: 149.4 kB / 1.131 GB, free: 13.55 MB / 0.698 GB Notification: Performance of SimCode: time 2.174e-06/1.066, allocations: 0 / 1.131 GB, free: 13.55 MB / 0.698 GB Notification: Performance of Templates: time 0.06831/1.134, allocations: 34.26 MB / 1.164 GB, free: 6.184 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.makefile (rm -f Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.sim & ./Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe 2>&1)