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/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.701/1.701, allocations: 289.7 MB / 302.2 MB, free: 2.164 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.001193/0.001193, allocations: 184.8 kB / 371.6 MB, free: 3.391 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.977/1.977, allocations: 205.2 MB / 0.6309 GB, free: 11.75 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009092/0.0009094, allocations: 94.5 kB / 0.745 GB, free: 54.52 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.098e-05/3.1e-05, allocations: 4 kB / 0.8662 GB, free: 15.05 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3351/0.3352, allocations: 116.3 MB / 0.9798 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.138/2.473, allocations: 451.4 MB / 1.421 GB, free: 288.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002987/2.474, allocations: 92.27 kB / 1.421 GB, free: 288.5 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.574/6.048, allocations: 0.9856 GB / 2.406 GB, free: 67.49 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.625e-06/6.048, allocations: 0 / 2.406 GB, free: 67.49 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002729/6.048, allocations: 55.98 kB / 2.406 GB, free: 67.44 MB / 0.948 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.006966/6.055, allocations: 2.141 MB / 2.408 GB, free: 65.24 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.341e-05/6.055, allocations: 8.031 kB / 2.409 GB, free: 65.23 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004608/6.06, allocations: 0.7349 MB / 2.409 GB, free: 64.49 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02056/6.08, allocations: 8.954 MB / 2.418 GB, free: 55.48 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001224/6.08, allocations: 98.36 kB / 2.418 GB, free: 55.38 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002853/6.081, allocations: 131.9 kB / 2.418 GB, free: 55.25 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002501/6.083, allocations: 1.434 MB / 2.42 GB, free: 53.69 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.887e-05/6.083, allocations: 11.88 kB / 2.42 GB, free: 53.68 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001266/6.083, allocations: 52 kB / 2.42 GB, free: 53.63 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-05/6.083, allocations: 32 kB / 2.42 GB, free: 53.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001672/6.085, allocations: 0.9962 MB / 2.421 GB, free: 52.59 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.01089/6.096, allocations: 8.392 MB / 2.429 GB, free: 43.56 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00261/6.099, allocations: 0.9357 MB / 2.43 GB, free: 42.61 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005245/6.099, allocations: 379.7 kB / 2.43 GB, free: 42.23 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004747/6.104, allocations: 2.952 MB / 2.433 GB, free: 39.01 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006052/6.104, allocations: 442.9 kB / 2.433 GB, free: 38.57 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001015/6.106, allocations: 190.9 kB / 2.434 GB, free: 38.38 MB / 0.948 GB Notification: Performance of pre-optimization done (n=66): time 3.657e-06/6.106, allocations: 0 / 2.434 GB, free: 38.38 MB / 0.948 GB Notification: Performance of matching and sorting (n=66): time 0.001294/6.107, allocations: 0.7585 MB / 2.434 GB, free: 37.61 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.946e-05/6.107, allocations: 119.4 kB / 2.434 GB, free: 37.47 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001831/6.109, allocations: 1.333 MB / 2.436 GB, free: 36.09 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.172e-05/6.109, allocations: 45.7 kB / 2.436 GB, free: 36.04 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006294/6.109, allocations: 0.9041 MB / 2.437 GB, free: 35.12 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001531/6.11, allocations: 228.7 kB / 2.437 GB, free: 34.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.315e-05/6.11, allocations: 20 kB / 2.437 GB, free: 34.88 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.677e-05/6.11, allocations: 349.9 kB / 2.437 GB, free: 34.53 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004816/6.11, allocations: 330.5 kB / 2.438 GB, free: 34.21 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006693/6.111, allocations: 0.7948 MB / 2.438 GB, free: 33.2 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006046/6.112, allocations: 453.9 kB / 2.439 GB, free: 32.75 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.454e-06/6.112, allocations: 4 kB / 2.439 GB, free: 32.75 MB / 0.948 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.001796/6.113, allocations: 1.25 MB / 2.44 GB, free: 31.48 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009553/6.114, allocations: 5.115 MB / 2.445 GB, free: 25.96 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.986e-05/6.114, allocations: 12 kB / 2.445 GB, free: 25.95 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.58e-05/6.114, allocations: 23.95 kB / 2.445 GB, free: 25.92 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001136/6.116, allocations: 287.5 kB / 2.445 GB, free: 25.64 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.47e-05/6.116, allocations: 31.86 kB / 2.445 GB, free: 25.61 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001677/6.117, allocations: 155.8 kB / 2.445 GB, free: 25.46 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001223/6.117, allocations: 63.97 kB / 2.446 GB, free: 25.39 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/6.117, allocations: 4.781 kB / 2.446 GB, free: 25.39 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001586/6.119, allocations: 1.063 MB / 2.447 GB, free: 24.32 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.077e-05/6.119, allocations: 12 kB / 2.447 GB, free: 24.31 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/6.119, allocations: 23.98 kB / 2.447 GB, free: 24.29 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001047/6.12, allocations: 287.7 kB / 2.447 GB, free: 24 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.014e-05/6.12, allocations: 27.92 kB / 2.447 GB, free: 23.98 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001638/6.122, allocations: 147.8 kB / 2.447 GB, free: 23.83 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001157/6.122, allocations: 63.91 kB / 2.447 GB, free: 23.77 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (131): * Single equations (assignments): 127 * 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.0002861/6.122, allocations: 188.5 kB / 2.447 GB, free: 23.58 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002435/6.123, allocations: 181.8 kB / 2.447 GB, free: 23.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001996/6.125, allocations: 1.067 MB / 2.449 GB, free: 22.33 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.642e-05/6.125, allocations: 8 kB / 2.449 GB, free: 22.32 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/6.125, allocations: 4 kB / 2.449 GB, free: 22.32 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001016/6.126, allocations: 0.9542 MB / 2.449 GB, free: 21.3 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.004624/6.13, allocations: 2.483 MB / 2.452 GB, free: 18.73 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.133e-06/6.13, allocations: 4 kB / 2.452 GB, free: 18.72 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008639/6.131, allocations: 171.8 kB / 2.452 GB, free: 18.55 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.207e-05/6.131, allocations: 4 kB / 2.452 GB, free: 18.55 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.592e-05/6.131, allocations: 31.92 kB / 2.452 GB, free: 18.52 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.893e-06/6.131, allocations: 4 kB / 2.452 GB, free: 18.52 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/6.131, allocations: 0 / 2.452 GB, free: 18.52 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001914/6.133, allocations: 1.514 MB / 2.454 GB, free: 16.96 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007765/6.134, allocations: 346.6 kB / 2.454 GB, free: 16.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001874/6.134, allocations: 16 kB / 2.454 GB, free: 16.58 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001039/6.135, allocations: 127.8 kB / 2.454 GB, free: 16.46 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001202/6.135, allocations: 56.69 kB / 2.454 GB, free: 16.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.779e-05/6.135, allocations: 39.97 kB / 2.454 GB, free: 16.36 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001469/6.137, allocations: 1.02 MB / 2.455 GB, free: 15.31 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.62e-07/6.137, allocations: 0 / 2.455 GB, free: 15.31 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00413/6.141, allocations: 1.088 MB / 2.456 GB, free: 14.22 MB / 0.948 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) * 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.002342/6.143, allocations: 1.197 MB / 2.457 GB, free: 13.04 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002516/6.146, allocations: 1.667 MB / 2.459 GB, free: 11.34 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/6.146, allocations: 0 / 2.459 GB, free: 11.34 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005397/6.146, allocations: 416.5 kB / 2.459 GB, free: 10.93 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003551/6.15, allocations: 0.7721 MB / 2.46 GB, free: 10.16 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00582/6.156, allocations: 2.706 MB / 2.463 GB, free: 7.418 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007019/6.157, allocations: 1.411 MB / 2.464 GB, free: 5.977 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002911/6.16, allocations: 0.6001 MB / 2.465 GB, free: 5.371 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003329/6.16, allocations: 131.2 kB / 2.465 GB, free: 5.242 MB / 0.948 GB Notification: Performance of SimCode: time 1.032e-06/6.16, allocations: 0 / 2.465 GB, free: 5.242 MB / 0.948 GB Notification: Performance of Templates: time 0.781/6.941, allocations: 43.6 MB / 2.507 GB, free: 111.9 MB / 0.9636 GB make -j1 -f Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.makefile (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)