Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.626/1.626, allocations: 287.5 MB / 302.6 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.0009812/0.0009812, allocations: 178.1 kB / 371.2 MB, free: 10.83 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.522/1.522, allocations: 205.4 MB / 0.6298 GB, free: 10.62 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.0009843/0.0009842, allocations: 103.2 kB / 0.7432 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000397/0.000397, allocations: 11.28 kB / 0.8661 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2219/0.2223, allocations: 115.3 MB / 0.9787 GB, free: 28.23 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop): time 0.04895/0.2713, allocations: 57.91 MB / 1.035 GB, free: 2.152 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.02732/0.2986, allocations: 18.04 MB / 1.053 GB, free: 92 kB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003918/0.3026, allocations: 79.44 kB / 1.053 GB, free: 12 kB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.003857/0.3065, allocations: 0.8308 MB / 1.054 GB, free: 15.18 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.008594/0.3151, allocations: 2.164 MB / 1.056 GB, free: 13 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.009882/0.325, allocations: 2.717 MB / 1.058 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.00894/0.334, allocations: 5.764 MB / 1.064 GB, free: 4.523 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003335/0.3373, allocations: 1.411 MB / 1.066 GB, free: 3.078 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004411/0.3418, allocations: 1.727 MB / 1.067 GB, free: 1.344 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.5137/0.8555, allocations: 1.355 MB / 1.069 GB, free: 14.86 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0008892/0.8564, allocations: 75.59 kB / 1.069 GB, free: 14.86 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005586/0.862, allocations: 1.585 MB / 1.07 GB, free: 14.86 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0007548/0.8628, allocations: 421.7 kB / 1.071 GB, free: 14.86 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.001069/0.8638, allocations: 457.7 kB / 1.071 GB, free: 14.83 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.005311/0.8692, allocations: 2.776 MB / 1.074 GB, free: 14.73 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.8692, allocations: 1.453 kB / 1.074 GB, free: 14.73 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.645e-06/0.8692, allocations: 0 / 1.074 GB, free: 14.73 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.724e-05/0.8693, allocations: 0 / 1.074 GB, free: 14.73 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.006168/0.8754, allocations: 2.258 MB / 1.076 GB, free: 13.48 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.519e-05/0.8755, allocations: 13.25 kB / 1.076 GB, free: 13.48 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004487/0.88, allocations: 0.7656 MB / 1.077 GB, free: 13.36 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004236/0.8843, allocations: 1.834 MB / 1.078 GB, free: 12.87 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000446/0.8847, allocations: 159 kB / 1.079 GB, free: 12.86 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002816/0.885, allocations: 131.7 kB / 1.079 GB, free: 12.86 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003933/0.889, allocations: 1.668 MB / 1.08 GB, free: 12.52 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.606e-05/0.889, allocations: 5.344 kB / 1.08 GB, free: 12.52 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001336/0.8891, allocations: 54.39 kB / 1.08 GB, free: 12.52 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.773e-05/0.8892, allocations: 31.75 kB / 1.08 GB, free: 12.52 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004096/0.8933, allocations: 1.495 MB / 1.082 GB, free: 12.48 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.01677/0.9101, allocations: 8.862 MB / 1.091 GB, free: 23.36 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005265/0.9154, allocations: 1.474 MB / 1.092 GB, free: 23.29 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001749/0.9172, allocations: 0.6101 MB / 1.093 GB, free: 23.25 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006071/0.9232, allocations: 2.872 MB / 1.095 GB, free: 21.69 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001919/0.9252, allocations: 0.6584 MB / 1.096 GB, free: 21.62 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001135/0.9263, allocations: 174.5 kB / 1.096 GB, free: 21.57 MB / 0.698 GB Notification: Performance of pre-optimization done (n=66): time 5.22e-06/0.9263, allocations: 0 / 1.096 GB, free: 21.57 MB / 0.698 GB Notification: Performance of matching and sorting (n=66): time 0.005081/0.9314, allocations: 1.681 MB / 1.098 GB, free: 21.39 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.119e-05/0.9315, allocations: 141.3 kB / 1.098 GB, free: 21.23 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003006/0.9346, allocations: 1.573 MB / 1.1 GB, free: 21 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001305/0.9347, allocations: 46.8 kB / 1.1 GB, free: 20.97 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009214/0.9356, allocations: 0.8944 MB / 1.1 GB, free: 20.66 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002634/0.9359, allocations: 240.1 kB / 1.101 GB, free: 20.51 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.353e-05/0.936, allocations: 23.2 kB / 1.101 GB, free: 20.51 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001677/0.9362, allocations: 347 kB / 1.101 GB, free: 20.2 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001606/0.9378, allocations: 0.5655 MB / 1.102 GB, free: 20.19 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00176/0.9395, allocations: 1.037 MB / 1.103 GB, free: 19.61 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003163/0.9427, allocations: 1.507 MB / 1.104 GB, free: 19.08 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.426e-06/0.9427, allocations: 3.375 kB / 1.104 GB, free: 19.08 MB / 0.698 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.004416/0.9472, allocations: 1.705 MB / 1.106 GB, free: 18.89 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002804/0.9475, allocations: 490.3 kB / 1.106 GB, free: 18.32 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.3e-05/0.9475, allocations: 13.48 kB / 1.106 GB, free: 18.32 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.595e-05/0.9475, allocations: 23.92 kB / 1.106 GB, free: 18.31 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001424/0.949, allocations: 336.2 kB / 1.107 GB, free: 18.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.835e-05/0.949, allocations: 25.86 kB / 1.107 GB, free: 18.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002272/0.9513, allocations: 200.1 kB / 1.107 GB, free: 18.28 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001357/0.9514, allocations: 61.95 kB / 1.107 GB, free: 18.28 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.888e-06/0.9514, allocations: 3.906 kB / 1.107 GB, free: 18.28 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00356/0.955, allocations: 1.533 MB / 1.108 GB, free: 18.21 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.984e-05/0.955, allocations: 17.03 kB / 1.108 GB, free: 18.21 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.9551, allocations: 17.09 kB / 1.108 GB, free: 18.21 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001281/0.9564, allocations: 333.4 kB / 1.109 GB, free: 18.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.413e-05/0.9564, allocations: 25.22 kB / 1.109 GB, free: 18.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002203/0.9586, allocations: 190.5 kB / 1.109 GB, free: 18.19 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001141/0.9587, allocations: 65.28 kB / 1.109 GB, free: 18.19 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.001341/0.9601, allocations: 498.3 kB / 1.109 GB, free: 17.99 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003146/0.9604, allocations: 184.6 kB / 1.11 GB, free: 17.89 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003826/0.9642, allocations: 1.506 MB / 1.111 GB, free: 17.79 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.577e-05/0.9643, allocations: 8.812 kB / 1.111 GB, free: 17.79 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.9643, allocations: 6.516 kB / 1.111 GB, free: 17.79 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003147/0.9674, allocations: 1.394 MB / 1.112 GB, free: 17.41 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.007612/0.9751, allocations: 3.11 MB / 1.115 GB, free: 16.94 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.287e-06/0.9751, allocations: 9.828 kB / 1.115 GB, free: 16.93 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001159/0.9763, allocations: 220.4 kB / 1.116 GB, free: 16.93 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.037e-05/0.9763, allocations: 3.188 kB / 1.116 GB, free: 16.93 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.882e-05/0.9764, allocations: 34.31 kB / 1.116 GB, free: 16.92 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.057e-06/0.9764, allocations: 3.344 kB / 1.116 GB, free: 16.92 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/0.9764, allocations: 4 kB / 1.116 GB, free: 16.92 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005246/0.9816, allocations: 2.176 MB / 1.118 GB, free: 16.62 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001025/0.9827, allocations: 377.9 kB / 1.118 GB, free: 16.43 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002342/0.9829, allocations: 23.84 kB / 1.118 GB, free: 16.42 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001348/0.9843, allocations: 170.8 kB / 1.118 GB, free: 16.41 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001431/0.9844, allocations: 56.33 kB / 1.118 GB, free: 16.41 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.053e-05/0.9845, allocations: 37.91 kB / 1.118 GB, free: 16.41 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001927/0.9865, allocations: 1.05 MB / 1.12 GB, free: 16.26 MB / 0.698 GB Notification: Performance of sort global known variables: time 2e-07/0.9865, allocations: 0 / 1.12 GB, free: 16.26 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003858/0.9903, allocations: 0.9879 MB / 1.12 GB, free: 16.12 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.001595/0.9919, allocations: 0.5354 MB / 1.121 GB, free: 15.95 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00587/0.9978, allocations: 2.308 MB / 1.123 GB, free: 15.69 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/0.9979, allocations: 0 / 1.123 GB, free: 15.69 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001614/0.9995, allocations: 0.6367 MB / 1.124 GB, free: 15.67 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004342/1.004, allocations: 0.7763 MB / 1.125 GB, free: 15.61 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01077/1.015, allocations: 4.563 MB / 1.129 GB, free: 13.63 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009928/1.016, allocations: 1.377 MB / 1.13 GB, free: 12.89 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002719/1.018, allocations: 455.9 kB / 1.131 GB, free: 12.77 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004562/1.019, allocations: 154.3 kB / 1.131 GB, free: 12.76 MB / 0.698 GB Notification: Performance of SimCode: time 1.684e-06/1.019, allocations: 0 / 1.131 GB, free: 12.76 MB / 0.698 GB Notification: Performance of Templates: time 0.06479/1.084, allocations: 34.29 MB / 1.165 GB, free: 5.695 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.makefile (rm -f Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe ; mkfifo Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe >> ../files/Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.sim & ./Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe 2>&1)