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.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1-maint.8.1.x/package.mo): time 1.708/1.708, allocations: 293 MB / 309 MB, free: 4.797 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.001075/0.001075, allocations: 180.5 kB / 378.7 MB, free: 1.027 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.578/1.578, allocations: 205.4 MB / 0.6383 GB, free: 8.145 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.0007915/0.0007917, allocations: 91.89 kB / 0.7527 GB, free: 62.84 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004498/0.0004498, allocations: 16 kB / 0.8768 GB, free: 10.44 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2853/0.2858, allocations: 116.4 MB / 0.9904 GB, free: 5.895 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.34/1.626, allocations: 451.7 MB / 1.432 GB, free: 266.6 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002418/1.626, allocations: 97.11 kB / 1.432 GB, free: 266.6 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.793/4.419, allocations: 0.9832 GB / 2.415 GB, free: 1.711 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.595e-06/4.419, allocations: 3.938 kB / 2.415 GB, free: 1.707 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0003765/4.419, allocations: 47.98 kB / 2.415 GB, free: 1.66 MB / 0.9323 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.008707/4.428, allocations: 2.624 MB / 2.417 GB, free: 14.96 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.484e-05/4.428, allocations: 12.03 kB / 2.418 GB, free: 14.95 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004377/4.432, allocations: 0.7357 MB / 2.418 GB, free: 14.21 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02139/4.454, allocations: 8.33 MB / 2.426 GB, free: 5.766 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001787/4.454, allocations: 98.75 kB / 2.426 GB, free: 5.668 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005703/4.454, allocations: 132.9 kB / 2.427 GB, free: 5.539 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004276/4.459, allocations: 1.542 MB / 2.428 GB, free: 3.867 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.759e-05/4.459, allocations: 7.875 kB / 2.428 GB, free: 3.859 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002044/4.459, allocations: 56 kB / 2.428 GB, free: 3.805 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.776e-05/4.459, allocations: 35.98 kB / 2.428 GB, free: 3.77 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003432/4.462, allocations: 1.21 MB / 2.429 GB, free: 2.551 MB / 0.948 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.01354/4.476, allocations: 8.371 MB / 2.438 GB, free: 9.543 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003965/4.48, allocations: 1.155 MB / 2.439 GB, free: 8.375 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001196/4.481, allocations: 474.2 kB / 2.439 GB, free: 7.906 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006285/4.488, allocations: 2.919 MB / 2.442 GB, free: 4.723 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001383/4.489, allocations: 0.526 MB / 2.442 GB, free: 4.18 MB / 0.9636 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001335/4.49, allocations: 195 kB / 2.443 GB, free: 3.988 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=66): time 7.374e-06/4.49, allocations: 0 / 2.443 GB, free: 3.988 MB / 0.9636 GB Notification: Performance of matching and sorting (n=66): time 0.004112/4.494, allocations: 1.305 MB / 2.444 GB, free: 2.676 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.492e-05/4.495, allocations: 115.3 kB / 2.444 GB, free: 2.539 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003456/4.498, allocations: 1.522 MB / 2.446 GB, free: 0.9727 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0001531/4.498, allocations: 45.7 kB / 2.446 GB, free: 0.9219 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.001155/4.499, allocations: 0.8963 MB / 2.446 GB, free: 16 kB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.5422/5.042, allocations: 231.9 kB / 2.447 GB, free: 122.7 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001322/5.042, allocations: 20.16 kB / 2.447 GB, free: 122.7 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001082/5.042, allocations: 346.4 kB / 2.447 GB, free: 122.4 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001263/5.043, allocations: 430 kB / 2.447 GB, free: 122.4 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001316/5.044, allocations: 0.9061 MB / 2.448 GB, free: 121.8 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00236/5.047, allocations: 1.264 MB / 2.45 GB, free: 121.3 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.018e-05/5.047, allocations: 4.906 kB / 2.45 GB, free: 121.3 MB / 0.9636 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.003288/5.05, allocations: 1.447 MB / 2.451 GB, free: 121.2 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002425/5.05, allocations: 499.3 kB / 2.451 GB, free: 120.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.909e-05/5.05, allocations: 14.38 kB / 2.451 GB, free: 120.7 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.205e-05/5.051, allocations: 19.44 kB / 2.451 GB, free: 120.7 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001099/5.052, allocations: 285.8 kB / 2.452 GB, free: 120.7 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.29e-05/5.052, allocations: 26.28 kB / 2.452 GB, free: 120.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001682/5.053, allocations: 154.6 kB / 2.452 GB, free: 120.7 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001306/5.054, allocations: 63.45 kB / 2.452 GB, free: 120.7 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 7.544e-06/5.054, allocations: 2.906 kB / 2.452 GB, free: 120.7 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00321/5.057, allocations: 1.267 MB / 2.453 GB, free: 120.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.763e-05/5.057, allocations: 17.45 kB / 2.453 GB, free: 120.6 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/5.057, allocations: 17.16 kB / 2.453 GB, free: 120.6 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001208/5.058, allocations: 286.9 kB / 2.454 GB, free: 120.6 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.195e-05/5.058, allocations: 24.41 kB / 2.454 GB, free: 120.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001571/5.06, allocations: 156 kB / 2.454 GB, free: 120.6 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001067/5.06, allocations: 59.19 kB / 2.454 GB, free: 120.6 MB / 0.9636 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 () * Number of clocked 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.00105/5.061, allocations: 0.5003 MB / 2.454 GB, free: 120.4 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000254/5.061, allocations: 174.9 kB / 2.454 GB, free: 120.4 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002861/5.064, allocations: 1.264 MB / 2.456 GB, free: 120.4 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.514e-05/5.064, allocations: 10.19 kB / 2.456 GB, free: 120.4 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/5.064, allocations: 0.5625 kB / 2.456 GB, free: 120.4 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001959/5.066, allocations: 1.162 MB / 2.457 GB, free: 120 MB / 0.9636 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.005483/5.071, allocations: 2.667 MB / 2.459 GB, free: 119.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/5.071, allocations: 0.8438 kB / 2.459 GB, free: 119.6 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009056/5.072, allocations: 176.5 kB / 2.46 GB, free: 119.6 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.709e-06/5.072, allocations: 7.906 kB / 2.46 GB, free: 119.6 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.749e-05/5.072, allocations: 26.08 kB / 2.46 GB, free: 119.6 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.943e-06/5.072, allocations: 5.953 kB / 2.46 GB, free: 119.6 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/5.072, allocations: 4.188 kB / 2.46 GB, free: 119.6 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003719/5.076, allocations: 1.773 MB / 2.461 GB, free: 119.3 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007213/5.077, allocations: 348.3 kB / 2.462 GB, free: 119.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001936/5.077, allocations: 20.3 kB / 2.462 GB, free: 119.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001013/5.078, allocations: 130.6 kB / 2.462 GB, free: 119.1 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001189/5.078, allocations: 57.84 kB / 2.462 GB, free: 119.1 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.148e-05/5.078, allocations: 35.41 kB / 2.462 GB, free: 119.1 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.001701/5.08, allocations: 1.009 MB / 2.463 GB, free: 118.9 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.6e-07/5.08, allocations: 0 / 2.463 GB, free: 118.9 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.004039/5.084, allocations: 1.057 MB / 2.464 GB, free: 118.9 MB / 0.9636 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.002395/5.087, allocations: 1.183 MB / 2.465 GB, free: 118.7 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.004265/5.091, allocations: 1.901 MB / 2.467 GB, free: 118.5 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/5.091, allocations: 1.25 kB / 2.467 GB, free: 118.5 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.001169/5.092, allocations: 0.5045 MB / 2.467 GB, free: 118.5 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003702/5.096, allocations: 0.7639 MB / 2.468 GB, free: 118.5 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008789/5.105, allocations: 4.391 MB / 2.472 GB, free: 116.8 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001039/5.106, allocations: 1.373 MB / 2.474 GB, free: 116.1 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.00262/5.108, allocations: 463.7 kB / 2.474 GB, free: 116.1 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000398/5.109, allocations: 152 kB / 2.474 GB, free: 116.1 MB / 0.9636 GB Notification: Performance of SimCode: time 9.12e-07/5.109, allocations: 0 / 2.474 GB, free: 116.1 MB / 0.9636 GB Notification: Performance of Templates: time 0.05841/5.167, allocations: 38.55 MB / 2.512 GB, free: 114.7 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)