Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.722/1.722, allocations: 288.3 MB / 303.2 MB, free: 8.148 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.001057/0.001057, allocations: 191.1 kB / 371.9 MB, free: 10.29 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.508/1.508, allocations: 205.4 MB / 0.6306 GB, free: 9.949 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.0007327/0.0007327, allocations: 106.9 kB / 0.7439 GB, free: 5.883 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004011/0.0004011, allocations: 15.48 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2309/0.2313, allocations: 115.3 MB / 0.9794 GB, free: 27.73 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop): time 0.04542/0.2768, allocations: 52.71 MB / 1.031 GB, free: 6.879 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.02515/0.302, allocations: 16.93 MB / 1.047 GB, free: 5.93 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003737/0.3057, allocations: 79.38 kB / 1.047 GB, free: 5.852 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.004554/0.3103, allocations: 1.003 MB / 1.048 GB, free: 4.844 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.01012/0.3205, allocations: 2.552 MB / 1.051 GB, free: 2.289 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.008956/0.3295, allocations: 2.968 MB / 1.054 GB, free: 15.34 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.00616/0.3356, allocations: 3.023 MB / 1.057 GB, free: 12.32 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002363/0.338, allocations: 1.322 MB / 1.058 GB, free: 10.96 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003955/0.342, allocations: 1.549 MB / 1.06 GB, free: 9.41 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0018/0.3438, allocations: 0.9721 MB / 1.061 GB, free: 8.434 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0002475/0.3441, allocations: 76 kB / 1.061 GB, free: 8.359 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003888/0.348, allocations: 1.466 MB / 1.062 GB, free: 6.891 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.000502/0.3485, allocations: 402.4 kB / 1.062 GB, free: 6.496 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0008348/0.3494, allocations: 452.6 kB / 1.063 GB, free: 6.047 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.003686/0.353, allocations: 2.704 MB / 1.066 GB, free: 3.336 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.3531, allocations: 3.938 kB / 1.066 GB, free: 3.332 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.515e-06/0.3531, allocations: 0 / 1.066 GB, free: 3.332 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.069e-05/0.3531, allocations: 0 / 1.066 GB, free: 3.332 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.0049/0.358, allocations: 2.264 MB / 1.068 GB, free: 1 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.3581, allocations: 12.03 kB / 1.068 GB, free: 0.9883 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003857/0.362, allocations: 0.77 MB / 1.069 GB, free: 220 kB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5031/0.8651, allocations: 1.703 MB / 1.07 GB, free: 89.19 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004992/0.8656, allocations: 168 kB / 1.07 GB, free: 89.14 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003337/0.866, allocations: 136.2 kB / 1.07 GB, free: 89.1 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003973/0.8699, allocations: 1.657 MB / 1.072 GB, free: 88.32 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.35e-05/0.87, allocations: 5.656 kB / 1.072 GB, free: 88.32 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001294/0.8701, allocations: 52.75 kB / 1.072 GB, free: 88.28 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.802e-05/0.8702, allocations: 30.75 kB / 1.072 GB, free: 88.28 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004186/0.8744, allocations: 1.486 MB / 1.074 GB, free: 87.81 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.01442/0.8888, allocations: 9.03 MB / 1.082 GB, free: 81.05 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005897/0.8947, allocations: 1.459 MB / 1.084 GB, free: 80.68 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007062/0.9018, allocations: 3.252 MB / 1.087 GB, free: 78.34 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00194/0.9038, allocations: 0.6444 MB / 1.088 GB, free: 78.14 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0012/0.905, allocations: 185.4 kB / 1.088 GB, free: 78.08 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=66): time 4.368e-06/0.9051, allocations: 0 / 1.088 GB, free: 78.08 MB / 0.6823 GB Notification: Performance of matching and sorting (n=66): time 0.005536/0.9106, allocations: 1.655 MB / 1.089 GB, free: 77.55 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.861e-05/0.9107, allocations: 142.6 kB / 1.09 GB, free: 77.39 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002905/0.9136, allocations: 1.61 MB / 1.091 GB, free: 76.73 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001331/0.9138, allocations: 44.19 kB / 1.091 GB, free: 76.68 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000845/0.9146, allocations: 0.8986 MB / 1.092 GB, free: 75.98 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002799/0.9149, allocations: 237.4 kB / 1.092 GB, free: 75.8 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.309e-05/0.915, allocations: 20.72 kB / 1.092 GB, free: 75.79 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.9151, allocations: 346.5 kB / 1.093 GB, free: 75.46 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001753/0.9169, allocations: 0.5561 MB / 1.093 GB, free: 75.3 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002031/0.9189, allocations: 1.024 MB / 1.094 GB, free: 74.52 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001795/0.9207, allocations: 0.6511 MB / 1.095 GB, free: 74.26 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.103e-05/0.9208, allocations: 3.938 kB / 1.095 GB, free: 74.26 MB / 0.6823 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.004931/0.9257, allocations: 1.705 MB / 1.097 GB, free: 73.62 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001341/0.927, allocations: 5.02 MB / 1.101 GB, free: 68.26 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.644e-05/0.9271, allocations: 14.44 kB / 1.101 GB, free: 68.26 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.215e-05/0.9272, allocations: 24.98 kB / 1.101 GB, free: 68.25 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001588/0.9287, allocations: 333.8 kB / 1.102 GB, free: 68.23 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.074e-05/0.9288, allocations: 28.81 kB / 1.102 GB, free: 68.22 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002471/0.9313, allocations: 197.2 kB / 1.102 GB, free: 68.18 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000164/0.9315, allocations: 62.7 kB / 1.102 GB, free: 68.18 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.9315, allocations: 3.656 kB / 1.102 GB, free: 68.18 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004117/0.9356, allocations: 1.519 MB / 1.104 GB, free: 67.64 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.381e-05/0.9357, allocations: 13.72 kB / 1.104 GB, free: 67.64 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.709e-05/0.9357, allocations: 23.8 kB / 1.104 GB, free: 67.64 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001603/0.9373, allocations: 352.3 kB / 1.104 GB, free: 67.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.233e-05/0.9374, allocations: 25.83 kB / 1.104 GB, free: 67.59 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002972/0.9404, allocations: 191.9 kB / 1.104 GB, free: 67.56 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002153/0.9406, allocations: 60.09 kB / 1.104 GB, free: 67.55 MB / 0.6823 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.002102/0.9427, allocations: 0.491 MB / 1.105 GB, free: 67.19 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008878/0.9436, allocations: 172.8 kB / 1.105 GB, free: 67.1 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0048/0.9484, allocations: 1.514 MB / 1.106 GB, free: 66.55 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.752e-05/0.9485, allocations: 13.64 kB / 1.106 GB, free: 66.55 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.628e-06/0.9485, allocations: 0 / 1.106 GB, free: 66.55 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003242/0.9517, allocations: 1.381 MB / 1.108 GB, free: 65.7 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 postOpt removeSimpleEquations (simulation): time 0.008168/0.9599, allocations: 3.154 MB / 1.111 GB, free: 63.64 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.217e-06/0.96, allocations: 3.938 kB / 1.111 GB, free: 63.64 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001127/0.9611, allocations: 223.9 kB / 1.111 GB, free: 63.57 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.271e-05/0.9611, allocations: 3.625 kB / 1.111 GB, free: 63.57 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.388e-05/0.9612, allocations: 21.73 kB / 1.111 GB, free: 63.55 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.224e-05/0.9612, allocations: 14.52 kB / 1.111 GB, free: 63.55 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.9612, allocations: 3.281 kB / 1.111 GB, free: 63.55 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005673/0.9669, allocations: 2.192 MB / 1.113 GB, free: 62.36 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001194/0.9681, allocations: 381.5 kB / 1.113 GB, free: 62.03 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002429/0.9684, allocations: 21.33 kB / 1.114 GB, free: 62.01 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001444/0.9698, allocations: 181.9 kB / 1.114 GB, free: 61.94 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001436/0.97, allocations: 53.55 kB / 1.114 GB, free: 61.91 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001012/0.9701, allocations: 45.39 kB / 1.114 GB, free: 61.89 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001812/0.9719, allocations: 1.073 MB / 1.115 GB, free: 61.27 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.21e-07/0.9719, allocations: 1.125 kB / 1.115 GB, free: 61.27 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.004485/0.9764, allocations: 1.005 MB / 1.116 GB, free: 61.09 MB / 0.6823 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.001619/0.9781, allocations: 0.5786 MB / 1.116 GB, free: 60.86 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.006181/0.9843, allocations: 2.278 MB / 1.119 GB, free: 59.75 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.165e-06/0.9843, allocations: 5.062 kB / 1.119 GB, free: 59.75 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001825/0.9861, allocations: 0.6281 MB / 1.119 GB, free: 59.46 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004326/0.9905, allocations: 0.7733 MB / 1.12 GB, free: 59.1 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009265/0.9998, allocations: 4.098 MB / 1.124 GB, free: 56.42 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001112/1.001, allocations: 1.415 MB / 1.125 GB, free: 55.37 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.003043/1.004, allocations: 459.9 kB / 1.126 GB, free: 55.15 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000654/1.005, allocations: 160.8 kB / 1.126 GB, free: 55.11 MB / 0.6823 GB Notification: Performance of SimCode: time 1.463e-06/1.005, allocations: 3.938 kB / 1.126 GB, free: 55.11 MB / 0.6823 GB Notification: Performance of Templates: time 0.05869/1.063, allocations: 34.98 MB / 1.16 GB, free: 23.25 MB / 0.6823 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.makefile (rm -f Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.sim & ./Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe 2>&1)