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 2.864/2.864, allocations: 287.3 MB / 302.3 MB, free: 8.414 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.001586/0.001586, allocations: 185 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.149/2.149, allocations: 205.4 MB / 0.6295 GB, free: 10.59 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.001095/0.001095, allocations: 93.02 kB / 0.7428 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005025/0.0005027, allocations: 17.56 kB / 0.8656 GB, free: 141.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2092/0.2097, allocations: 115.3 MB / 0.9782 GB, free: 28.41 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop): time 0.0743/0.2841, allocations: 52.71 MB / 1.03 GB, free: 7.562 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.03771/0.3219, allocations: 16.95 MB / 1.046 GB, free: 6.598 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003283/0.3252, allocations: 75.44 kB / 1.046 GB, free: 6.523 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.005221/0.3305, allocations: 1.003 MB / 1.047 GB, free: 5.516 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.01175/0.3423, allocations: 2.552 MB / 1.05 GB, free: 2.961 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.01321/0.3556, allocations: 2.97 MB / 1.053 GB, free: 16 kB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.008248/0.3638, allocations: 3.02 MB / 1.056 GB, free: 12.99 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003461/0.3673, allocations: 1.33 MB / 1.057 GB, free: 11.64 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005329/0.3727, allocations: 1.557 MB / 1.058 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002667/0.3754, allocations: 0.9682 MB / 1.059 GB, free: 9.102 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0006276/0.3761, allocations: 76 kB / 1.059 GB, free: 9.027 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005758/0.3819, allocations: 1.47 MB / 1.061 GB, free: 7.555 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.00108/0.383, allocations: 398.4 kB / 1.061 GB, free: 7.164 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.001125/0.3842, allocations: 448.6 kB / 1.062 GB, free: 6.719 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.006913/0.3912, allocations: 2.712 MB / 1.064 GB, free: 4 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.3912, allocations: 0 / 1.064 GB, free: 4 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.316e-06/0.3912, allocations: 0 / 1.064 GB, free: 4 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.000125/0.3914, allocations: 0 / 1.064 GB, free: 4 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.008176/0.3996, allocations: 2.256 MB / 1.067 GB, free: 1.676 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.039e-05/0.3996, allocations: 16.03 kB / 1.067 GB, free: 1.66 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007014/0.4067, allocations: 0.7622 MB / 1.067 GB, free: 0.8945 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.6301/1.037, allocations: 1.707 MB / 1.069 GB, free: 89.07 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008018/1.038, allocations: 167.3 kB / 1.069 GB, free: 89.06 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006051/1.038, allocations: 137 kB / 1.069 GB, free: 89.02 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006554/1.045, allocations: 1.652 MB / 1.071 GB, free: 88.24 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.23e-05/1.045, allocations: 5.219 kB / 1.071 GB, free: 88.23 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002273/1.045, allocations: 57.84 kB / 1.071 GB, free: 88.2 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.906e-05/1.045, allocations: 30.97 kB / 1.071 GB, free: 88.2 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007826/1.053, allocations: 1.485 MB / 1.072 GB, free: 87.73 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.02181/1.075, allocations: 9.036 MB / 1.081 GB, free: 81 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01039/1.085, allocations: 1.459 MB / 1.083 GB, free: 80.62 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01069/1.096, allocations: 3.247 MB / 1.086 GB, free: 78.3 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0033/1.1, allocations: 0.6403 MB / 1.086 GB, free: 78.1 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001467/1.101, allocations: 187.9 kB / 1.087 GB, free: 78.04 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=66): time 5.229e-06/1.101, allocations: 0.75 kB / 1.087 GB, free: 78.04 MB / 0.6823 GB Notification: Performance of matching and sorting (n=66): time 0.009634/1.111, allocations: 1.663 MB / 1.088 GB, free: 77.51 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.656e-05/1.111, allocations: 136.7 kB / 1.088 GB, free: 77.36 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003977/1.115, allocations: 1.606 MB / 1.09 GB, free: 76.69 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003277/1.115, allocations: 45.33 kB / 1.09 GB, free: 76.65 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.00109/1.116, allocations: 0.8991 MB / 1.091 GB, free: 75.95 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004634/1.117, allocations: 237.7 kB / 1.091 GB, free: 75.77 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001103/1.117, allocations: 21.69 kB / 1.091 GB, free: 75.75 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001198/1.117, allocations: 349 kB / 1.091 GB, free: 75.43 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002901/1.12, allocations: 0.5531 MB / 1.092 GB, free: 75.27 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003423/1.123, allocations: 1.026 MB / 1.093 GB, free: 74.49 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003183/1.127, allocations: 0.6533 MB / 1.094 GB, free: 74.23 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.289e-05/1.127, allocations: 4.969 kB / 1.094 GB, free: 74.23 MB / 0.6823 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.008084/1.135, allocations: 1.707 MB / 1.095 GB, free: 73.59 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001177/1.136, allocations: 5.018 MB / 1.1 GB, free: 68.22 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.477e-05/1.136, allocations: 14.34 kB / 1.1 GB, free: 68.22 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.58e-05/1.136, allocations: 21.03 kB / 1.1 GB, free: 68.22 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003011/1.139, allocations: 337.8 kB / 1.101 GB, free: 68.19 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.365e-05/1.139, allocations: 29.06 kB / 1.101 GB, free: 68.18 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00335/1.143, allocations: 196.5 kB / 1.101 GB, free: 68.15 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003566/1.143, allocations: 62.47 kB / 1.101 GB, free: 68.14 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/1.143, allocations: 4.219 kB / 1.101 GB, free: 68.14 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007127/1.15, allocations: 1.522 MB / 1.102 GB, free: 67.61 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.219e-05/1.15, allocations: 14.36 kB / 1.102 GB, free: 67.61 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.585e-05/1.151, allocations: 21.98 kB / 1.102 GB, free: 67.61 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00286/1.153, allocations: 335.1 kB / 1.103 GB, free: 67.57 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.494e-05/1.153, allocations: 24.8 kB / 1.103 GB, free: 67.57 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00327/1.157, allocations: 200.1 kB / 1.103 GB, free: 67.53 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003178/1.157, allocations: 64.19 kB / 1.103 GB, free: 67.52 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.001446/1.159, allocations: 0.4972 MB / 1.103 GB, free: 67.15 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000564/1.159, allocations: 176.5 kB / 1.104 GB, free: 67.06 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006959/1.166, allocations: 1.507 MB / 1.105 GB, free: 66.56 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.858e-05/1.166, allocations: 13.34 kB / 1.105 GB, free: 66.55 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.428e-06/1.166, allocations: 0 / 1.105 GB, free: 66.55 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005793/1.172, allocations: 1.379 MB / 1.106 GB, free: 65.88 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.01252/1.185, allocations: 3.158 MB / 1.11 GB, free: 64.46 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.461e-05/1.185, allocations: 4.5 kB / 1.11 GB, free: 64.46 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002705/1.187, allocations: 226 kB / 1.11 GB, free: 64.42 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.083e-05/1.188, allocations: 4.062 kB / 1.11 GB, free: 64.42 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002101/1.188, allocations: 23.88 kB / 1.11 GB, free: 64.41 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-05/1.188, allocations: 3.812 kB / 1.11 GB, free: 64.41 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/1.188, allocations: 1.5 kB / 1.11 GB, free: 64.41 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009573/1.197, allocations: 2.194 MB / 1.112 GB, free: 63.21 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001357/1.199, allocations: 382 kB / 1.112 GB, free: 62.89 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005358/1.199, allocations: 22.27 kB / 1.112 GB, free: 62.87 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002853/1.202, allocations: 183.5 kB / 1.112 GB, free: 62.79 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002135/1.202, allocations: 49.64 kB / 1.113 GB, free: 62.77 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001701/1.203, allocations: 37 kB / 1.113 GB, free: 62.75 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002533/1.205, allocations: 1.073 MB / 1.114 GB, free: 62.13 MB / 0.6823 GB Notification: Performance of sort global known variables: time 6.31e-07/1.205, allocations: 1.344 kB / 1.114 GB, free: 62.13 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.005502/1.211, allocations: 1 MB / 1.115 GB, free: 61.95 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.001897/1.213, allocations: 0.5765 MB / 1.115 GB, free: 61.73 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.009799/1.223, allocations: 2.283 MB / 1.117 GB, free: 60.61 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.396e-06/1.223, allocations: 4.969 kB / 1.117 GB, free: 60.61 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002975/1.226, allocations: 0.6314 MB / 1.118 GB, free: 60.32 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006079/1.232, allocations: 0.7716 MB / 1.119 GB, free: 59.95 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01055/1.242, allocations: 4.105 MB / 1.123 GB, free: 57.27 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00112/1.243, allocations: 1.406 MB / 1.124 GB, free: 56.23 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.003628/1.247, allocations: 468.7 kB / 1.125 GB, free: 56 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009027/1.248, allocations: 156.5 kB / 1.125 GB, free: 55.97 MB / 0.6823 GB Notification: Performance of SimCode: time 1.212e-06/1.248, allocations: 1.312 kB / 1.125 GB, free: 55.97 MB / 0.6823 GB Notification: Performance of Templates: time 0.0857/1.334, allocations: 34.97 MB / 1.159 GB, free: 24.27 MB / 0.6823 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)