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.721/1.721, allocations: 292.6 MB / 307.5 MB, free: 5.18 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.001335/0.001335, allocations: 191.4 kB / 377.1 MB, free: 1.52 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.89/1.89, allocations: 205.4 MB / 0.6367 GB, free: 8.637 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.0008771/0.0008769, allocations: 85.94 kB / 0.751 GB, free: 62.82 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003833/0.0003836, allocations: 11.98 kB / 0.8748 GB, free: 11.22 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3337/0.3341, allocations: 116.3 MB / 0.9884 GB, free: 6.766 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.617/1.951, allocations: 451.5 MB / 1.429 GB, free: 267.5 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002712/1.952, allocations: 101.8 kB / 1.429 GB, free: 267.5 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.07/5.022, allocations: 0.9887 GB / 2.418 GB, free: 14.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.565e-06/5.022, allocations: 0 / 2.418 GB, free: 14.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002394/5.022, allocations: 59.8 kB / 2.418 GB, free: 14.75 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.008204/5.03, allocations: 2.649 MB / 2.421 GB, free: 12.04 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.13e-05/5.03, allocations: 8.031 kB / 2.421 GB, free: 12.03 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00437/5.035, allocations: 0.7348 MB / 2.421 GB, free: 11.29 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02165/5.056, allocations: 9.038 MB / 2.43 GB, free: 2.129 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001107/5.057, allocations: 94.38 kB / 2.43 GB, free: 2.035 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000297/5.057, allocations: 132 kB / 2.431 GB, free: 1.906 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003071/5.06, allocations: 1.546 MB / 2.432 GB, free: 236 kB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.127e-05/5.06, allocations: 7.938 kB / 2.432 GB, free: 228 kB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001335/5.06, allocations: 51.98 kB / 2.432 GB, free: 176 kB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.005e-05/5.06, allocations: 32 kB / 2.432 GB, free: 144 kB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002914/5.063, allocations: 1.214 MB / 2.433 GB, free: 14.91 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 preOpt removeSimpleEquations (simulation): time 0.01195/5.075, allocations: 8.39 MB / 2.442 GB, free: 5.887 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003982/5.079, allocations: 1.144 MB / 2.443 GB, free: 4.727 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00577/5.085, allocations: 2.95 MB / 2.446 GB, free: 1.508 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00128/5.086, allocations: 0.5261 MB / 2.446 GB, free: 0.9727 MB / 0.9636 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001176/5.087, allocations: 199 kB / 2.446 GB, free: 0.7773 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=66): time 3.857e-06/5.087, allocations: 0 / 2.446 GB, free: 0.7773 MB / 0.9636 GB Notification: Performance of matching and sorting (n=66): time 0.6147/5.702, allocations: 1.292 MB / 2.447 GB, free: 122.3 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.417e-05/5.702, allocations: 113 kB / 2.448 GB, free: 122.2 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002253/5.704, allocations: 1.36 MB / 2.449 GB, free: 122 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0002153/5.705, allocations: 44.33 kB / 2.449 GB, free: 122 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008328/5.706, allocations: 0.8949 MB / 2.45 GB, free: 121.9 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002522/5.706, allocations: 241 kB / 2.45 GB, free: 121.8 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.023e-05/5.706, allocations: 19.88 kB / 2.45 GB, free: 121.8 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.41e-05/5.706, allocations: 350.2 kB / 2.45 GB, free: 121.4 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001095/5.707, allocations: 427.4 kB / 2.451 GB, free: 121.4 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001266/5.708, allocations: 0.8992 MB / 2.452 GB, free: 120.9 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001232/5.71, allocations: 0.5448 MB / 2.452 GB, free: 120.8 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.227e-06/5.71, allocations: 2.219 kB / 2.452 GB, free: 120.8 MB / 0.9636 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.003287/5.713, allocations: 1.446 MB / 2.454 GB, free: 120.7 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.00112/5.714, allocations: 5.111 MB / 2.459 GB, free: 115.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.605e-05/5.714, allocations: 20.02 kB / 2.459 GB, free: 115.4 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.261e-05/5.714, allocations: 20.77 kB / 2.459 GB, free: 115.4 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001174/5.715, allocations: 287.2 kB / 2.459 GB, free: 115.4 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.766e-05/5.715, allocations: 26.8 kB / 2.459 GB, free: 115.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001844/5.717, allocations: 154.9 kB / 2.459 GB, free: 115.4 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00013/5.717, allocations: 62.02 kB / 2.459 GB, free: 115.4 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/5.717, allocations: 3.156 kB / 2.459 GB, free: 115.4 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002714/5.72, allocations: 1.269 MB / 2.46 GB, free: 115.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.064e-05/5.72, allocations: 14.44 kB / 2.46 GB, free: 115.3 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.109e-05/5.72, allocations: 25.33 kB / 2.46 GB, free: 115.3 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001111/5.721, allocations: 288.6 kB / 2.461 GB, free: 115.3 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.355e-05/5.721, allocations: 28.55 kB / 2.461 GB, free: 115.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00176/5.723, allocations: 156.1 kB / 2.461 GB, free: 115.3 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001227/5.723, allocations: 65.69 kB / 2.461 GB, free: 115.3 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.00113/5.724, allocations: 0.49 MB / 2.461 GB, free: 115.1 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003158/5.725, allocations: 179.5 kB / 2.462 GB, free: 115 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003296/5.728, allocations: 1.263 MB / 2.463 GB, free: 114.9 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.309e-05/5.728, allocations: 9.344 kB / 2.463 GB, free: 114.9 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/5.728, allocations: 2.75 kB / 2.463 GB, free: 114.9 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002396/5.73, allocations: 1.156 MB / 2.464 GB, free: 114.6 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.006885/5.737, allocations: 2.69 MB / 2.467 GB, free: 114.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/5.737, allocations: 1.188 kB / 2.467 GB, free: 114.2 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009611/5.738, allocations: 171.6 kB / 2.467 GB, free: 114.2 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-05/5.738, allocations: 6.672 kB / 2.467 GB, free: 114.2 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.306e-05/5.738, allocations: 26.72 kB / 2.467 GB, free: 114.2 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.913e-06/5.738, allocations: 6.562 kB / 2.467 GB, free: 114.2 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/5.738, allocations: 3.844 kB / 2.467 GB, free: 114.2 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004254/5.743, allocations: 1.808 MB / 2.469 GB, free: 113.8 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001285/5.744, allocations: 348.5 kB / 2.469 GB, free: 113.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002778/5.744, allocations: 18.81 kB / 2.469 GB, free: 113.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001326/5.746, allocations: 129.4 kB / 2.469 GB, free: 113.6 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001796/5.746, allocations: 61.28 kB / 2.469 GB, free: 113.6 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001004/5.746, allocations: 36.27 kB / 2.469 GB, free: 113.6 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.002253/5.748, allocations: 1.04 MB / 2.47 GB, free: 113.5 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.4e-07/5.748, allocations: 0 / 2.47 GB, free: 113.5 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.00658/5.755, allocations: 1.081 MB / 2.471 GB, free: 113.4 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.002808/5.758, allocations: 1.212 MB / 2.472 GB, free: 113.2 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.004496/5.762, allocations: 1.902 MB / 2.474 GB, free: 113 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/5.762, allocations: 0 / 2.474 GB, free: 113 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.001199/5.763, allocations: 0.5043 MB / 2.475 GB, free: 113 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003677/5.767, allocations: 0.7688 MB / 2.476 GB, free: 113 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008204/5.775, allocations: 4.14 MB / 2.48 GB, free: 111.4 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001055/5.776, allocations: 1.415 MB / 2.481 GB, free: 110.6 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.002809/5.779, allocations: 468.7 kB / 2.481 GB, free: 110.6 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004111/5.78, allocations: 153 kB / 2.482 GB, free: 110.6 MB / 0.9636 GB Notification: Performance of SimCode: time 1.162e-06/5.78, allocations: 0 / 2.482 GB, free: 110.6 MB / 0.9636 GB Notification: Performance of Templates: time 0.05833/5.838, allocations: 38.56 MB / 2.519 GB, free: 109.2 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)