Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001001/0.001006, allocations: 99.86 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.001351/0.001351, allocations: 177.3 kB / 15.95 MB, free: 216 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.663/1.663, allocations: 205.4 MB / 222.1 MB, free: 5.891 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.751/1.751, allocations: 292.5 MB / 0.5497 GB, free: 14.64 MB / 462.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.0005384/0.0005384, allocations: 11.94 kB / 0.6735 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2649/0.2655, allocations: 116.3 MB / 0.7871 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop): time 0.05171/0.3172, allocations: 52.72 MB / 0.8386 GB, free: 7.133 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02686/0.3442, allocations: 16.93 MB / 0.8551 GB, free: 6.176 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003908/0.3482, allocations: 75.44 kB / 0.8552 GB, free: 6.102 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.004405/0.3526, allocations: 1.003 MB / 0.8562 GB, free: 5.094 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01048/0.3631, allocations: 2.554 MB / 0.8587 GB, free: 2.535 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.01051/0.3736, allocations: 2.968 MB / 0.8616 GB, free: 15.6 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.007651/0.3813, allocations: 3.016 MB / 0.8645 GB, free: 12.57 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003413/0.3847, allocations: 1.334 MB / 0.8658 GB, free: 11.21 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005465/0.3902, allocations: 1.545 MB / 0.8673 GB, free: 9.66 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002789/0.3931, allocations: 0.9799 MB / 0.8683 GB, free: 8.676 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0006994/0.3938, allocations: 76 kB / 0.8684 GB, free: 8.602 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005388/0.3992, allocations: 1.463 MB / 0.8698 GB, free: 7.137 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001002/0.4002, allocations: 402.4 kB / 0.8702 GB, free: 6.742 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001302/0.4015, allocations: 448.6 kB / 0.8706 GB, free: 6.297 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.005417/0.407, allocations: 2.712 MB / 0.8732 GB, free: 3.578 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.407, allocations: 0 / 0.8732 GB, free: 3.578 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.933e-06/0.407, allocations: 0 / 0.8732 GB, free: 3.578 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0001294/0.4071, allocations: 4 kB / 0.8732 GB, free: 3.574 MB / 0.6856 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.005935/0.4131, allocations: 2.264 MB / 0.8755 GB, free: 1.246 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.4131, allocations: 12.03 kB / 0.8755 GB, free: 1.234 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004139/0.4173, allocations: 0.77 MB / 0.8762 GB, free: 472 kB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004506/0.4218, allocations: 1.704 MB / 0.8779 GB, free: 14.71 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004187/0.4222, allocations: 170.6 kB / 0.878 GB, free: 14.54 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003858/0.4226, allocations: 135.9 kB / 0.8782 GB, free: 14.41 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003805/0.4264, allocations: 1.653 MB / 0.8798 GB, free: 12.63 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.592e-05/0.4265, allocations: 4 kB / 0.8798 GB, free: 12.63 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000169/0.4267, allocations: 48 kB / 0.8798 GB, free: 12.58 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.689e-05/0.4267, allocations: 35.94 kB / 0.8799 GB, free: 12.55 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004007/0.4307, allocations: 1.48 MB / 0.8813 GB, free: 11.06 MB / 0.7012 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.01484/0.4456, allocations: 9.032 MB / 0.8901 GB, free: 1.352 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005174/0.4508, allocations: 1.466 MB / 0.8916 GB, free: 15.88 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007146/0.458, allocations: 3.25 MB / 0.8947 GB, free: 12.36 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001782/0.4598, allocations: 0.6471 MB / 0.8954 GB, free: 11.7 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001068/0.4609, allocations: 179 kB / 0.8955 GB, free: 11.52 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=66): time 7.855e-06/0.4609, allocations: 0 / 0.8955 GB, free: 11.52 MB / 0.7169 GB Notification: Performance of matching and sorting (n=66): time 0.005049/0.466, allocations: 1.656 MB / 0.8972 GB, free: 9.859 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.874e-05/0.4661, allocations: 141.1 kB / 0.8973 GB, free: 9.688 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003872/0.47, allocations: 1.616 MB / 0.8989 GB, free: 8.027 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0002544/0.4703, allocations: 45.7 kB / 0.8989 GB, free: 7.977 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001215/0.4715, allocations: 0.9001 MB / 0.8998 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004244/0.4719, allocations: 228.7 kB / 0.9 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.438e-05/0.4721, allocations: 24 kB / 0.9 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001727/0.4722, allocations: 349.9 kB / 0.9004 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001672/0.4739, allocations: 0.553 MB / 0.9009 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002106/0.476, allocations: 1.026 MB / 0.9019 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001868/0.4779, allocations: 0.6528 MB / 0.9026 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-05/0.478, allocations: 4 kB / 0.9026 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.004959/0.4829, allocations: 1.707 MB / 0.9042 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.002609/0.4855, allocations: 5.014 MB / 0.9091 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.42e-05/0.4856, allocations: 19.94 kB / 0.9091 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.968e-05/0.4857, allocations: 20 kB / 0.9092 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001462/0.4872, allocations: 339.5 kB / 0.9095 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.149e-05/0.4872, allocations: 27.86 kB / 0.9095 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002129/0.4893, allocations: 196.4 kB / 0.9097 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001714/0.4895, allocations: 63.97 kB / 0.9098 GB, free: 12.22 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.4896, allocations: 4 kB / 0.9098 GB, free: 12.22 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003885/0.4934, allocations: 1.524 MB / 0.9113 GB, free: 10.69 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-05/0.4935, allocations: 12 kB / 0.9113 GB, free: 10.68 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.453e-05/0.4935, allocations: 20 kB / 0.9113 GB, free: 10.66 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001389/0.4949, allocations: 343.7 kB / 0.9116 GB, free: 10.32 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.988e-05/0.495, allocations: 23.92 kB / 0.9116 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002043/0.497, allocations: 199 kB / 0.9118 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001539/0.4972, allocations: 67.97 kB / 0.9119 GB, free: 10.04 MB / 0.7325 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.001139/0.4983, allocations: 0.4967 MB / 0.9124 GB, free: 9.531 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004965/0.4988, allocations: 173.8 kB / 0.9125 GB, free: 9.359 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004248/0.5031, allocations: 1.507 MB / 0.914 GB, free: 7.855 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-05/0.5031, allocations: 8 kB / 0.914 GB, free: 7.848 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.798e-06/0.5031, allocations: 0 / 0.914 GB, free: 7.848 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003259/0.5064, allocations: 1.383 MB / 0.9154 GB, free: 6.402 MB / 0.7325 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.008191/0.5146, allocations: 3.159 MB / 0.9185 GB, free: 3.145 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.793e-06/0.5146, allocations: 96 / 0.9185 GB, free: 3.145 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001122/0.5158, allocations: 223.8 kB / 0.9187 GB, free: 2.926 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-05/0.5158, allocations: 7.984 kB / 0.9187 GB, free: 2.918 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.444e-05/0.5159, allocations: 27.97 kB / 0.9187 GB, free: 2.891 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.077e-06/0.5159, allocations: 4 kB / 0.9187 GB, free: 2.887 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/0.5159, allocations: 0 / 0.9187 GB, free: 2.887 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005228/0.5211, allocations: 2.195 MB / 0.9208 GB, free: 0.6445 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009554/0.5221, allocations: 390.6 kB / 0.9212 GB, free: 248 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004429/0.5226, allocations: 16 kB / 0.9212 GB, free: 232 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001604/0.5242, allocations: 170.7 kB / 0.9214 GB, free: 64 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.4712/0.9954, allocations: 66.64 kB / 0.9215 GB, free: 130.7 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003232/0.9958, allocations: 27.47 kB / 0.9215 GB, free: 130.7 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002192/0.998, allocations: 1.078 MB / 0.9225 GB, free: 130.6 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.11e-07/0.998, allocations: 0 / 0.9225 GB, free: 130.6 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.004481/1.002, allocations: 0.9994 MB / 0.9235 GB, free: 130.6 MB / 0.7325 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.001578/1.004, allocations: 0.5648 MB / 0.9241 GB, free: 130.5 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.006153/1.01, allocations: 2.287 MB / 0.9263 GB, free: 130.3 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/1.01, allocations: 0 / 0.9263 GB, free: 130.3 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001604/1.012, allocations: 0.6331 MB / 0.9269 GB, free: 130.2 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003679/1.016, allocations: 0.7742 MB / 0.9277 GB, free: 130.2 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006411/1.022, allocations: 4.106 MB / 0.9317 GB, free: 128.5 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009272/1.023, allocations: 1.403 MB / 0.9331 GB, free: 127.8 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002284/1.025, allocations: 468.7 kB / 0.9335 GB, free: 127.7 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004518/1.026, allocations: 156.2 kB / 0.9337 GB, free: 127.7 MB / 0.7325 GB Notification: Performance of SimCode: time 8.01e-07/1.026, allocations: 0 / 0.9337 GB, free: 127.7 MB / 0.7325 GB Notification: Performance of Templates: time 0.06977/1.095, allocations: 34.99 MB / 0.9678 GB, free: 111.7 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe ; mkfifo Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe ; head -c 1048576 < Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe >> ../files/Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.sim & ./Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe 2>&1) Environment - environmentSimulation: