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.646/2.646, allocations: 287.5 MB / 302.4 MB, free: 8.426 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.00128/0.00128, allocations: 170.2 kB / 371 MB, free: 10.88 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.155/2.155, allocations: 205.4 MB / 0.6297 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.001486/0.001486, allocations: 85.55 kB / 0.743 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006989/0.0006992, allocations: 15.53 kB / 0.8658 GB, free: 141.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2882/0.2889, allocations: 115.3 MB / 0.9783 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop): time 0.1249/0.4139, allocations: 57.91 MB / 1.035 GB, free: 2.316 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.05275/0.4667, allocations: 18.02 MB / 1.053 GB, free: 272 kB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004137/0.4709, allocations: 83.44 kB / 1.053 GB, free: 188 kB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.005882/0.4769, allocations: 0.8308 MB / 1.053 GB, free: 15.35 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.01261/0.4895, allocations: 2.171 MB / 1.056 GB, free: 13.17 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.01616/0.5057, allocations: 2.715 MB / 1.058 GB, free: 10.47 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0147/0.5205, allocations: 5.709 MB / 1.064 GB, free: 4.746 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004772/0.5253, allocations: 1.31 MB / 1.065 GB, free: 3.41 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007572/0.5329, allocations: 1.727 MB / 1.067 GB, free: 1.676 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004932/0.5379, allocations: 1.357 MB / 1.068 GB, free: 320 kB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.001044/0.539, allocations: 76 kB / 1.068 GB, free: 244 kB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.813/1.352, allocations: 1.582 MB / 1.07 GB, free: 15.87 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.001295/1.353, allocations: 425.1 kB / 1.07 GB, free: 15.87 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.001306/1.355, allocations: 447.7 kB / 1.07 GB, free: 15.84 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.008103/1.363, allocations: 2.775 MB / 1.073 GB, free: 15.75 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 8.576e-06/1.363, allocations: 0.9375 kB / 1.073 GB, free: 15.75 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.825e-06/1.363, allocations: 0.5938 kB / 1.073 GB, free: 15.75 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001244/1.363, allocations: 0 / 1.073 GB, free: 15.75 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.009425/1.373, allocations: 2.274 MB / 1.075 GB, free: 14.51 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.312e-05/1.373, allocations: 9.156 kB / 1.075 GB, free: 14.51 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007534/1.38, allocations: 0.7694 MB / 1.076 GB, free: 14.39 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006667/1.387, allocations: 1.759 MB / 1.078 GB, free: 13.97 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007776/1.388, allocations: 166.8 kB / 1.078 GB, free: 13.96 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006709/1.388, allocations: 135.6 kB / 1.078 GB, free: 13.96 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006799/1.395, allocations: 1.676 MB / 1.08 GB, free: 13.62 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.591e-05/1.395, allocations: 2.125 kB / 1.08 GB, free: 13.62 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002507/1.396, allocations: 52.56 kB / 1.08 GB, free: 13.62 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.737e-05/1.396, allocations: 31.77 kB / 1.08 GB, free: 13.62 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007978/1.404, allocations: 1.498 MB / 1.081 GB, free: 13.57 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.02224/1.426, allocations: 8.858 MB / 1.09 GB, free: 24.46 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009678/1.436, allocations: 1.486 MB / 1.091 GB, free: 24.38 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003125/1.439, allocations: 0.6018 MB / 1.092 GB, free: 24.35 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008646/1.448, allocations: 2.869 MB / 1.095 GB, free: 22.79 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00308/1.451, allocations: 0.6619 MB / 1.095 GB, free: 22.72 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001629/1.452, allocations: 179.8 kB / 1.096 GB, free: 22.67 MB / 0.698 GB Notification: Performance of pre-optimization done (n=66): time 5.811e-06/1.452, allocations: 0 / 1.096 GB, free: 22.67 MB / 0.698 GB Notification: Performance of matching and sorting (n=66): time 0.009386/1.462, allocations: 1.67 MB / 1.097 GB, free: 22.49 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00013/1.462, allocations: 139.9 kB / 1.097 GB, free: 22.33 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004141/1.466, allocations: 1.577 MB / 1.099 GB, free: 22.1 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003759/1.467, allocations: 48.19 kB / 1.099 GB, free: 22.07 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001265/1.468, allocations: 0.8946 MB / 1.1 GB, free: 21.75 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005011/1.468, allocations: 236.9 kB / 1.1 GB, free: 21.61 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000124/1.469, allocations: 23.44 kB / 1.1 GB, free: 21.61 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002074/1.469, allocations: 349 kB / 1.1 GB, free: 21.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003029/1.472, allocations: 0.567 MB / 1.101 GB, free: 21.29 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003469/1.475, allocations: 1.03 MB / 1.102 GB, free: 20.71 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00317/1.479, allocations: 0.6646 MB / 1.103 GB, free: 20.64 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-05/1.479, allocations: 3.375 kB / 1.103 GB, free: 20.64 MB / 0.698 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.008166/1.487, allocations: 1.711 MB / 1.104 GB, free: 20.45 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003593/1.487, allocations: 490.1 kB / 1.105 GB, free: 19.88 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.742e-05/1.487, allocations: 13.78 kB / 1.105 GB, free: 19.88 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.284e-05/1.487, allocations: 21.25 kB / 1.105 GB, free: 19.88 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002773/1.49, allocations: 332.7 kB / 1.105 GB, free: 19.87 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.758e-05/1.49, allocations: 30.09 kB / 1.105 GB, free: 19.86 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003396/1.494, allocations: 192.7 kB / 1.105 GB, free: 19.84 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002737/1.494, allocations: 63.31 kB / 1.105 GB, free: 19.84 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/1.494, allocations: 7.5 kB / 1.105 GB, free: 19.84 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006568/1.501, allocations: 1.531 MB / 1.107 GB, free: 19.77 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.331e-05/1.501, allocations: 16.59 kB / 1.107 GB, free: 19.77 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.489e-05/1.501, allocations: 20.12 kB / 1.107 GB, free: 19.77 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002679/1.503, allocations: 326.1 kB / 1.107 GB, free: 19.77 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.049e-05/1.503, allocations: 32 kB / 1.107 GB, free: 19.76 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003209/1.507, allocations: 196.8 kB / 1.108 GB, free: 19.75 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002058/1.507, allocations: 58.05 kB / 1.108 GB, free: 19.75 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.001415/1.508, allocations: 0.4982 MB / 1.108 GB, free: 19.55 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005251/1.509, allocations: 173.5 kB / 1.108 GB, free: 19.46 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006555/1.515, allocations: 1.515 MB / 1.11 GB, free: 19.35 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.788e-05/1.515, allocations: 9.609 kB / 1.11 GB, free: 19.35 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.04e-05/1.515, allocations: 2.938 kB / 1.11 GB, free: 19.35 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005766/1.521, allocations: 1.391 MB / 1.111 GB, free: 18.96 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.01216/1.533, allocations: 3.121 MB / 1.114 GB, free: 18.49 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.085e-05/1.534, allocations: 0 / 1.114 GB, free: 18.49 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002356/1.536, allocations: 225.8 kB / 1.114 GB, free: 18.48 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.624e-05/1.536, allocations: 3.594 kB / 1.114 GB, free: 18.48 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001655/1.536, allocations: 28.36 kB / 1.114 GB, free: 18.48 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.117e-06/1.536, allocations: 6.125 kB / 1.114 GB, free: 18.48 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/1.536, allocations: 1.125 kB / 1.114 GB, free: 18.48 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009488/1.546, allocations: 2.183 MB / 1.117 GB, free: 18.18 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001578/1.547, allocations: 379.4 kB / 1.117 GB, free: 17.98 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00051/1.548, allocations: 15.84 kB / 1.117 GB, free: 17.98 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002848/1.551, allocations: 178 kB / 1.117 GB, free: 17.96 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002166/1.551, allocations: 53.47 kB / 1.117 GB, free: 17.96 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001736/1.551, allocations: 37.48 kB / 1.117 GB, free: 17.96 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002628/1.554, allocations: 1.048 MB / 1.118 GB, free: 17.82 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.104e-06/1.554, allocations: 0 / 1.118 GB, free: 17.82 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0062/1.56, allocations: 0.9842 MB / 1.119 GB, free: 17.68 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.002094/1.562, allocations: 0.5381 MB / 1.12 GB, free: 17.51 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.01003/1.572, allocations: 2.307 MB / 1.122 GB, free: 17.25 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 9.127e-06/1.572, allocations: 0.9062 kB / 1.122 GB, free: 17.25 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002997/1.575, allocations: 0.6347 MB / 1.123 GB, free: 17.23 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006842/1.582, allocations: 0.7912 MB / 1.123 GB, free: 17.16 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01794/1.6, allocations: 4.559 MB / 1.128 GB, free: 15.19 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001751/1.602, allocations: 1.377 MB / 1.129 GB, free: 14.45 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.003806/1.606, allocations: 459.2 kB / 1.13 GB, free: 14.32 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009749/1.607, allocations: 154.4 kB / 1.13 GB, free: 14.32 MB / 0.698 GB Notification: Performance of SimCode: time 8.31e-07/1.607, allocations: 0 / 1.13 GB, free: 14.32 MB / 0.698 GB Notification: Performance of Templates: time 0.09455/1.701, allocations: 34.23 MB / 1.163 GB, free: 7.715 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)